#595E12#595E12

#595E12 is a mid, moderate yellow. Relative luminance 0.102; OKLCH L 46.3% C 0.095 H 113.4°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#595E12
RGBrgb(89, 94, 18)
HSLhsl(64, 68%, 22%)
HSVhsv(64, 81%, 37%)
CMYKcmyk(5.3%, 0%, 80.9%, 63.1%)
CIE-LABlab(38.15, -12.19, 39.71)
CIE-LCHlch(38.15, 41.54, 107.06°)
OKLaboklab(46.26% -0.0377 0.0871)
OKLCHoklch(46.26% 0.095 113.4)
XYZxyz(8.2320, 10.1731, 2.1021)
Luminance0.1017 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595E12 #17125E
analogous
#5E3D12 #595E12 #335E12
triadic
#595E12 #12595E #5E1259
tetradic
#595E12 #125E3D #17125E #5E1233
square
#595E12 #125E3D #17125E #5E1233
split-complementary
#595E12 #12335E #3D125E
monochromatic
#181A05 #282B08 #595E12 #8A911C #BAC526

Accessibility & contrast

On white

6.92
#595E12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#595E12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #595E12
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595E12#FFFFFF#000000##FFFFFF
##595E121.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665902
Deuteranopia (green-blind)
#665B19
Tritanopia (blue-blind)
#605850
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #595e12;
/* rgb */ color: rgb(89, 94, 18);
/* oklch */ color: oklch(46.3% 0.095 113.4);
Tailwind
colors: {
  custom: {
    50: '#8b8b57',
    500: '#595e12',
    950: '#000000',
  },
}
SCSS
$custom: #595e12;
$custom-light: #8b8b57;
$custom-dark: #000000;
JSON
{
  "hex": "#595e12",
  "rgb": {
    "r": 89,
    "g": 94,
    "b": 18
  },
  "hsl": {
    "h": 63.947,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.46264,
    "c": 0.09495,
    "h": 113.4
  },
  "luminance": 0.10173
}

Semantic roles & 50–950 ramp

primary
#595E12
secondary
#3C3596
accent
#3DEB48
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #595E12

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

Preview Lab → · Contrast checker → · Palette generator →

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