#42945F#42945F
#42945F is a mid, moderate green. Relative luminance 0.232; OKLCH L 60.1% C 0.114 H 153.0°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #42945F |
|---|---|
| RGB | rgb(66, 148, 95) |
| HSL | hsl(141, 38%, 42%) |
| HSV | hsv(141, 55%, 58%) |
| CMYK | cmyk(55.4%, 0%, 35.8%, 42%) |
| CIE-LAB | lab(55.24, -37.46, 20.67) |
| CIE-LCH | lch(55.24, 42.79, 151.11°) |
| OKLab | oklab(60.12% -0.1018 0.0519) |
| OKLCH | oklch(60.12% 0.114 153) |
| XYZ | xyz(14.9011, 23.1630, 14.5099) |
| Luminance | 0.2316 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Light Forest Green
#4F9153
ΔE00 3.46
Sea Green
#2E8B57
ΔE00 3.74
Viridian
#1E9167
ΔE00 4.61
Ocean Green
#3D9973
ΔE00 4.80
Greenish
#40A368
ΔE00 4.82
Teal Green
#25A36F
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42945F #944277
analogous
#4E9442 #42945F #429488
triadic
#42945F #5F4294 #945F42
tetradic
#42945F #424E94 #944277 #948842
square
#42945F #424E94 #944277 #948842
split-complementary
#42945F #884294 #94424E
monochromatic
#1C3F29 #2F6A44 #42945F #5DB77C #87C99E
Accessibility & contrast
On white
3.73
#42945F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.63
#42945F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #42945F
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42945F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42945F | 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)
#94895C
Deuteranopia (green-blind)
#898162
Tritanopia (blue-blind)
#2C9286
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #42945f; /* rgb */ color: rgb(66, 148, 95); /* oklch */ color: oklch(60.1% 0.114 153.0);
Tailwind
colors: {
custom: {
50: '#7db48d',
500: '#42945f',
950: '#000000',
},
}SCSS
$custom: #42945f; $custom-light: #7db48d; $custom-dark: #000000;
JSON
{
"hex": "#42945f",
"rgb": {
"r": 66,
"g": 148,
"b": 95
},
"hsl": {
"h": 141.22,
"s": 38.318,
"l": 41.961
},
"oklch": {
"l": 0.60116,
"c": 0.11424,
"h": 153
},
"luminance": 0.23164
}Semantic roles & 50–950 ramp
primary
#42945F
secondary
#B47EA1
accent
#5AA5CE
background
#F7FBF8
surface
#EEF6F0
border
#C9D0CB
text
#0A110C
muted
#7C807D