#464712#464712

#464712 is a dark, moderate yellow. Relative luminance 0.059; OKLCH L 38.5% C 0.073 H 110.4°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#464712
RGBrgb(70, 71, 18)
HSLhsl(61, 60%, 17%)
HSVhsv(61, 75%, 28%)
CMYKcmyk(1.4%, 0%, 74.6%, 72.2%)
CIE-LABlab(29.04, -8.18, 30.31)
CIE-LCHlch(29.04, 31.39, 105.11°)
OKLaboklab(38.54% -0.0253 0.068)
OKLCHoklch(38.54% 0.073 110.4)
XYZxyz(4.8884, 5.8524, 1.4443)
Luminance0.0585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#464712 #131247
analogous
#472D12 #464712 #2C4712
triadic
#464712 #124647 #471246
tetradic
#464712 #12472D #131247 #47122C
square
#464712 #12472D #131247 #47122C
split-complementary
#464712 #122C47 #2D1247
monochromatic
#181806 #181806 #464712 #76781E #A6A92B

Accessibility & contrast

On white

9.68
#464712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#464712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #464712
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##464712#FFFFFF#000000##FFFFFF
##4647121.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D440A
Deuteranopia (green-blind)
#4E4516
Tritanopia (blue-blind)
#4B423C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #464712;
/* rgb */ color: rgb(70, 71, 18);
/* oklch */ color: oklch(38.5% 0.073 110.4);
Tailwind
colors: {
  custom: {
    50: '#7b7a53',
    500: '#464712',
    950: '#000000',
  },
}
SCSS
$custom: #464712;
$custom-light: #7b7a53;
$custom-dark: #000000;
JSON
{
  "hex": "#464712",
  "rgb": {
    "r": 70,
    "g": 71,
    "b": 18
  },
  "hsl": {
    "h": 61.132,
    "s": 59.551,
    "l": 17.451
  },
  "oklch": {
    "l": 0.38543,
    "c": 0.07255,
    "h": 110.4
  },
  "luminance": 0.05852
}

Semantic roles & 50–950 ramp

primary
#464712
secondary
#363580
accent
#45E348
background
#F7F7F4
surface
#EEEDE7
border
#C9C8C3
text
#0A0903
muted
#7C7B78

Preview Lab

Preview with #464712

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

Preview Lab → · Contrast checker → · Palette generator →

#464712 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva