#42845E#42845E
#42845E is a mid, moderate green. Relative luminance 0.185; OKLCH L 55.9% C 0.091 H 156.5°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #42845E |
|---|---|
| RGB | rgb(66, 132, 94) |
| HSL | hsl(145, 33%, 39%) |
| HSV | hsv(145, 50%, 52%) |
| CMYK | cmyk(50%, 0%, 28.8%, 48.2%) |
| CIE-LAB | lab(50.06, -30.35, 14.18) |
| CIE-LCH | lch(50.06, 33.50, 154.95°) |
| OKLab | oklab(55.88% -0.0831 0.0361) |
| OKLCH | oklch(55.88% 0.091 156.5) |
| XYZ | xyz(12.5175, 18.4679, 13.4926) |
| Luminance | 0.1847 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Dark Sea Green
#11875D
ΔE00 4.25
Sea Green
#2E8B57
ΔE00 4.31
Dark Sage
#598556
ΔE00 5.13
Viridian
#1E9167
ΔE00 5.62
Slate Green
#658D6D
ΔE00 6.70
Jungle Green
#048243
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42845E #844268
analogous
#478442 #42845E #42847F
triadic
#42845E #5E4284 #845E42
tetradic
#42845E #424784 #844268 #847F42
square
#42845E #424784 #844268 #847F42
split-complementary
#42845E #7F4284 #844247
monochromatic
#193224 #2E5B41 #42845E #58AB7B #81C09B
Accessibility & contrast
On white
4.47
#42845E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.69
#42845E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #42845E
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42845E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42845E | 1.00 | 4.47 | 4.69 | 4.69 |
| #FFFFFF | 4.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837B5C
Deuteranopia (green-blind)
#7A7460
Tritanopia (blue-blind)
#31837A
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #42845e; /* rgb */ color: rgb(66, 132, 94); /* oklch */ color: oklch(55.9% 0.091 156.5);
Tailwind
colors: {
custom: {
50: '#7ba88b',
500: '#42845e',
950: '#000000',
},
}SCSS
$custom: #42845e; $custom-light: #7ba88b; $custom-dark: #000000;
JSON
{
"hex": "#42845e",
"rgb": {
"r": 66,
"g": 132,
"b": 94
},
"hsl": {
"h": 145.455,
"s": 33.333,
"l": 38.824
},
"oklch": {
"l": 0.55881,
"c": 0.09062,
"h": 156.5
},
"luminance": 0.18469
}Semantic roles & 50–950 ramp
primary
#42845E
secondary
#AB7795
accent
#5E9CC9
background
#F7FAF8
surface
#EEF4F0
border
#C9CECB
text
#0A0F0C
muted
#7C7F7D