#596228#596228

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

Color values

HEX#596228
RGBrgb(89, 98, 40)
HSLhsl(69, 42%, 27%)
HSVhsv(69, 59%, 38%)
CMYKcmyk(9.2%, 0%, 59.2%, 61.6%)
CIE-LABlab(39.60, -12.86, 31.29)
CIE-LCHlch(39.60, 33.83, 112.35°)
OKLaboklab(47.49% -0.0372 0.073)
OKLCHoklch(47.49% 0.082 117)
XYZxyz(8.8706, 11.0125, 3.6654)
Luminance0.1101 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#596228 #312862
analogous
#624E28 #596228 #3C6228
triadic
#596228 #285962 #622859
tetradic
#596228 #28624E #312862 #62283C
square
#596228 #28624E #312862 #62283C
split-complementary
#596228 #283C62 #4E2862
monochromatic
#141609 #323716 #596228 #808D3A #A6B74E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##596228#FFFFFF#000000##FFFFFF
##5962281.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)
#685D22
Deuteranopia (green-blind)
#675E2B
Tritanopia (blue-blind)
#5E5D55
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #596228;
/* rgb */ color: rgb(89, 98, 40);
/* oklch */ color: oklch(47.5% 0.082 117.0);
Tailwind
colors: {
  custom: {
    50: '#898e64',
    500: '#596228',
    950: '#000000',
  },
}
SCSS
$custom: #596228;
$custom-light: #898e64;
$custom-dark: #000000;
JSON
{
  "hex": "#596228",
  "rgb": {
    "r": 89,
    "g": 98,
    "b": 40
  },
  "hsl": {
    "h": 69.31,
    "s": 42.029,
    "l": 27.059
  },
  "oklch": {
    "l": 0.47487,
    "c": 0.0819,
    "h": 117
  },
  "luminance": 0.11012
}

Semantic roles & 50–950 ramp

primary
#596228
secondary
#5C5195
accent
#56D269
background
#F8F8F6
surface
#F0F0EB
border
#CBCBC6
text
#0C0C05
muted
#7D7D7A

Preview Lab

Preview with #596228

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

Preview Lab → · Contrast checker → · Palette generator →

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