#125D30#125D30
#125D30 is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.3% C 0.102 H 151.8°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #125D30 |
|---|---|
| RGB | rgb(18, 93, 48) |
| HSL | hsl(144, 68%, 22%) |
| HSV | hsv(144, 81%, 36%) |
| CMYK | cmyk(80.6%, 0%, 48.4%, 63.5%) |
| CIE-LAB | lab(34.33, -33.48, 19.61) |
| CIE-LCH | lch(34.33, 38.80, 149.64°) |
| OKLab | oklab(42.26% -0.09 0.0482) |
| OKLCH | oklch(42.26% 0.102 151.8) |
| XYZ | xyz(4.6969, 8.1701, 4.1252) |
| Luminance | 0.0817 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 2.11
Pine
#2B5D34
ΔE00 2.91
Forest Green
#2D5A27
ΔE00 4.50
Hunter Green
#355E3B
ΔE00 4.97
Deep Green
#02590F
ΔE00 6.19
Pine Green
#0A481E
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125D30 #5D123F
analogous
#1A5D12 #125D30 #125D56
triadic
#125D30 #30125D #5D3012
tetradic
#125D30 #121A5D #5D123F #5D5612
square
#125D30 #121A5D #5D123F #5D5612
split-complementary
#125D30 #56125D #5D121A
monochromatic
#051A0D #082A16 #125D30 #1C904A #26C465
Accessibility & contrast
On white
7.97
#125D30 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#125D30 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125D30
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125D30 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125D30 | 1.00 | 7.97 | 2.63 | 7.97 |
| #FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D542D
Deuteranopia (green-blind)
#544E33
Tritanopia (blue-blind)
#005B52
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #125d30; /* rgb */ color: rgb(18, 93, 48); /* oklch */ color: oklch(42.3% 0.102 151.8);
Tailwind
colors: {
custom: {
50: '#5d8c69',
500: '#125d30',
950: '#000000',
},
}SCSS
$custom: #125d30; $custom-light: #5d8c69; $custom-dark: #000000;
JSON
{
"hex": "#125d30",
"rgb": {
"r": 18,
"g": 93,
"b": 48
},
"hsl": {
"h": 144,
"s": 67.568,
"l": 21.765
},
"oklch": {
"l": 0.4226,
"c": 0.10214,
"h": 151.8
},
"luminance": 0.08171
}Semantic roles & 50–950 ramp
primary
#125D30
secondary
#95356F
accent
#3DA5EA
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A