#604D12#604D12

#604D12 is a dark, moderate yellow. Relative luminance 0.078; OKLCH L 42.8% C 0.078 H 90.1°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#604D12
RGBrgb(96, 77, 18)
HSLhsl(45, 68%, 22%)
HSVhsv(45, 81%, 38%)
CMYKcmyk(0%, 19.8%, 81.3%, 62.4%)
CIE-LABlab(33.64, 1.30, 35.75)
CIE-LCHlch(33.64, 35.77, 87.91°)
OKLaboklab(42.85% -0.0001 0.0784)
OKLCHoklch(42.85% 0.078 90.1)
XYZxyz(7.5874, 7.8387, 1.6855)
Luminance0.0784 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604D12 #122560
analogous
#602612 #604D12 #4C6012
triadic
#604D12 #12604D #4D1260
tetradic
#604D12 #126026 #122560 #60124C
square
#604D12 #126026 #122560 #60124C
split-complementary
#604D12 #124C60 #261260
monochromatic
#1A1505 #2C2408 #604D12 #94761C #C7A025

Accessibility & contrast

On white

8.18
#604D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#604D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #604D12
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604D12#FFFFFF#000000##FFFFFF
##604D121.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C08
Deuteranopia (green-blind)
#5B5115
Tritanopia (blue-blind)
#694642
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #604d12;
/* rgb */ color: rgb(96, 77, 18);
/* oklch */ color: oklch(42.8% 0.078 90.1);
Tailwind
colors: {
  custom: {
    50: '#907e55',
    500: '#604d12',
    950: '#000000',
  },
}
SCSS
$custom: #604d12;
$custom-light: #907e55;
$custom-dark: #000000;
JSON
{
  "hex": "#604d12",
  "rgb": {
    "r": 96,
    "g": 77,
    "b": 18
  },
  "hsl": {
    "h": 45.385,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42849,
    "c": 0.0784,
    "h": 90.1
  },
  "luminance": 0.07838
}

Semantic roles & 50–950 ramp

primary
#604D12
secondary
#364E98
accent
#67EB3D
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0903
muted
#7E7B78

Preview Lab

Preview with #604D12

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

Preview Lab → · Contrast checker → · Palette generator →

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