#42945E#42945E
#42945E is a mid, moderate green. Relative luminance 0.231; OKLCH L 60.1% C 0.115 H 152.5°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #42945E |
|---|---|
| RGB | rgb(66, 148, 94) |
| HSL | hsl(140, 38%, 42%) |
| HSV | hsv(140, 55%, 58%) |
| CMYK | cmyk(55.4%, 0%, 36.5%, 42%) |
| CIE-LAB | lab(55.22, -37.65, 21.20) |
| CIE-LCH | lch(55.22, 43.21, 150.62°) |
| OKLab | oklab(60.1% -0.1022 0.0531) |
| OKLCH | oklch(60.1% 0.115 152.5) |
| XYZ | xyz(14.8560, 23.1449, 14.2720) |
| Luminance | 0.2315 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Light Forest Green
#4F9153
ΔE00 3.26
Sea Green
#2E8B57
ΔE00 3.75
Viridian
#1E9167
ΔE00 4.79
Greenish
#40A368
ΔE00 4.81
Ocean Green
#3D9973
ΔE00 5.03
Teal Green
#25A36F
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42945E #944278
analogous
#4F9442 #42945E #429487
triadic
#42945E #5E4294 #945E42
tetradic
#42945E #424F94 #944278 #948742
square
#42945E #424F94 #944278 #948742
split-complementary
#42945E #874294 #94424F
monochromatic
#1C3F28 #2F6A43 #42945E #5DB77B #87C99E
Accessibility & contrast
On white
3.73
#42945E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.63
#42945E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #42945E
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42945E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42945E | 1.00 | 3.73 | 5.63 | 5.63 |
| #FFFFFF | 3.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#94895A
Deuteranopia (green-blind)
#898161
Tritanopia (blue-blind)
#2C9286
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #42945e; /* rgb */ color: rgb(66, 148, 94); /* oklch */ color: oklch(60.1% 0.115 152.5);
Tailwind
colors: {
custom: {
50: '#7db48c',
500: '#42945e',
950: '#000000',
},
}SCSS
$custom: #42945e; $custom-light: #7db48c; $custom-dark: #000000;
JSON
{
"hex": "#42945e",
"rgb": {
"r": 66,
"g": 148,
"b": 94
},
"hsl": {
"h": 140.488,
"s": 38.318,
"l": 41.961
},
"oklch": {
"l": 0.60095,
"c": 0.11523,
"h": 152.5
},
"luminance": 0.23146
}Semantic roles & 50–950 ramp
primary
#42945E
secondary
#B47EA2
accent
#5AA6CE
background
#F7FBF8
surface
#EEF6F0
border
#C9D0CB
text
#0A110C
muted
#7C807D