#125B2D#125B2D
#125B2D is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.6% C 0.102 H 150.9°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).
Color values
| HEX | #125B2D |
|---|---|
| RGB | rgb(18, 91, 45) |
| HSL | hsl(142, 67%, 21%) |
| HSV | hsv(142, 80%, 36%) |
| CMYK | cmyk(80.2%, 0%, 50.5%, 64.3%) |
| CIE-LAB | lab(33.56, -33.23, 20.37) |
| CIE-LCH | lch(33.56, 38.98, 148.50°) |
| OKLab | oklab(41.61% -0.0894 0.0498) |
| OKLCH | oklch(41.61% 0.102 150.9) |
| XYZ | xyz(4.4638, 7.7997, 3.7524) |
| Luminance | 0.0780 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 2.74
Pine
#2B5D34
ΔE00 3.00
Forest Green
#2D5A27
ΔE00 4.12
Hunter Green
#355E3B
ΔE00 5.15
Deep Green
#02590F
ΔE00 5.70
Pine Green
#0A481E
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125B2D #5B1240
analogous
#1C5B12 #125B2D #125B52
triadic
#125B2D #2D125B #5B2D12
tetradic
#125B2D #121C5B #5B1240 #5B5212
square
#125B2D #121C5B #5B1240 #5B5212
split-complementary
#125B2D #52125B #5B121C
monochromatic
#051A0D #082814 #125B2D #1C8E46 #26C160
Accessibility & contrast
On white
8.20
#125B2D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#125B2D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125B2D
8.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125B2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125B2D | 1.00 | 8.20 | 2.56 | 8.20 |
| #FFFFFF | 8.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B5329
Deuteranopia (green-blind)
#534D30
Tritanopia (blue-blind)
#005950
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #125b2d; /* rgb */ color: rgb(18, 91, 45); /* oklch */ color: oklch(41.6% 0.102 150.9);
Tailwind
colors: {
custom: {
50: '#5d8a67',
500: '#125b2d',
950: '#000000',
},
}SCSS
$custom: #125b2d; $custom-light: #5d8a67; $custom-dark: #000000;
JSON
{
"hex": "#125b2d",
"rgb": {
"r": 18,
"g": 91,
"b": 45
},
"hsl": {
"h": 142.192,
"s": 66.972,
"l": 21.373
},
"oklch": {
"l": 0.41605,
"c": 0.10231,
"h": 150.9
},
"luminance": 0.078
}Semantic roles & 50–950 ramp
primary
#125B2D
secondary
#933571
accent
#3EAAEA
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C06
muted
#797D7A