#125A1F#125A1F
#125A1F is a dark, moderate green. Relative luminance 0.075; OKLCH L 41.1% C 0.115 H 145.8°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).
Color values
| HEX | #125A1F |
|---|---|
| RGB | rgb(18, 90, 31) |
| HSL | hsl(131, 67%, 21%) |
| HSV | hsv(131, 80%, 35%) |
| CMYK | cmyk(80%, 0%, 65.6%, 64.7%) |
| CIE-LAB | lab(33.00, -35.12, 27.40) |
| CIE-LCH | lch(33.00, 44.55, 142.04°) |
| OKLab | oklab(41.08% -0.0947 0.0644) |
| OKLCH | oklch(41.08% 0.115 145.8) |
| XYZ | xyz(4.1526, 7.5394, 2.5324) |
| Luminance | 0.0754 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.59
Forest
#0B5509
ΔE00 3.35
Forest Green
#2D5A27
ΔE00 3.43
Pine
#2B5D34
ΔE00 4.87
Bottle Green
#044A05
ΔE00 5.46
Darkgreen (survey)
#054907
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125A1F #5A124D
analogous
#295A12 #125A1F #125A43
triadic
#125A1F #1F125A #5A1F12
tetradic
#125A1F #12295A #5A124D #5A4312
square
#125A1F #12295A #5A124D #5A4312
split-complementary
#125A1F #43125A #5A1229
monochromatic
#051A09 #08270D #125A1F #1C8D31 #26C042
Accessibility & contrast
On white
8.37
#125A1F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#125A1F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125A1F
8.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125A1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125A1F | 1.00 | 8.37 | 2.51 | 8.37 |
| #FFFFFF | 8.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B5119
Deuteranopia (green-blind)
#534B24
Tritanopia (blue-blind)
#00584D
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #125a1f; /* rgb */ color: rgb(18, 90, 31); /* oklch */ color: oklch(41.1% 0.115 145.8);
Tailwind
colors: {
custom: {
50: '#5d895d',
500: '#125a1f',
950: '#000000',
},
}SCSS
$custom: #125a1f; $custom-light: #5d895d; $custom-dark: #000000;
JSON
{
"hex": "#125a1f",
"rgb": {
"r": 18,
"g": 90,
"b": 31
},
"hsl": {
"h": 130.833,
"s": 66.667,
"l": 21.176
},
"oklch": {
"l": 0.4108,
"c": 0.11453,
"h": 145.8
},
"luminance": 0.0754
}Semantic roles & 50–950 ramp
primary
#125A1F
secondary
#933582
accent
#3ECBEA
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79