#595118#595118

#595118 is a dark, moderate yellow. Relative luminance 0.081; OKLCH L 43.1% C 0.076 H 101.2°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#595118
RGBrgb(89, 81, 24)
HSLhsl(53, 58%, 22%)
HSVhsv(53, 73%, 35%)
CMYKcmyk(0%, 9%, 73%, 65.1%)
CIE-LABlab(34.14, -4.29, 33.31)
CIE-LCHlch(34.14, 33.58, 97.33°)
OKLaboklab(43.08% -0.0148 0.0748)
OKLCHoklch(43.08% 0.076 101.2)
XYZxyz(7.2274, 8.0750, 2.0419)
Luminance0.0808 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595118 #182059
analogous
#593018 #595118 #415918
triadic
#595118 #185951 #511859
tetradic
#595118 #185930 #182059 #591841
square
#595118 #185930 #182059 #591841
split-complementary
#595118 #184159 #301859
monochromatic
#181606 #29250B #595118 #897D25 #B9A932

Accessibility & contrast

On white

8.03
#595118 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#595118 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #595118
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595118#FFFFFF#000000##FFFFFF
##5951181.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E10
Deuteranopia (green-blind)
#5B521B
Tritanopia (blue-blind)
#604B45
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #595118;
/* rgb */ color: rgb(89, 81, 24);
/* oklch */ color: oklch(43.1% 0.076 101.2);
Tailwind
colors: {
  custom: {
    50: '#8a8158',
    500: '#595118',
    950: '#000000',
  },
}
SCSS
$custom: #595118;
$custom-light: #8a8158;
$custom-dark: #000000;
JSON
{
  "hex": "#595118",
  "rgb": {
    "r": 89,
    "g": 81,
    "b": 24
  },
  "hsl": {
    "h": 52.615,
    "s": 57.522,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43077,
    "c": 0.07627,
    "h": 101.2
  },
  "luminance": 0.08075
}

Semantic roles & 50–950 ramp

primary
#595118
secondary
#3D4790
accent
#5AE147
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #595118

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

Preview Lab → · Contrast checker → · Palette generator →

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