#125B2B#125B2B
#125B2B is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.6% C 0.104 H 150.0°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).
Color values
| HEX | #125B2B |
|---|---|
| RGB | rgb(18, 91, 43) |
| HSL | hsl(141, 67%, 21%) |
| HSV | hsv(141, 80%, 36%) |
| CMYK | cmyk(80.2%, 0%, 52.7%, 64.3%) |
| CIE-LAB | lab(33.53, -33.61, 21.48) |
| CIE-LCH | lch(33.53, 39.88, 147.42°) |
| OKLab | oklab(41.57% -0.0903 0.0523) |
| OKLCH | oklch(41.57% 0.104 150) |
| XYZ | xyz(4.4262, 7.7847, 3.5543) |
| Luminance | 0.0779 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 3.17
Spruce
#0A5F38
ΔE00 3.20
Forest Green
#2D5A27
ΔE00 3.85
Deep Green
#02590F
ΔE00 5.19
Hunter Green
#355E3B
ΔE00 5.38
Forest
#0B5509
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125B2B #5B1242
analogous
#1E5B12 #125B2B #125B50
triadic
#125B2B #2B125B #5B2B12
tetradic
#125B2B #121E5B #5B1242 #5B5012
square
#125B2B #121E5B #5B1242 #5B5012
split-complementary
#125B2B #50125B #5B121E
monochromatic
#051A0C #082813 #125B2B #1C8E43 #26C15B
Accessibility & contrast
On white
8.21
#125B2B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#125B2B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125B2B
8.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125B2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125B2B | 1.00 | 8.21 | 2.56 | 8.21 |
| #FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C5227
Deuteranopia (green-blind)
#534C2E
Tritanopia (blue-blind)
#005950
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #125b2b; /* rgb */ color: rgb(18, 91, 43); /* oklch */ color: oklch(41.6% 0.104 150.0);
Tailwind
colors: {
custom: {
50: '#5d8a65',
500: '#125b2b',
950: '#000000',
},
}SCSS
$custom: #125b2b; $custom-light: #5d8a65; $custom-dark: #000000;
JSON
{
"hex": "#125b2b",
"rgb": {
"r": 18,
"g": 91,
"b": 43
},
"hsl": {
"h": 140.548,
"s": 66.972,
"l": 21.373
},
"oklch": {
"l": 0.41568,
"c": 0.10437,
"h": 150
},
"luminance": 0.07785
}Semantic roles & 50–950 ramp
primary
#125B2B
secondary
#933573
accent
#3EAFEA
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C05
muted
#797D7A