#595A18#595A18

#595A18 is a mid, moderate yellow. Relative luminance 0.095; OKLCH L 45.3% C 0.086 H 110.2°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#595A18
RGBrgb(89, 90, 24)
HSLhsl(61, 58%, 22%)
HSVhsv(61, 73%, 35%)
CMYKcmyk(1.1%, 0%, 73.3%, 64.7%)
CIE-LABlab(36.93, -9.58, 36.14)
CIE-LCHlch(36.93, 37.39, 104.85°)
OKLaboklab(45.3% -0.0298 0.0808)
OKLCHoklch(45.3% 0.086 110.2)
XYZxyz(7.9411, 9.5023, 2.2798)
Luminance0.0950 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595A18 #19185A
analogous
#5A3A18 #595A18 #385A18
triadic
#595A18 #18595A #5A1859
tetradic
#595A18 #185A3A #19185A #5A1838
square
#595A18 #185A3A #19185A #5A1838
split-complementary
#595A18 #18385A #3A185A
monochromatic
#181806 #292A0B #595A18 #898A25 #B9BB32

Accessibility & contrast

On white

7.24
#595A18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#595A18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #595A18
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595A18#FFFFFF#000000##FFFFFF
##595A181.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62560E
Deuteranopia (green-blind)
#62581D
Tritanopia (blue-blind)
#60544D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #595a18;
/* rgb */ color: rgb(89, 90, 24);
/* oklch */ color: oklch(45.3% 0.086 110.2);
Tailwind
colors: {
  custom: {
    50: '#8a885a',
    500: '#595a18',
    950: '#000000',
  },
}
SCSS
$custom: #595a18;
$custom-light: #8a885a;
$custom-dark: #000000;
JSON
{
  "hex": "#595a18",
  "rgb": {
    "r": 89,
    "g": 90,
    "b": 24
  },
  "hsl": {
    "h": 60.909,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.45303,
    "c": 0.08611,
    "h": 110.2
  },
  "luminance": 0.09502
}

Semantic roles & 50–950 ramp

primary
#595A18
secondary
#3E3D91
accent
#47E149
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #595A18

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

Preview Lab → · Contrast checker → · Palette generator →

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