#42971C#42971C

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

Color values

HEX#42971C
RGBrgb(66, 151, 28)
HSLhsl(101, 69%, 35%)
HSVhsv(101, 81%, 59%)
CMYKcmyk(56.3%, 0%, 81.5%, 40.8%)
CIE-LABlab(55.46, -46.98, 52.07)
CIE-LCHlch(55.46, 70.13, 132.06°)
OKLaboklab(60.05% -0.1298 0.1154)
OKLCHoklch(60.05% 0.174 138.4)
XYZxyz(13.5225, 23.3742, 4.8975)
Luminance0.2338 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42971C #711C97
analogous
#80971C #42971C #1C9733
triadic
#42971C #1C4297 #971C42
tetradic
#42971C #1C8097 #711C97 #97331C
square
#42971C #1C8097 #711C97 #97331C
split-complementary
#42971C #331C97 #971C80
monochromatic
#153009 #2B6312 #42971C #59CB26 #7BDE4F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42971C#FFFFFF#000000##000000
##42971C1.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)
#91822B
Tritanopia (blue-blind)
#3A9281
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #42971c;
/* rgb */ color: rgb(66, 151, 28);
/* oklch */ color: oklch(60.0% 0.174 138.4);
Tailwind
colors: {
  custom: {
    50: '#80b664',
    500: '#42971c',
    950: '#000000',
  },
}
SCSS
$custom: #42971c;
$custom-light: #80b664;
$custom-dark: #000000;
JSON
{
  "hex": "#42971c",
  "rgb": {
    "r": 66,
    "g": 151,
    "b": 28
  },
  "hsl": {
    "h": 101.463,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.60048,
    "c": 0.17371,
    "h": 138.4
  },
  "luminance": 0.23375
}

Semantic roles & 50–950 ramp

primary
#42971C
secondary
#9D4EC1
accent
#3CECB5
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #42971C

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

Preview Lab → · Contrast checker → · Palette generator →

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