#125831#125831
#125831 is a dark, moderate green. Relative luminance 0.073; OKLCH L 40.8% C 0.094 H 153.7°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).
Color values
| HEX | #125831 |
|---|---|
| RGB | rgb(18, 88, 49) |
| HSL | hsl(147, 66%, 21%) |
| HSV | hsv(147, 80%, 35%) |
| CMYK | cmyk(79.5%, 0%, 44.3%, 65.5%) |
| CIE-LAB | lab(32.55, -31.18, 16.70) |
| CIE-LCH | lch(32.55, 35.37, 151.83°) |
| OKLab | oklab(40.79% -0.084 0.0415) |
| OKLCH | oklch(40.79% 0.094 153.7) |
| XYZ | xyz(4.2932, 7.3293, 4.0936) |
| Luminance | 0.0733 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 2.42
Pine
#2B5D34
ΔE00 3.29
Hunter Green
#355E3B
ΔE00 4.87
Forest Green
#2D5A27
ΔE00 5.21
Pine Green
#0A481E
ΔE00 5.32
Evergreen
#05472A
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125831 #581239
analogous
#165812 #125831 #125854
triadic
#125831 #311258 #583112
tetradic
#125831 #121658 #581239 #585412
square
#125831 #121658 #581239 #585412
split-complementary
#125831 #541258 #581216
monochromatic
#05190E #082515 #125831 #1C8B4D #27BE6A
Accessibility & contrast
On white
8.52
#125831 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#125831 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125831
8.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125831 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125831 | 1.00 | 8.52 | 2.47 | 8.52 |
| #FFFFFF | 8.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#58502E
Deuteranopia (green-blind)
#504A34
Tritanopia (blue-blind)
#00574E
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #125831; /* rgb */ color: rgb(18, 88, 49); /* oklch */ color: oklch(40.8% 0.094 153.7);
Tailwind
colors: {
custom: {
50: '#5c8869',
500: '#125831',
950: '#000000',
},
}SCSS
$custom: #125831; $custom-light: #5c8869; $custom-dark: #000000;
JSON
{
"hex": "#125831",
"rgb": {
"r": 18,
"g": 88,
"b": 49
},
"hsl": {
"h": 146.571,
"s": 66.038,
"l": 20.784
},
"oklch": {
"l": 0.40788,
"c": 0.0937,
"h": 153.7
},
"luminance": 0.0733
}Semantic roles & 50–950 ramp
primary
#125831
secondary
#913568
accent
#3F9EE9
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050B06
muted
#797C7A