#125731#125731
#125731 is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.5% C 0.092 H 154.1°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).
Color values
| HEX | #125731 |
|---|---|
| RGB | rgb(18, 87, 49) |
| HSL | hsl(147, 66%, 21%) |
| HSV | hsv(147, 79%, 34%) |
| CMYK | cmyk(79.3%, 0%, 43.7%, 65.9%) |
| CIE-LAB | lab(32.18, -30.75, 16.22) |
| CIE-LCH | lch(32.18, 34.77, 152.19°) |
| OKLab | oklab(40.49% -0.0829 0.0403) |
| OKLCH | oklch(40.49% 0.092 154.1) |
| XYZ | xyz(4.2116, 7.1663, 4.0664) |
| Luminance | 0.0717 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 2.69
Pine
#2B5D34
ΔE00 3.49
Hunter Green
#355E3B
ΔE00 4.95
Pine Green
#0A481E
ΔE00 5.11
Evergreen
#05472A
ΔE00 5.38
Forest Green
#2D5A27
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125731 #571238
analogous
#155712 #125731 #125753
triadic
#125731 #311257 #573112
tetradic
#125731 #121557 #571238 #575312
square
#125731 #121557 #571238 #575312
split-complementary
#125731 #531257 #571215
monochromatic
#05190E #082414 #125731 #1C8A4E #27BC6A
Accessibility & contrast
On white
8.63
#125731 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#125731 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125731
8.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125731 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125731 | 1.00 | 8.63 | 2.43 | 8.63 |
| #FFFFFF | 8.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#574F2E
Deuteranopia (green-blind)
#4F4934
Tritanopia (blue-blind)
#00564E
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #125731; /* rgb */ color: rgb(18, 87, 49); /* oklch */ color: oklch(40.5% 0.092 154.1);
Tailwind
colors: {
custom: {
50: '#5c8769',
500: '#125731',
950: '#000000',
},
}SCSS
$custom: #125731; $custom-light: #5c8769; $custom-dark: #000000;
JSON
{
"hex": "#125731",
"rgb": {
"r": 18,
"g": 87,
"b": 49
},
"hsl": {
"h": 146.957,
"s": 65.714,
"l": 20.588
},
"oklch": {
"l": 0.40488,
"c": 0.09219,
"h": 154.1
},
"luminance": 0.07167
}Semantic roles & 50–950 ramp
primary
#125731
secondary
#903567
accent
#3F9CE9
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A