#604F12#604F12

#604F12 is a dark, moderate yellow. Relative luminance 0.081; OKLCH L 43.3% C 0.080 H 92.6°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#604F12
RGBrgb(96, 79, 18)
HSLhsl(47, 68%, 22%)
HSVhsv(47, 81%, 38%)
CMYKcmyk(0%, 17.7%, 81.3%, 62.4%)
CIE-LABlab(34.24, 0.08, 36.31)
CIE-LCHlch(34.24, 36.31, 89.87°)
OKLaboklab(43.32% -0.0036 0.0796)
OKLCHoklch(43.32% 0.08 92.6)
XYZxyz(7.7295, 8.1229, 1.7329)
Luminance0.0812 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604F12 #122360
analogous
#602812 #604F12 #4A6012
triadic
#604F12 #12604F #4F1260
tetradic
#604F12 #126028 #122360 #60124A
square
#604F12 #126028 #122360 #60124A
split-complementary
#604F12 #124A60 #281260
monochromatic
#1A1505 #2C2508 #604F12 #94791C #C7A425

Accessibility & contrast

On white

8.00
#604F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#604F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #604F12
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604F12#FFFFFF#000000##FFFFFF
##604F121.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E07
Deuteranopia (green-blind)
#5D5316
Tritanopia (blue-blind)
#684843
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #604f12;
/* rgb */ color: rgb(96, 79, 18);
/* oklch */ color: oklch(43.3% 0.080 92.6);
Tailwind
colors: {
  custom: {
    50: '#908055',
    500: '#604f12',
    950: '#000000',
  },
}
SCSS
$custom: #604f12;
$custom-light: #908055;
$custom-dark: #000000;
JSON
{
  "hex": "#604f12",
  "rgb": {
    "r": 96,
    "g": 79,
    "b": 18
  },
  "hsl": {
    "h": 46.923,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.43317,
    "c": 0.07967,
    "h": 92.6
  },
  "luminance": 0.08122
}

Semantic roles & 50–950 ramp

primary
#604F12
secondary
#364B98
accent
#63EB3D
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #604F12

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

Preview Lab → · Contrast checker → · Palette generator →

#604F12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva