#424F17#424F17

#424F17 is a dark, moderate yellow-green. Relative luminance 0.068; OKLCH L 40.3% C 0.081 H 121.3°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#424F17
RGBrgb(66, 79, 23)
HSLhsl(74, 55%, 20%)
HSVhsv(74, 71%, 31%)
CMYKcmyk(16.5%, 0%, 70.9%, 69%)
CIE-LABlab(31.38, -14.42, 30.25)
CIE-LCHlch(31.38, 33.51, 115.49°)
OKLaboklab(40.35% -0.0419 0.0689)
OKLCHoklch(40.35% 0.081 121.3)
XYZxyz(5.1975, 6.8121, 1.8515)
Luminance0.0681 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#424F17 #24174F
analogous
#4F4017 #424F17 #264F17
triadic
#424F17 #17424F #4F1742
tetradic
#424F17 #174F40 #24174F #4F1726
square
#424F17 #174F40 #24174F #4F1726
split-complementary
#424F17 #17264F #40174F
monochromatic
#141807 #1A2009 #424F17 #6A7E25 #91AE33

Accessibility & contrast

On white

8.89
#424F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#424F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #424F17
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##424F17#FFFFFF#000000##FFFFFF
##424F171.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A10
Deuteranopia (green-blind)
#524A1B
Tritanopia (blue-blind)
#464B43
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #424f17;
/* rgb */ color: rgb(66, 79, 23);
/* oklch */ color: oklch(40.3% 0.081 121.3);
Tailwind
colors: {
  custom: {
    50: '#788057',
    500: '#424f17',
    950: '#000000',
  },
}
SCSS
$custom: #424f17;
$custom-light: #788057;
$custom-dark: #000000;
JSON
{
  "hex": "#424f17",
  "rgb": {
    "r": 66,
    "g": 79,
    "b": 23
  },
  "hsl": {
    "h": 73.929,
    "s": 54.902,
    "l": 20
  },
  "oklch": {
    "l": 0.40346,
    "c": 0.08061,
    "h": 121.3
  },
  "luminance": 0.06812
}

Semantic roles & 50–950 ramp

primary
#424F17
secondary
#4D3C86
accent
#4ADE6C
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #424F17

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

Preview Lab → · Contrast checker → · Palette generator →

#424F17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva