#464F17#464F17

#464F17 is a dark, moderate yellow. Relative luminance 0.070; OKLCH L 40.7% C 0.079 H 117.9°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#464F17
RGBrgb(70, 79, 23)
HSLhsl(70, 55%, 20%)
HSVhsv(70, 71%, 31%)
CMYKcmyk(11.4%, 0%, 70.9%, 69%)
CIE-LABlab(31.71, -12.51, 30.70)
CIE-LCHlch(31.71, 33.15, 112.17°)
OKLaboklab(40.7% -0.0368 0.0697)
OKLCHoklch(40.7% 0.079 117.9)
XYZxyz(5.4765, 6.9560, 1.8646)
Luminance0.0696 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#464F17 #20174F
analogous
#4F3C17 #464F17 #2A4F17
triadic
#464F17 #17464F #4F1746
tetradic
#464F17 #174F3C #20174F #4F172A
square
#464F17 #174F3C #20174F #4F172A
split-complementary
#464F17 #172A4F #3C174F
monochromatic
#151807 #1C2009 #464F17 #707E25 #9AAE33

Accessibility & contrast

On white

8.78
#464F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#464F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #464F17
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##464F17#FFFFFF#000000##FFFFFF
##464F171.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A10
Deuteranopia (green-blind)
#544B1B
Tritanopia (blue-blind)
#4A4A43
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #464f17;
/* rgb */ color: rgb(70, 79, 23);
/* oklch */ color: oklch(40.7% 0.079 117.9);
Tailwind
colors: {
  custom: {
    50: '#7b8057',
    500: '#464f17',
    950: '#000000',
  },
}
SCSS
$custom: #464f17;
$custom-light: #7b8057;
$custom-dark: #000000;
JSON
{
  "hex": "#464f17",
  "rgb": {
    "r": 70,
    "g": 79,
    "b": 23
  },
  "hsl": {
    "h": 69.643,
    "s": 54.902,
    "l": 20
  },
  "oklch": {
    "l": 0.40696,
    "c": 0.07885,
    "h": 117.9
  },
  "luminance": 0.06956
}

Semantic roles & 50–950 ramp

primary
#464F17
secondary
#483C86
accent
#4ADE61
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #464F17

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

Preview Lab → · Contrast checker → · Palette generator →

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