#596312#596312

#596312 is a mid, moderate yellow. Relative luminance 0.111; OKLCH L 47.5% C 0.101 H 116.7°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#596312
RGBrgb(89, 99, 18)
HSLhsl(67, 69%, 23%)
HSVhsv(67, 82%, 39%)
CMYKcmyk(10.1%, 0%, 81.8%, 61.2%)
CIE-LABlab(39.73, -14.97, 41.17)
CIE-LCHlch(39.73, 43.81, 109.99°)
OKLaboklab(47.54% -0.0454 0.0902)
OKLCHoklch(47.54% 0.101 116.7)
XYZxyz(8.6911, 11.0913, 2.2551)
Luminance0.1109 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#596312 #1C1263
analogous
#634412 #596312 #316312
triadic
#596312 #125963 #631259
tetradic
#596312 #126344 #1C1263 #631231
square
#596312 #126344 #1C1263 #631231
split-complementary
#596312 #123163 #441263
monochromatic
#171A05 #2A2F09 #596312 #88971B #B6CB25

Accessibility & contrast

On white

6.53
#596312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#596312 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #596312
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##596312#FFFFFF#000000##FFFFFF
##5963121.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D00
Deuteranopia (green-blind)
#6A5E1A
Tritanopia (blue-blind)
#5F5D54
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #596312;
/* rgb */ color: rgb(89, 99, 18);
/* oklch */ color: oklch(47.5% 0.101 116.7);
Tailwind
colors: {
  custom: {
    50: '#8b8f58',
    500: '#596312',
    950: '#000000',
  },
}
SCSS
$custom: #596312;
$custom-light: #8b8f58;
$custom-dark: #000000;
JSON
{
  "hex": "#596312",
  "rgb": {
    "r": 89,
    "g": 99,
    "b": 18
  },
  "hsl": {
    "h": 67.407,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.47535,
    "c": 0.10101,
    "h": 116.7
  },
  "luminance": 0.11091
}

Semantic roles & 50–950 ramp

primary
#596312
secondary
#42369B
accent
#3CEC52
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #596312

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

Preview Lab → · Contrast checker → · Palette generator →

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