#125B2A#125B2A
#125B2A is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.5% C 0.105 H 149.5°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).
Color values
| HEX | #125B2A |
|---|---|
| RGB | rgb(18, 91, 42) |
| HSL | hsl(140, 67%, 21%) |
| HSV | hsv(140, 80%, 36%) |
| CMYK | cmyk(80.2%, 0%, 53.8%, 64.3%) |
| CIE-LAB | lab(33.51, -33.78, 22.03) |
| CIE-LCH | lch(33.51, 40.33, 146.89°) |
| OKLab | oklab(41.55% -0.0908 0.0534) |
| OKLCH | oklch(41.55% 0.105 149.5) |
| XYZ | xyz(4.4081, 7.7774, 3.4589) |
| Luminance | 0.0778 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 3.28
Spruce
#0A5F38
ΔE00 3.43
Forest Green
#2D5A27
ΔE00 3.74
Deep Green
#02590F
ΔE00 4.94
Hunter Green
#355E3B
ΔE00 5.51
Forest
#0B5509
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125B2A #5B1243
analogous
#1F5B12 #125B2A #125B4F
triadic
#125B2A #2A125B #5B2A12
tetradic
#125B2A #121F5B #5B1243 #5B4F12
square
#125B2A #121F5B #5B1243 #5B4F12
split-complementary
#125B2A #4F125B #5B121F
monochromatic
#051A0C #082812 #125B2A #1C8E42 #26C159
Accessibility & contrast
On white
8.22
#125B2A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#125B2A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125B2A
8.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125B2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125B2A | 1.00 | 8.22 | 2.56 | 8.22 |
| #FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C5226
Deuteranopia (green-blind)
#534C2E
Tritanopia (blue-blind)
#005950
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #125b2a; /* rgb */ color: rgb(18, 91, 42); /* oklch */ color: oklch(41.5% 0.105 149.5);
Tailwind
colors: {
custom: {
50: '#5d8a64',
500: '#125b2a',
950: '#000000',
},
}SCSS
$custom: #125b2a; $custom-light: #5d8a64; $custom-dark: #000000;
JSON
{
"hex": "#125b2a",
"rgb": {
"r": 18,
"g": 91,
"b": 42
},
"hsl": {
"h": 139.726,
"s": 66.972,
"l": 21.373
},
"oklch": {
"l": 0.4155,
"c": 0.10538,
"h": 149.5
},
"luminance": 0.07778
}Semantic roles & 50–950 ramp
primary
#125B2A
secondary
#933575
accent
#3EB1EA
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C05
muted
#797D7A