#596227#596227

#596227 is a mid, moderate yellow. Relative luminance 0.110; OKLCH L 47.5% C 0.083 H 116.9°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#596227
RGBrgb(89, 98, 39)
HSLhsl(69, 43%, 27%)
HSVhsv(69, 60%, 38%)
CMYKcmyk(9.2%, 0%, 60.2%, 61.6%)
CIE-LABlab(39.59, -12.96, 31.79)
CIE-LCHlch(39.59, 34.33, 112.17°)
OKLaboklab(47.48% -0.0375 0.0739)
OKLCHoklch(47.48% 0.083 116.9)
XYZxyz(8.8539, 11.0058, 3.5770)
Luminance0.1101 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#596227 #302762
analogous
#624E27 #596227 #3C6227
triadic
#596227 #275962 #622759
tetradic
#596227 #27624E #302762 #62273C
square
#596227 #27624E #302762 #62273C
split-complementary
#596227 #273C62 #4E2762
monochromatic
#141609 #313616 #596227 #818E38 #A7B84C

Accessibility & contrast

On white

6.56
#596227 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#596227 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #596227
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##596227#FFFFFF#000000##FFFFFF
##5962271.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685D21
Deuteranopia (green-blind)
#685E2B
Tritanopia (blue-blind)
#5E5D55
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #596227;
/* rgb */ color: rgb(89, 98, 39);
/* oklch */ color: oklch(47.5% 0.083 116.9);
Tailwind
colors: {
  custom: {
    50: '#898e63',
    500: '#596227',
    950: '#000000',
  },
}
SCSS
$custom: #596227;
$custom-light: #898e63;
$custom-dark: #000000;
JSON
{
  "hex": "#596227",
  "rgb": {
    "r": 89,
    "g": 98,
    "b": 39
  },
  "hsl": {
    "h": 69.153,
    "s": 43.066,
    "l": 26.863
  },
  "oklch": {
    "l": 0.47475,
    "c": 0.08292,
    "h": 116.9
  },
  "luminance": 0.11006
}

Semantic roles & 50–950 ramp

primary
#596227
secondary
#5A5095
accent
#55D368
background
#F8F8F6
surface
#F0F0EB
border
#CBCBC6
text
#0C0C05
muted
#7D7D7A

Preview Lab

Preview with #596227

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

Preview Lab → · Contrast checker → · Palette generator →

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