#595C12#595C12

#595C12 is a mid, moderate yellow. Relative luminance 0.098; OKLCH L 45.8% C 0.093 H 111.9°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#595C12
RGBrgb(89, 92, 18)
HSLhsl(62, 67%, 22%)
HSVhsv(62, 80%, 36%)
CMYKcmyk(3.3%, 0%, 80.4%, 63.9%)
CIE-LABlab(37.52, -11.06, 39.13)
CIE-LCHlch(37.52, 40.66, 105.78°)
OKLaboklab(45.76% -0.0346 0.0859)
OKLCHoklch(45.76% 0.093 111.9)
XYZxyz(8.0564, 9.8220, 2.0436)
Luminance0.0982 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595C12 #15125C
analogous
#5C3A12 #595C12 #345C12
triadic
#595C12 #12595C #5C1259
tetradic
#595C12 #125C3A #15125C #5C1234
square
#595C12 #125C3A #15125C #5C1234
split-complementary
#595C12 #12345C #3A125C
monochromatic
#191A05 #272908 #595C12 #8B8F1C #BCC226

Accessibility & contrast

On white

7.08
#595C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#595C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #595C12
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595C12#FFFFFF#000000##FFFFFF
##595C121.007.082.967.08
#FFFFFF7.081.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645703
Deuteranopia (green-blind)
#645918
Tritanopia (blue-blind)
#60564E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #595c12;
/* rgb */ color: rgb(89, 92, 18);
/* oklch */ color: oklch(45.8% 0.093 111.9);
Tailwind
colors: {
  custom: {
    50: '#8b8a57',
    500: '#595c12',
    950: '#000000',
  },
}
SCSS
$custom: #595c12;
$custom-light: #8b8a57;
$custom-dark: #000000;
JSON
{
  "hex": "#595c12",
  "rgb": {
    "r": 89,
    "g": 92,
    "b": 18
  },
  "hsl": {
    "h": 62.432,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.4576,
    "c": 0.09259,
    "h": 111.9
  },
  "luminance": 0.09822
}

Semantic roles & 50–950 ramp

primary
#595C12
secondary
#393594
accent
#3EEA45
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #595C12

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

Preview Lab → · Contrast checker → · Palette generator →

#595C12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva