#464812#464812

#464812 is a dark, moderate yellow. Relative luminance 0.060; OKLCH L 38.8% C 0.074 H 111.5°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#464812
RGBrgb(70, 72, 18)
HSLhsl(62, 60%, 18%)
HSVhsv(62, 75%, 28%)
CMYKcmyk(2.8%, 0%, 75%, 71.8%)
CIE-LABlab(29.36, -8.78, 30.64)
CIE-LCHlch(29.36, 31.87, 105.99°)
OKLaboklab(38.8% -0.027 0.0687)
OKLCHoklch(38.8% 0.074 111.5)
XYZxyz(4.9525, 5.9806, 1.4656)
Luminance0.0598 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#464812 #141248
analogous
#482F12 #464812 #2B4812
triadic
#464812 #124648 #481246
tetradic
#464812 #12482F #141248 #48122B
square
#464812 #12482F #141248 #48122B
split-complementary
#464812 #122B48 #2F1248
monochromatic
#181806 #181806 #464812 #76791E #A5AA2A

Accessibility & contrast

On white

9.56
#464812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#464812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #464812
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##464812#FFFFFF#000000##FFFFFF
##4648121.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E440A
Deuteranopia (green-blind)
#4E4616
Tritanopia (blue-blind)
#4B433D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #464812;
/* rgb */ color: rgb(70, 72, 18);
/* oklch */ color: oklch(38.8% 0.074 111.5);
Tailwind
colors: {
  custom: {
    50: '#7b7a54',
    500: '#464812',
    950: '#000000',
  },
}
SCSS
$custom: #464812;
$custom-light: #7b7a54;
$custom-dark: #000000;
JSON
{
  "hex": "#464812",
  "rgb": {
    "r": 70,
    "g": 72,
    "b": 18
  },
  "hsl": {
    "h": 62.222,
    "s": 60,
    "l": 17.647
  },
  "oklch": {
    "l": 0.38804,
    "c": 0.0738,
    "h": 111.5
  },
  "luminance": 0.0598
}

Semantic roles & 50–950 ramp

primary
#464812
secondary
#383581
accent
#45E34B
background
#F7F7F4
surface
#EEEDE7
border
#C9C8C3
text
#0A0903
muted
#7C7B78

Preview Lab

Preview with #464812

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

Preview Lab → · Contrast checker → · Palette generator →

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