#42711D#42711D

#42711D is a mid, vivid yellow-green. Relative luminance 0.131; OKLCH L 49.7% C 0.125 H 134.4°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#42711D
RGBrgb(66, 113, 29)
HSLhsl(94, 59%, 28%)
HSVhsv(94, 74%, 44%)
CMYKcmyk(41.6%, 0%, 74.3%, 55.7%)
CIE-LABlab(42.85, -31.18, 39.48)
CIE-LCHlch(42.85, 50.31, 128.30°)
OKLaboklab(49.69% -0.0872 0.0892)
OKLCHoklch(49.69% 0.125 134.4)
XYZxyz(8.3735, 13.0568, 3.2412)
Luminance0.1306 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42711D #4C1D71
analogous
#6C711D #42711D #1D7122
triadic
#42711D #1D4271 #711D42
tetradic
#42711D #1D6C71 #4C1D71 #71221D
square
#42711D #1D6C71 #4C1D71 #71221D
split-complementary
#42711D #221D71 #711D6C
monochromatic
#0E1806 #264011 #42711D #5EA229 #7CCD3C

Accessibility & contrast

On white

5.81
#42711D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#42711D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42711D
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42711D#FFFFFF#000000##FFFFFF
##42711D1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76680F
Deuteranopia (green-blind)
#6F6425
Tritanopia (blue-blind)
#416C60
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #42711d;
/* rgb */ color: rgb(66, 113, 29);
/* oklch */ color: oklch(49.7% 0.125 134.4);
Tailwind
colors: {
  custom: {
    50: '#7b9a5f',
    500: '#42711d',
    950: '#000000',
  },
}
SCSS
$custom: #42711d;
$custom-light: #7b9a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#42711d",
  "rgb": {
    "r": 66,
    "g": 113,
    "b": 29
  },
  "hsl": {
    "h": 93.571,
    "s": 59.155,
    "l": 27.843
  },
  "oklch": {
    "l": 0.49685,
    "c": 0.12475,
    "h": 134.4
  },
  "luminance": 0.13057
}

Semantic roles & 50–950 ramp

primary
#42711D
secondary
#7B44A5
accent
#45E29D
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #42711D

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

Preview Lab → · Contrast checker → · Palette generator →

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