Accessibility
Vs white / black
16.12:1 · 1.3:1
Sources
Codes
HEX
#1b231b
RGB
rgb(27, 35, 27)
RGBA
rgba(27, 35, 27, 1)
HSL
hsl(120, 13%, 12%)
HSV
hsv(120, 23%, 14%)
LAB
lab(12.7% -5.65 4.2)
LCH
lch(12.7% 7.04 143.37)
OKLAB
oklab(0.2454 -0.0155 0.0108)
OKLCH
oklch(0.2454 0.0189 145.13)
XYZ
xyz(1.25, 1.51, 1.26)
CMYK
cmyk(23%, 0%, 23%, 86%)
CSS
color: #1b231b;
CSS variable
--color-1b231b: #1b231b;
SCSS
$color-1b231b: #1b231b;
Tailwind
green-900
Export
:root {
--#1b231b-1: #1b231b;
}Palette
Full scale from light tints through the base color into deep shades
Palette
Mixed toward white — soft backgrounds and highlights
Palette
Mixed toward black — depth, text, and emphasis
Palette
Mixed toward neutral grey — muted UI surfaces
Harmony
Opposite on the color wheel for contrast
Harmony
Neighbors that sit comfortably together
Harmony
Evenly spaced triad for vibrant sets
Harmony
Base plus two accents beside the complement
Harmony
Same hue, varied lightness and saturation
Using this color
#1B231B (#1b231b) sits in the light green family at about 120° hue, 13% saturation, and 12% lightness. Contrast is 16.12:1 on white and 1.3:1 on black, so white labels read more clearly on the swatch itself. Closest Tailwind token in our matcher: green-900.
Sensible jobs for this swatch
On a black or near-black UI, #1b231b is 1.3:1. Prefer it as a fill, border, or large heading rather than 16px copy.
Family context: Vitality, optimism, and renewal. Friendly for outdoor and lifestyle brands. Common uses still include buttons, charts, and accents in the Light Green range — always verify the pair for this exact hex in the contrast checker.
Related
Nearby colors from the library by perceptual distance