#125F28#125F28
#125F28 is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.7% C 0.113 H 148.1°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #125F28 |
|---|---|
| RGB | rgb(18, 95, 40) |
| HSL | hsl(137, 68%, 22%) |
| HSV | hsv(137, 81%, 37%) |
| CMYK | cmyk(81.1%, 0%, 57.9%, 62.7%) |
| CIE-LAB | lab(34.93, -35.71, 24.89) |
| CIE-LCH | lch(34.93, 43.52, 145.12°) |
| OKLab | oklab(42.72% -0.096 0.0597) |
| OKLCH | oklch(42.72% 0.113 148.1) |
| XYZ | xyz(4.7243, 8.4657, 3.3921) |
| Luminance | 0.0847 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.88
Pine
#2B5D34
ΔE00 4.03
Deep Green
#02590F
ΔE00 4.19
Spruce
#0A5F38
ΔE00 4.33
Forest
#0B5509
ΔE00 5.25
Hunter Green
#355E3B
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125F28 #5F1249
analogous
#225F12 #125F28 #125F4F
triadic
#125F28 #28125F #5F2812
tetradic
#125F28 #12225F #5F1249 #5F4F12
square
#125F28 #12225F #5F1249 #5F4F12
split-complementary
#125F28 #4F125F #5F1222
monochromatic
#051A0B #082C12 #125F28 #1C923E #25C653
Accessibility & contrast
On white
7.80
#125F28 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#125F28 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125F28
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125F28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125F28 | 1.00 | 7.80 | 2.69 | 7.80 |
| #FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#605623
Deuteranopia (green-blind)
#57502C
Tritanopia (blue-blind)
#005D53
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #125f28; /* rgb */ color: rgb(18, 95, 40); /* oklch */ color: oklch(42.7% 0.113 148.1);
Tailwind
colors: {
custom: {
50: '#5e8d63',
500: '#125f28',
950: '#000000',
},
}SCSS
$custom: #125f28; $custom-light: #5e8d63; $custom-dark: #000000;
JSON
{
"hex": "#125f28",
"rgb": {
"r": 18,
"g": 95,
"b": 40
},
"hsl": {
"h": 137.143,
"s": 68.142,
"l": 22.157
},
"oklch": {
"l": 0.42716,
"c": 0.11305,
"h": 148.1
},
"luminance": 0.08466
}Semantic roles & 50–950 ramp
primary
#125F28
secondary
#97367B
accent
#3DB9EB
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C05
muted
#797D7A