#595F12#595F12

#595F12 is a mid, moderate yellow. Relative luminance 0.104; OKLCH L 46.5% C 0.096 H 114.1°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#595F12
RGBrgb(89, 95, 18)
HSLhsl(65, 68%, 22%)
HSVhsv(65, 81%, 37%)
CMYKcmyk(6.3%, 0%, 81.1%, 62.7%)
CIE-LABlab(38.47, -12.75, 40.00)
CIE-LCHlch(38.47, 41.99, 107.68°)
OKLaboklab(46.52% -0.0393 0.0878)
OKLCHoklch(46.52% 0.096 114.1)
XYZxyz(8.3215, 10.3521, 2.1319)
Luminance0.1035 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595F12 #18125F
analogous
#5F3F12 #595F12 #335F12
triadic
#595F12 #12595F #5F1259
tetradic
#595F12 #125F3F #18125F #5F1233
square
#595F12 #125F3F #18125F #5F1233
split-complementary
#595F12 #12335F #3F125F
monochromatic
#181A05 #292C08 #595F12 #89921C #B9C625

Accessibility & contrast

On white

6.84
#595F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#595F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #595F12
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595F12#FFFFFF#000000##FFFFFF
##595F121.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A02
Deuteranopia (green-blind)
#665B19
Tritanopia (blue-blind)
#5F5951
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #595f12;
/* rgb */ color: rgb(89, 95, 18);
/* oklch */ color: oklch(46.5% 0.096 114.1);
Tailwind
colors: {
  custom: {
    50: '#8b8c57',
    500: '#595f12',
    950: '#000000',
  },
}
SCSS
$custom: #595f12;
$custom-light: #8b8c57;
$custom-dark: #000000;
JSON
{
  "hex": "#595f12",
  "rgb": {
    "r": 89,
    "g": 95,
    "b": 18
  },
  "hsl": {
    "h": 64.675,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.46518,
    "c": 0.09614,
    "h": 114.1
  },
  "luminance": 0.10352
}

Semantic roles & 50–950 ramp

primary
#595F12
secondary
#3D3697
accent
#3DEB4A
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #595F12

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

Preview Lab → · Contrast checker → · Palette generator →

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