#42711E#42711E

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

Color values

HEX#42711E
RGBrgb(66, 113, 30)
HSLhsl(94, 58%, 28%)
HSVhsv(94, 73%, 44%)
CMYKcmyk(41.6%, 0%, 73.5%, 55.7%)
CIE-LABlab(42.86, -31.10, 39.07)
CIE-LCHlch(42.86, 49.94, 128.52°)
OKLaboklab(49.69% -0.0869 0.0885)
OKLCHoklch(49.69% 0.124 134.5)
XYZxyz(8.3861, 13.0618, 3.3074)
Luminance0.1306 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42711E #4D1E71
analogous
#6B711E #42711E #1E7123
triadic
#42711E #1E4271 #711E42
tetradic
#42711E #1E6B71 #4D1E71 #71231E
square
#42711E #1E6B71 #4D1E71 #71231E
split-complementary
#42711E #231E71 #711E6B
monochromatic
#0E1806 #264111 #42711E #5EA12B #7BCC3E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42711E#FFFFFF#000000##FFFFFF
##42711E1.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)
#756811
Deuteranopia (green-blind)
#6F6426
Tritanopia (blue-blind)
#416C61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #42711e;
/* rgb */ color: rgb(66, 113, 30);
/* oklch */ color: oklch(49.7% 0.124 134.5);
Tailwind
colors: {
  custom: {
    50: '#7b9a5f',
    500: '#42711e',
    950: '#000000',
  },
}
SCSS
$custom: #42711e;
$custom-light: #7b9a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#42711e",
  "rgb": {
    "r": 66,
    "g": 113,
    "b": 30
  },
  "hsl": {
    "h": 93.976,
    "s": 58.042,
    "l": 28.039
  },
  "oklch": {
    "l": 0.49693,
    "c": 0.12404,
    "h": 134.5
  },
  "luminance": 0.13062
}

Semantic roles & 50–950 ramp

primary
#42711E
secondary
#7C46A5
accent
#47E19E
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #42711E

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

Preview Lab → · Contrast checker → · Palette generator →

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