#464212#464212

#464212 is a dark, moderate yellow. Relative luminance 0.052; OKLCH L 37.3% C 0.067 H 104.5°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#464212
RGBrgb(70, 66, 18)
HSLhsl(55, 59%, 17%)
HSVhsv(55, 74%, 27%)
CMYKcmyk(0%, 5.7%, 74.3%, 72.5%)
CIE-LABlab(27.41, -5.14, 28.65)
CIE-LCHlch(27.41, 29.10, 100.17°)
OKLaboklab(37.25% -0.0167 0.0645)
OKLCHoklch(37.25% 0.067 104.5)
XYZxyz(4.5834, 5.2424, 1.3426)
Luminance0.0524 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#464212 #121646
analogous
#462812 #464212 #304612
triadic
#464212 #124642 #421246
tetradic
#464212 #124628 #121646 #461230
square
#464212 #124628 #121646 #461230
split-complementary
#464212 #123046 #281246
monochromatic
#181706 #181706 #464212 #77701F #A79E2B

Accessibility & contrast

On white

10.25
#464212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#464212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #464212
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##464212#FFFFFF#000000##FFFFFF
##4642121.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F0B
Deuteranopia (green-blind)
#4A4215
Tritanopia (blue-blind)
#4C3D38
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #464212;
/* rgb */ color: rgb(70, 66, 18);
/* oklch */ color: oklch(37.3% 0.067 104.5);
Tailwind
colors: {
  custom: {
    50: '#7b7653',
    500: '#464212',
    950: '#000000',
  },
}
SCSS
$custom: #464212;
$custom-light: #7b7653;
$custom-dark: #000000;
JSON
{
  "hex": "#464212",
  "rgb": {
    "r": 70,
    "g": 66,
    "b": 18
  },
  "hsl": {
    "h": 55.385,
    "s": 59.091,
    "l": 17.255
  },
  "oklch": {
    "l": 0.3725,
    "c": 0.06662,
    "h": 104.5
  },
  "luminance": 0.05242
}

Semantic roles & 50–950 ramp

primary
#464212
secondary
#353A7F
accent
#52E246
background
#F7F7F4
surface
#EEEDE7
border
#C9C8C3
text
#0A0802
muted
#7C7B78

Preview Lab

Preview with #464212

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

Preview Lab → · Contrast checker → · Palette generator →

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