#157231#157231
#157231 is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.5% C 0.130 H 148.3°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #157231 |
|---|---|
| RGB | rgb(21, 114, 49) |
| HSL | hsl(138, 69%, 26%) |
| HSV | hsv(138, 82%, 45%) |
| CMYK | cmyk(81.6%, 0%, 57%, 55.3%) |
| CIE-LAB | lab(41.87, -41.05, 28.45) |
| CIE-LCH | lch(41.87, 49.94, 145.28°) |
| OKLab | oklab(48.52% -0.1103 0.0682) |
| OKLCH | oklch(48.52% 0.13 148.3) |
| XYZ | xyz(6.8804, 12.4150, 4.9388) |
| Luminance | 0.1242 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.78
Jungle Green
#048243
ΔE00 5.79
Darkgreen
#006400
ΔE00 7.08
Tree Green
#2A7E19
ΔE00 7.13
Spruce
#0A5F38
ΔE00 8.19
Green
#008000
ΔE00 8.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#157231 #721556
analogous
#277215 #157231 #157260
triadic
#157231 #311572 #723115
tetradic
#157231 #152772 #721556 #726015
square
#157231 #152772 #721556 #726015
split-complementary
#157231 #601572 #721527
monochromatic
#051A0B #0B3E1B #157231 #1FA647 #2AD85E
Accessibility & contrast
On white
6.03
#157231 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#157231 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #157231
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##157231 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##157231 | 1.00 | 6.03 | 3.48 | 6.03 |
| #FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#73672B
Deuteranopia (green-blind)
#696036
Tritanopia (blue-blind)
#007063
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #157231; /* rgb */ color: rgb(21, 114, 49); /* oklch */ color: oklch(48.5% 0.130 148.3);
Tailwind
colors: {
custom: {
50: '#649b6b',
500: '#157231',
950: '#000000',
},
}SCSS
$custom: #157231; $custom-light: #649b6b; $custom-dark: #000000;
JSON
{
"hex": "#157231",
"rgb": {
"r": 21,
"g": 114,
"b": 49
},
"hsl": {
"h": 138.065,
"s": 68.889,
"l": 26.471
},
"oklch": {
"l": 0.48517,
"c": 0.12967,
"h": 148.3
},
"luminance": 0.12416
}Semantic roles & 50–950 ramp
primary
#157231
secondary
#A83B87
accent
#3CB7EC
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E07
muted
#7A7E7A