#42971D#42971D

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

Color values

HEX#42971D
RGBrgb(66, 151, 29)
HSLhsl(102, 68%, 35%)
HSVhsv(102, 81%, 59%)
CMYKcmyk(56.3%, 0%, 80.8%, 40.8%)
CIE-LABlab(55.46, -46.92, 51.77)
CIE-LCHlch(55.46, 69.87, 132.19°)
OKLaboklab(60.05% -0.1296 0.1149)
OKLCHoklch(60.05% 0.173 138.4)
XYZxyz(13.5346, 23.3791, 4.9615)
Luminance0.2338 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42971D #721D97
analogous
#7F971D #42971D #1D9735
triadic
#42971D #1D4297 #971D42
tetradic
#42971D #1D7F97 #721D97 #97351D
square
#42971D #1D7F97 #721D97 #97351D
split-complementary
#42971D #351D97 #971D7F
monochromatic
#153009 #2C6413 #42971D #58CA27 #7CDE51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42971D#FFFFFF#000000##000000
##42971D1.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: #42971d;
/* rgb */ color: rgb(66, 151, 29);
/* oklch */ color: oklch(60.1% 0.173 138.4);
Tailwind
colors: {
  custom: {
    50: '#80b664',
    500: '#42971d',
    950: '#000000',
  },
}
SCSS
$custom: #42971d;
$custom-light: #80b664;
$custom-dark: #000000;
JSON
{
  "hex": "#42971d",
  "rgb": {
    "r": 66,
    "g": 151,
    "b": 29
  },
  "hsl": {
    "h": 101.803,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.60053,
    "c": 0.17323,
    "h": 138.4
  },
  "luminance": 0.2338
}

Semantic roles & 50–950 ramp

primary
#42971D
secondary
#9E4FC0
accent
#3DEBB6
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #42971D

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

Preview Lab → · Contrast checker → · Palette generator →

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