#595218#595218

#595218 is a dark, moderate yellow. Relative luminance 0.082; OKLCH L 43.3% C 0.077 H 102.4°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#595218
RGBrgb(89, 82, 24)
HSLhsl(54, 58%, 22%)
HSVhsv(54, 73%, 35%)
CMYKcmyk(0%, 7.9%, 73%, 65.1%)
CIE-LABlab(34.45, -4.88, 33.62)
CIE-LCHlch(34.45, 33.98, 98.26°)
OKLaboklab(43.32% -0.0165 0.0755)
OKLCHoklch(43.32% 0.077 102.4)
XYZxyz(7.3023, 8.2247, 2.0669)
Luminance0.0822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595218 #181F59
analogous
#593118 #595218 #405918
triadic
#595218 #185952 #521859
tetradic
#595218 #185931 #181F59 #591840
square
#595218 #185931 #181F59 #591840
split-complementary
#595218 #184059 #311859
monochromatic
#181606 #29260B #595218 #897E25 #B9AB32

Accessibility & contrast

On white

7.94
#595218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#595218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #595218
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595218#FFFFFF#000000##FFFFFF
##5952181.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F10
Deuteranopia (green-blind)
#5C521C
Tritanopia (blue-blind)
#604C46
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #595218;
/* rgb */ color: rgb(89, 82, 24);
/* oklch */ color: oklch(43.3% 0.077 102.4);
Tailwind
colors: {
  custom: {
    50: '#8a8259',
    500: '#595218',
    950: '#000000',
  },
}
SCSS
$custom: #595218;
$custom-light: #8a8259;
$custom-dark: #000000;
JSON
{
  "hex": "#595218",
  "rgb": {
    "r": 89,
    "g": 82,
    "b": 24
  },
  "hsl": {
    "h": 53.538,
    "s": 57.522,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43321,
    "c": 0.07727,
    "h": 102.4
  },
  "luminance": 0.08224
}

Semantic roles & 50–950 ramp

primary
#595218
secondary
#3D4690
accent
#58E147
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #595218

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

Preview Lab → · Contrast checker → · Palette generator →

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