#42942C#42942C
#42942C is a mid, vivid green. Relative luminance 0.225; OKLCH L 59.4% C 0.161 H 139.8°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).
Color values
| HEX | #42942C |
|---|---|
| RGB | rgb(66, 148, 44) |
| HSL | hsl(107, 54%, 38%) |
| HSV | hsv(107, 70%, 58%) |
| CMYK | cmyk(55.4%, 0%, 70.3%, 42%) |
| CIE-LAB | lab(54.57, -44.67, 45.45) |
| CIE-LCH | lch(54.57, 63.73, 134.51°) |
| OKLab | oklab(59.35% -0.1227 0.1038) |
| OKLCH | oklch(59.35% 0.161 139.8) |
| XYZ | xyz(13.2907, 22.5188, 6.0286) |
| Luminance | 0.2252 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Irish Green
#019529
ΔE00 3.75
Grass Green
#3F9B0B
ΔE00 3.86
True Green
#089404
ΔE00 3.92
Emerald Green
#028F1E
ΔE00 4.25
Forestgreen (CSS)
#228B22
ΔE00 4.30
Grassy Green
#419C03
ΔE00 4.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42942C #7E2C94
analogous
#76942C #42942C #2C944A
triadic
#42942C #2C4294 #942C42
tetradic
#42942C #2C7694 #7E2C94 #944A2C
square
#42942C #2C7694 #7E2C94 #944A2C
split-complementary
#42942C #4A2C94 #942C76
monochromatic
#183610 #2D651E #42942C #57C33A #7FD268
Accessibility & contrast
On white
3.82
#42942C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.50
#42942C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #42942C
5.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42942C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42942C | 1.00 | 3.82 | 5.50 | 5.50 |
| #FFFFFF | 3.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#98871D
Deuteranopia (green-blind)
#8E8036
Tritanopia (blue-blind)
#398F7F
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #42942c; /* rgb */ color: rgb(66, 148, 44); /* oklch */ color: oklch(59.4% 0.161 139.8);
Tailwind
colors: {
custom: {
50: '#7fb46b',
500: '#42942c',
950: '#000000',
},
}SCSS
$custom: #42942c; $custom-light: #7fb46b; $custom-dark: #000000;
JSON
{
"hex": "#42942c",
"rgb": {
"r": 66,
"g": 148,
"b": 44
},
"hsl": {
"h": 107.308,
"s": 54.167,
"l": 37.647
},
"oklch": {
"l": 0.59352,
"c": 0.1607,
"h": 139.8
},
"luminance": 0.2252
}Semantic roles & 50–950 ramp
primary
#42942C
secondary
#A763B9
accent
#4ADEBE
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1107
muted
#7C807A