#595018#595018

#595018 is a dark, moderate yellow. Relative luminance 0.079; OKLCH L 42.8% C 0.075 H 100.0°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#595018
RGBrgb(89, 80, 24)
HSLhsl(52, 58%, 22%)
HSVhsv(52, 73%, 35%)
CMYKcmyk(0%, 10.1%, 73%, 65.1%)
CIE-LABlab(33.83, -3.68, 32.99)
CIE-LCHlch(33.83, 33.20, 96.37°)
OKLaboklab(42.83% -0.0131 0.0741)
OKLCHoklch(42.83% 0.075 100)
XYZxyz(7.1537, 7.9274, 2.0173)
Luminance0.0793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595018 #182159
analogous
#592F18 #595018 #425918
triadic
#595018 #185950 #501859
tetradic
#595018 #18592F #182159 #591842
square
#595018 #18592F #182159 #591842
split-complementary
#595018 #184259 #2F1859
monochromatic
#181606 #29250B #595018 #897B25 #B9A732

Accessibility & contrast

On white

8.12
#595018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#595018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #595018
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595018#FFFFFF#000000##FFFFFF
##5950181.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E10
Deuteranopia (green-blind)
#5B511B
Tritanopia (blue-blind)
#604A45
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #595018;
/* rgb */ color: rgb(89, 80, 24);
/* oklch */ color: oklch(42.8% 0.075 100.0);
Tailwind
colors: {
  custom: {
    50: '#8a8058',
    500: '#595018',
    950: '#000000',
  },
}
SCSS
$custom: #595018;
$custom-light: #8a8058;
$custom-dark: #000000;
JSON
{
  "hex": "#595018",
  "rgb": {
    "r": 89,
    "g": 80,
    "b": 24
  },
  "hsl": {
    "h": 51.692,
    "s": 57.522,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42833,
    "c": 0.07531,
    "h": 100
  },
  "luminance": 0.07927
}

Semantic roles & 50–950 ramp

primary
#595018
secondary
#3D4990
accent
#5CE147
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #595018

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

Preview Lab → · Contrast checker → · Palette generator →

#595018 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva