#42971A#42971A

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

Color values

HEX#42971A
RGBrgb(66, 151, 26)
HSLhsl(101, 71%, 35%)
HSVhsv(101, 83%, 59%)
CMYKcmyk(56.3%, 0%, 82.8%, 40.8%)
CIE-LABlab(55.45, -47.09, 52.65)
CIE-LCHlch(55.45, 70.63, 131.81°)
OKLaboklab(60.04% -0.1302 0.1163)
OKLCHoklch(60.04% 0.175 138.2)
XYZxyz(13.4993, 23.3649, 4.7756)
Luminance0.2337 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42971A #6F1A97
analogous
#81971A #42971A #1A9731
triadic
#42971A #1A4297 #971A42
tetradic
#42971A #1A8197 #6F1A97 #97311A
square
#42971A #1A8197 #6F1A97 #97311A
split-complementary
#42971A #311A97 #971A81
monochromatic
#142F08 #2B6311 #42971A #59CB23 #7BE04B

Accessibility & contrast

On white

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

On black

5.67
#42971A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42971A
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42971A#FFFFFF#000000##000000
##42971A1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#918229
Tritanopia (blue-blind)
#3A9280
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #42971a;
/* rgb */ color: rgb(66, 151, 26);
/* oklch */ color: oklch(60.0% 0.175 138.2);
Tailwind
colors: {
  custom: {
    50: '#80b663',
    500: '#42971a',
    950: '#000000',
  },
}
SCSS
$custom: #42971a;
$custom-light: #80b663;
$custom-dark: #000000;
JSON
{
  "hex": "#42971a",
  "rgb": {
    "r": 66,
    "g": 151,
    "b": 26
  },
  "hsl": {
    "h": 100.8,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.60037,
    "c": 0.17461,
    "h": 138.2
  },
  "luminance": 0.23366
}

Semantic roles & 50–950 ramp

primary
#42971A
secondary
#9C4BC2
accent
#3AEDB4
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #42971A

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

Preview Lab → · Contrast checker → · Palette generator →

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