#125C1F#125C1F
#125C1F is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.7% C 0.117 H 145.6°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #125C1F |
|---|---|
| RGB | rgb(18, 92, 31) |
| HSL | hsl(131, 67%, 22%) |
| HSV | hsv(131, 80%, 36%) |
| CMYK | cmyk(80.4%, 0%, 66.3%, 63.9%) |
| CIE-LAB | lab(33.73, -35.89, 28.23) |
| CIE-LCH | lch(33.73, 45.66, 141.80°) |
| OKLab | oklab(41.69% -0.0968 0.0662) |
| OKLCH | oklch(41.69% 0.117 145.6) |
| XYZ | xyz(4.3236, 7.8813, 2.5894) |
| Luminance | 0.0788 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.47
Forest
#0B5509
ΔE00 3.47
Forest Green
#2D5A27
ΔE00 3.62
Pine
#2B5D34
ΔE00 5.05
Darkgreen
#006400
ΔE00 5.40
Spruce
#0A5F38
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125C1F #5C124F
analogous
#2A5C12 #125C1F #125C44
triadic
#125C1F #1F125C #5C1F12
tetradic
#125C1F #122A5C #5C124F #5C4412
square
#125C1F #122A5C #5C124F #5C4412
split-complementary
#125C1F #44125C #5C122A
monochromatic
#051A09 #08290E #125C1F #1C8F30 #26C241
Accessibility & contrast
On white
8.15
#125C1F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#125C1F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125C1F
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125C1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125C1F | 1.00 | 8.15 | 2.58 | 8.15 |
| #FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E5318
Deuteranopia (green-blind)
#554D24
Tritanopia (blue-blind)
#005A4F
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #125c1f; /* rgb */ color: rgb(18, 92, 31); /* oklch */ color: oklch(41.7% 0.117 145.6);
Tailwind
colors: {
custom: {
50: '#5e8b5d',
500: '#125c1f',
950: '#000000',
},
}SCSS
$custom: #125c1f; $custom-light: #5e8b5d; $custom-dark: #000000;
JSON
{
"hex": "#125c1f",
"rgb": {
"r": 18,
"g": 92,
"b": 31
},
"hsl": {
"h": 130.541,
"s": 67.273,
"l": 21.569
},
"oklch": {
"l": 0.41686,
"c": 0.11724,
"h": 145.6
},
"luminance": 0.07882
}Semantic roles & 50–950 ramp
primary
#125C1F
secondary
#943584
accent
#3ECCEA
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79