#125F1B#125F1B
#125F1B is a dark, vivid green. Relative luminance 0.084; OKLCH L 42.5% C 0.125 H 144.5°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #125F1B |
|---|---|
| RGB | rgb(18, 95, 27) |
| HSL | hsl(127, 68%, 22%) |
| HSV | hsv(127, 81%, 37%) |
| CMYK | cmyk(81.1%, 0%, 71.6%, 62.7%) |
| CIE-LAB | lab(34.79, -37.50, 31.35) |
| CIE-LCH | lch(34.79, 48.88, 140.10°) |
| OKLab | oklab(42.55% -0.1013 0.0724) |
| OKLCH | oklch(42.55% 0.125 144.5) |
| XYZ | xyz(4.5392, 8.3916, 2.4172) |
| Luminance | 0.0839 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.25
Forest
#0B5509
ΔE00 3.50
Darkgreen
#006400
ΔE00 3.95
Forest Green
#2D5A27
ΔE00 4.42
Pine
#2B5D34
ΔE00 6.08
Bottle Green
#044A05
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125F1B #5F1256
analogous
#305F12 #125F1B #125F42
triadic
#125F1B #1B125F #5F1B12
tetradic
#125F1B #12305F #5F1256 #5F4212
square
#125F1B #12305F #5F1256 #5F4212
split-complementary
#125F1B #42125F #5F1230
monochromatic
#051A07 #082C0C #125F1B #1C922A #25C638
Accessibility & contrast
On white
7.84
#125F1B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#125F1B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125F1B
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125F1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125F1B | 1.00 | 7.84 | 2.68 | 7.84 |
| #FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#615512
Deuteranopia (green-blind)
#584F21
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #125f1b; /* rgb */ color: rgb(18, 95, 27); /* oklch */ color: oklch(42.5% 0.125 144.5);
Tailwind
colors: {
custom: {
50: '#5f8d5b',
500: '#125f1b',
950: '#000000',
},
}SCSS
$custom: #125f1b; $custom-light: #5f8d5b; $custom-dark: #000000;
JSON
{
"hex": "#125f1b",
"rgb": {
"r": 18,
"g": 95,
"b": 27
},
"hsl": {
"h": 127.013,
"s": 68.142,
"l": 22.157
},
"oklch": {
"l": 0.42545,
"c": 0.12451,
"h": 144.5
},
"luminance": 0.08392
}Semantic roles & 50–950 ramp
primary
#125F1B
secondary
#97368C
accent
#3DD7EB
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79