#595A12#595A12

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

Color values

HEX#595A12
RGBrgb(89, 90, 18)
HSLhsl(61, 67%, 21%)
HSVhsv(61, 80%, 35%)
CMYKcmyk(1.1%, 0%, 80%, 64.7%)
CIE-LABlab(36.89, -9.91, 38.54)
CIE-LCHlch(36.89, 39.80, 104.42°)
OKLaboklab(45.26% -0.0314 0.0847)
OKLCHoklch(45.26% 0.09 110.3)
XYZxyz(7.8855, 9.4801, 1.9866)
Luminance0.0948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595A12 #13125A
analogous
#5A3712 #595A12 #355A12
triadic
#595A12 #12595A #5A1259
tetradic
#595A12 #125A37 #13125A #5A1235
square
#595A12 #125A37 #13125A #5A1235
split-complementary
#595A12 #12355A #37125A
monochromatic
#191A05 #272708 #595A12 #8B8D1C #BEC026

Accessibility & contrast

On white

7.25
#595A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #595A12
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595A12#FFFFFF#000000##FFFFFF
##595A121.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625603
Deuteranopia (green-blind)
#625818
Tritanopia (blue-blind)
#60544C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #595a12;
/* rgb */ color: rgb(89, 90, 18);
/* oklch */ color: oklch(45.3% 0.090 110.3);
Tailwind
colors: {
  custom: {
    50: '#8b8856',
    500: '#595a12',
    950: '#000000',
  },
}
SCSS
$custom: #595a12;
$custom-light: #8b8856;
$custom-dark: #000000;
JSON
{
  "hex": "#595a12",
  "rgb": {
    "r": 89,
    "g": 90,
    "b": 18
  },
  "hsl": {
    "h": 60.833,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.45257,
    "c": 0.09029,
    "h": 110.3
  },
  "luminance": 0.0948
}

Semantic roles & 50–950 ramp

primary
#595A12
secondary
#373593
accent
#3EEA41
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #595A12

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

Preview Lab → · Contrast checker → · Palette generator →

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