#125834#125834
#125834 is a dark, moderate green. Relative luminance 0.074; OKLCH L 40.9% C 0.091 H 155.6°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).
Color values
| HEX | #125834 |
|---|---|
| RGB | rgb(18, 88, 52) |
| HSL | hsl(149, 66%, 21%) |
| HSV | hsv(149, 80%, 35%) |
| CMYK | cmyk(79.5%, 0%, 40.9%, 65.5%) |
| CIE-LAB | lab(32.60, -30.53, 14.97) |
| CIE-LCH | lch(32.60, 34.00, 153.88°) |
| OKLab | oklab(40.85% -0.0824 0.0374) |
| OKLCH | oklch(40.85% 0.091 155.6) |
| XYZ | xyz(4.3586, 7.3555, 4.4382) |
| Luminance | 0.0736 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 2.38
Pine
#2B5D34
ΔE00 3.64
Hunter Green
#355E3B
ΔE00 4.85
Evergreen
#05472A
ΔE00 5.48
Pine Green
#0A481E
ΔE00 5.69
Forest Green
#2D5A27
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125834 #581236
analogous
#135812 #125834 #125857
triadic
#125834 #341258 #583412
tetradic
#125834 #121358 #581236 #585712
square
#125834 #121358 #581236 #585712
split-complementary
#125834 #571258 #581213
monochromatic
#05190F #082516 #125834 #1C8B52 #27BE70
Accessibility & contrast
On white
8.50
#125834 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#125834 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125834
8.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125834 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125834 | 1.00 | 8.50 | 2.47 | 8.50 |
| #FFFFFF | 8.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#585032
Deuteranopia (green-blind)
#4F4A36
Tritanopia (blue-blind)
#00574F
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #125834; /* rgb */ color: rgb(18, 88, 52); /* oklch */ color: oklch(40.9% 0.091 155.6);
Tailwind
colors: {
custom: {
50: '#5c886b',
500: '#125834',
950: '#000000',
},
}SCSS
$custom: #125834; $custom-light: #5c886b; $custom-dark: #000000;
JSON
{
"hex": "#125834",
"rgb": {
"r": 18,
"g": 88,
"b": 52
},
"hsl": {
"h": 149.143,
"s": 66.038,
"l": 20.784
},
"oklch": {
"l": 0.40854,
"c": 0.09054,
"h": 155.6
},
"luminance": 0.07356
}Semantic roles & 50–950 ramp
primary
#125834
secondary
#913564
accent
#3F96E9
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050B06
muted
#797C7A