#125E1F#125E1F
#125E1F is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.3% C 0.120 H 145.5°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).
Color values
| HEX | #125E1F |
|---|---|
| RGB | rgb(18, 94, 31) |
| HSL | hsl(130, 68%, 22%) |
| HSV | hsv(130, 81%, 37%) |
| CMYK | cmyk(80.9%, 0%, 67%, 63.1%) |
| CIE-LAB | lab(34.46, -36.64, 29.06) |
| CIE-LCH | lch(34.46, 46.76, 141.58°) |
| OKLab | oklab(42.29% -0.0988 0.068) |
| OKLCH | oklch(42.29% 0.12 145.5) |
| XYZ | xyz(4.4992, 8.2324, 2.6480) |
| Luminance | 0.0823 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.55
Forest
#0B5509
ΔE00 3.72
Forest Green
#2D5A27
ΔE00 3.93
Darkgreen
#006400
ΔE00 4.88
Pine
#2B5D34
ΔE00 5.31
Spruce
#0A5F38
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125E1F #5E1251
analogous
#2B5E12 #125E1F #125E45
triadic
#125E1F #1F125E #5E1F12
tetradic
#125E1F #122B5E #5E1251 #5E4512
square
#125E1F #122B5E #5E1251 #5E4512
split-complementary
#125E1F #45125E #5E122B
monochromatic
#051A08 #082B0E #125E1F #1C9130 #26C541
Accessibility & contrast
On white
7.93
#125E1F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#125E1F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125E1F
7.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125E1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125E1F | 1.00 | 7.93 | 2.65 | 7.93 |
| #FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#605518
Deuteranopia (green-blind)
#574F24
Tritanopia (blue-blind)
#005B51
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #125e1f; /* rgb */ color: rgb(18, 94, 31); /* oklch */ color: oklch(42.3% 0.120 145.5);
Tailwind
colors: {
custom: {
50: '#5e8c5d',
500: '#125e1f',
950: '#000000',
},
}SCSS
$custom: #125e1f; $custom-light: #5e8c5d; $custom-dark: #000000;
JSON
{
"hex": "#125e1f",
"rgb": {
"r": 18,
"g": 94,
"b": 31
},
"hsl": {
"h": 130.263,
"s": 67.857,
"l": 21.961
},
"oklch": {
"l": 0.42289,
"c": 0.11993,
"h": 145.5
},
"luminance": 0.08233
}Semantic roles & 50–950 ramp
primary
#125E1F
secondary
#963586
accent
#3DCDEB
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79