#595F17#595F17

#595F17 is a mid, moderate yellow. Relative luminance 0.104; OKLCH L 46.6% C 0.093 H 114.2°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#595F17
RGBrgb(89, 95, 23)
HSLhsl(65, 61%, 23%)
HSVhsv(65, 76%, 37%)
CMYKcmyk(6.3%, 0%, 75.8%, 62.7%)
CIE-LABlab(38.50, -12.49, 38.11)
CIE-LCHlch(38.50, 40.10, 108.14°)
OKLaboklab(46.55% -0.038 0.0847)
OKLCHoklch(46.55% 0.093 114.2)
XYZxyz(8.3669, 10.3703, 2.3714)
Luminance0.1037 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595F17 #1D175F
analogous
#5F4117 #595F17 #355F17
triadic
#595F17 #17595F #5F1759
tetradic
#595F17 #175F41 #1D175F #5F1735
square
#595F17 #175F41 #1D175F #5F1735
split-complementary
#595F17 #17355F #41175F
monochromatic
#171906 #2B2E0B #595F17 #879023 #B5C22F

Accessibility & contrast

On white

6.83
#595F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #595F17
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595F17#FFFFFF#000000##FFFFFF
##595F171.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A0A
Deuteranopia (green-blind)
#665B1D
Tritanopia (blue-blind)
#5F5951
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #595f17;
/* rgb */ color: rgb(89, 95, 23);
/* oklch */ color: oklch(46.6% 0.093 114.2);
Tailwind
colors: {
  custom: {
    50: '#8a8c5a',
    500: '#595f17',
    950: '#000000',
  },
}
SCSS
$custom: #595f17;
$custom-light: #8a8c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#595f17",
  "rgb": {
    "r": 89,
    "g": 95,
    "b": 23
  },
  "hsl": {
    "h": 65,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.46553,
    "c": 0.09288,
    "h": 114.2
  },
  "luminance": 0.1037
}

Semantic roles & 50–950 ramp

primary
#595F17
secondary
#443C96
accent
#44E451
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #595F17

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

Preview Lab → · Contrast checker → · Palette generator →

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