#125F2B#125F2B
#125F2B is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.8% C 0.110 H 149.2°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #125F2B |
|---|---|
| RGB | rgb(18, 95, 43) |
| HSL | hsl(139, 68%, 22%) |
| HSV | hsv(139, 81%, 37%) |
| CMYK | cmyk(81.1%, 0%, 54.7%, 62.7%) |
| CIE-LAB | lab(34.98, -35.21, 23.28) |
| CIE-LCH | lch(34.98, 42.21, 146.53°) |
| OKLab | oklab(42.77% -0.0946 0.0563) |
| OKLCH | oklch(42.77% 0.11 149.2) |
| XYZ | xyz(4.7773, 8.4869, 3.6714) |
| Luminance | 0.0849 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 3.61
Spruce
#0A5F38
ΔE00 3.63
Forest Green
#2D5A27
ΔE00 4.02
Deep Green
#02590F
ΔE00 4.82
Hunter Green
#355E3B
ΔE00 5.78
Forest
#0B5509
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125F2B #5F1246
analogous
#1F5F12 #125F2B #125F52
triadic
#125F2B #2B125F #5F2B12
tetradic
#125F2B #121F5F #5F1246 #5F5212
square
#125F2B #121F5F #5F1246 #5F5212
split-complementary
#125F2B #52125F #5F121F
monochromatic
#051A0C #082C14 #125F2B #1C9242 #25C65A
Accessibility & contrast
On white
7.79
#125F2B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#125F2B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125F2B
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125F2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125F2B | 1.00 | 7.79 | 2.70 | 7.79 |
| #FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#605627
Deuteranopia (green-blind)
#57502F
Tritanopia (blue-blind)
#005D53
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #125f2b; /* rgb */ color: rgb(18, 95, 43); /* oklch */ color: oklch(42.8% 0.110 149.2);
Tailwind
colors: {
custom: {
50: '#5e8d65',
500: '#125f2b',
950: '#000000',
},
}SCSS
$custom: #125f2b; $custom-light: #5e8d65; $custom-dark: #000000;
JSON
{
"hex": "#125f2b",
"rgb": {
"r": 18,
"g": 95,
"b": 43
},
"hsl": {
"h": 139.481,
"s": 68.142,
"l": 22.157
},
"oklch": {
"l": 0.42765,
"c": 0.11011,
"h": 149.2
},
"luminance": 0.08487
}Semantic roles & 50–950 ramp
primary
#125F2B
secondary
#973678
accent
#3DB2EB
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A