#605212#605212

#605212 is a dark, moderate yellow. Relative luminance 0.086; OKLCH L 44.0% C 0.082 H 96.2°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#605212
RGBrgb(96, 82, 18)
HSLhsl(49, 68%, 22%)
HSVhsv(49, 81%, 38%)
CMYKcmyk(0%, 14.6%, 81.3%, 62.4%)
CIE-LABlab(35.13, -1.73, 37.15)
CIE-LCHlch(35.13, 37.19, 92.67°)
OKLaboklab(44.03% -0.0088 0.0814)
OKLCHoklch(44.03% 0.082 96.2)
XYZxyz(7.9508, 8.5655, 1.8067)
Luminance0.0857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#605212 #122060
analogous
#602B12 #605212 #476012
triadic
#605212 #126052 #521260
tetradic
#605212 #12602B #122060 #601247
square
#605212 #12602B #122060 #601247
split-complementary
#605212 #124760 #2B1260
monochromatic
#1A1605 #2C2608 #605212 #947E1C #C7AA25

Accessibility & contrast

On white

7.74
#605212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#605212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #605212
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##605212#FFFFFF#000000##FFFFFF
##6052121.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5006
Deuteranopia (green-blind)
#5F5516
Tritanopia (blue-blind)
#684B46
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #605212;
/* rgb */ color: rgb(96, 82, 18);
/* oklch */ color: oklch(44.0% 0.082 96.2);
Tailwind
colors: {
  custom: {
    50: '#908255',
    500: '#605212',
    950: '#000000',
  },
}
SCSS
$custom: #605212;
$custom-light: #908255;
$custom-dark: #000000;
JSON
{
  "hex": "#605212",
  "rgb": {
    "r": 96,
    "g": 82,
    "b": 18
  },
  "hsl": {
    "h": 49.231,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.44025,
    "c": 0.08185,
    "h": 96.2
  },
  "luminance": 0.08565
}

Semantic roles & 50–950 ramp

primary
#605212
secondary
#364798
accent
#5CEB3D
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #605212

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

Preview Lab → · Contrast checker → · Palette generator →

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