#595B12#595B12

#595B12 is a mid, moderate yellow. Relative luminance 0.097; OKLCH L 45.5% C 0.091 H 111.1°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#595B12
RGBrgb(89, 91, 18)
HSLhsl(62, 67%, 21%)
HSVhsv(62, 80%, 36%)
CMYKcmyk(2.2%, 0%, 80.2%, 64.3%)
CIE-LABlab(37.21, -10.49, 38.83)
CIE-LCHlch(37.21, 40.23, 105.11°)
OKLaboklab(45.51% -0.033 0.0853)
OKLCHoklch(45.51% 0.091 111.1)
XYZxyz(7.9704, 9.6499, 2.0149)
Luminance0.0965 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595B12 #14125B
analogous
#5B3912 #595B12 #355B12
triadic
#595B12 #12595B #5B1259
tetradic
#595B12 #125B39 #14125B #5B1235
square
#595B12 #125B39 #14125B #5B1235
split-complementary
#595B12 #12355B #39125B
monochromatic
#191A05 #272808 #595B12 #8B8E1C #BDC126

Accessibility & contrast

On white

7.17
#595B12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#595B12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #595B12
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595B12#FFFFFF#000000##FFFFFF
##595B121.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635703
Deuteranopia (green-blind)
#635818
Tritanopia (blue-blind)
#60554D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #595b12;
/* rgb */ color: rgb(89, 91, 18);
/* oklch */ color: oklch(45.5% 0.091 111.1);
Tailwind
colors: {
  custom: {
    50: '#8b8957',
    500: '#595b12',
    950: '#000000',
  },
}
SCSS
$custom: #595b12;
$custom-light: #8b8957;
$custom-dark: #000000;
JSON
{
  "hex": "#595b12",
  "rgb": {
    "r": 89,
    "g": 91,
    "b": 18
  },
  "hsl": {
    "h": 61.644,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.45508,
    "c": 0.09143,
    "h": 111.1
  },
  "luminance": 0.0965
}

Semantic roles & 50–950 ramp

primary
#595B12
secondary
#383593
accent
#3EEA43
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #595B12

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

Preview Lab → · Contrast checker → · Palette generator →

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