#42971E#42971E

#42971E is a mid, vivid green. Relative luminance 0.234; OKLCH L 60.1% C 0.173 H 138.5°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#42971E
RGBrgb(66, 151, 30)
HSLhsl(102, 67%, 35%)
HSVhsv(102, 80%, 59%)
CMYKcmyk(56.3%, 0%, 80.1%, 40.8%)
CIE-LABlab(55.47, -46.86, 51.47)
CIE-LCHlch(55.47, 69.60, 132.32°)
OKLaboklab(60.06% -0.1294 0.1144)
OKLCHoklch(60.06% 0.173 138.5)
XYZxyz(13.5472, 23.3841, 5.0277)
Luminance0.2339 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42971E #731E97
analogous
#7E971E #42971E #1E9737
triadic
#42971E #1E4297 #971E42
tetradic
#42971E #1E7E97 #731E97 #97371E
square
#42971E #1E7E97 #731E97 #97371E
split-complementary
#42971E #371E97 #971E7E
monochromatic
#15310A #2C6414 #42971E #58CA28 #7CDD53

Accessibility & contrast

On white

3.70
#42971E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#42971E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42971E
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42971E#FFFFFF#000000##000000
##42971E1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#91822C
Tritanopia (blue-blind)
#3A9281
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #42971e;
/* rgb */ color: rgb(66, 151, 30);
/* oklch */ color: oklch(60.1% 0.173 138.5);
Tailwind
colors: {
  custom: {
    50: '#80b664',
    500: '#42971e',
    950: '#000000',
  },
}
SCSS
$custom: #42971e;
$custom-light: #80b664;
$custom-dark: #000000;
JSON
{
  "hex": "#42971e",
  "rgb": {
    "r": 66,
    "g": 151,
    "b": 30
  },
  "hsl": {
    "h": 102.149,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.60059,
    "c": 0.17274,
    "h": 138.5
  },
  "luminance": 0.23385
}

Semantic roles & 50–950 ramp

primary
#42971E
secondary
#9F51C0
accent
#3EEAB7
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #42971E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#42971E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva