#595012#595012

#595012 is a dark, moderate yellow. Relative luminance 0.079; OKLCH L 42.8% C 0.080 H 100.7°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#595012
RGBrgb(89, 80, 18)
HSLhsl(52, 66%, 21%)
HSVhsv(52, 80%, 35%)
CMYKcmyk(0%, 10.1%, 79.8%, 65.1%)
CIE-LABlab(33.78, -4.03, 35.61)
CIE-LCHlch(33.78, 35.84, 96.46°)
OKLaboklab(42.78% -0.0149 0.0785)
OKLCHoklch(42.78% 0.08 100.7)
XYZxyz(7.0980, 7.9052, 1.7241)
Luminance0.0790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595012 #121B59
analogous
#592C12 #595012 #3E5912
triadic
#595012 #125950 #501259
tetradic
#595012 #12592C #121B59 #59123E
square
#595012 #12592C #121B59 #59123E
split-complementary
#595012 #123E59 #2C1259
monochromatic
#191705 #262208 #595012 #8C7E1C #BFAC27

Accessibility & contrast

On white

8.14
#595012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#595012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #595012
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595012#FFFFFF#000000##FFFFFF
##5950121.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D07
Deuteranopia (green-blind)
#5B5116
Tritanopia (blue-blind)
#604A44
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #595012;
/* rgb */ color: rgb(89, 80, 18);
/* oklch */ color: oklch(42.8% 0.080 100.7);
Tailwind
colors: {
  custom: {
    50: '#8b8055',
    500: '#595012',
    950: '#000000',
  },
}
SCSS
$custom: #595012;
$custom-light: #8b8055;
$custom-dark: #000000;
JSON
{
  "hex": "#595012",
  "rgb": {
    "r": 89,
    "g": 80,
    "b": 18
  },
  "hsl": {
    "h": 52.394,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.42781,
    "c": 0.07984,
    "h": 100.7
  },
  "luminance": 0.07905
}

Semantic roles & 50–950 ramp

primary
#595012
secondary
#354192
accent
#54E93F
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #595012

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

Preview Lab → · Contrast checker → · Palette generator →

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