#595B2F#595B2F

#595B2F is a mid, moderate yellow. Relative luminance 0.098; OKLCH L 45.8% C 0.064 H 111.0°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#595B2F
RGBrgb(89, 91, 47)
HSLhsl(63, 32%, 27%)
HSVhsv(63, 48%, 36%)
CMYKcmyk(2.2%, 0%, 48.4%, 64.3%)
CIE-LABlab(37.50, -8.12, 24.98)
CIE-LCHlch(37.50, 26.27, 108.01°)
OKLaboklab(45.84% -0.023 0.0599)
OKLCHoklch(45.84% 0.064 111)
XYZxyz(8.3741, 9.8114, 4.1414)
Luminance0.0981 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595B2F #312F5B
analogous
#5B472F #595B2F #435B2F
triadic
#595B2F #2F595B #5B2F59
tetradic
#595B2F #2F5B47 #312F5B #5B2F43
square
#595B2F #2F5B47 #312F5B #5B2F43
split-complementary
#595B2F #2F435B #472F5B
monochromatic
#14140A #32331A #595B2F #808344 #A6AA5A

Accessibility & contrast

On white

7.09
#595B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#595B2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #595B2F
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595B2F#FFFFFF#000000##FFFFFF
##595B2F1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61582B
Deuteranopia (green-blind)
#615931
Tritanopia (blue-blind)
#5E5651
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #595b2f;
/* rgb */ color: rgb(89, 91, 47);
/* oklch */ color: oklch(45.8% 0.064 111.0);
Tailwind
colors: {
  custom: {
    50: '#898968',
    500: '#595b2f',
    950: '#000000',
  },
}
SCSS
$custom: #595b2f;
$custom-light: #898968;
$custom-dark: #000000;
JSON
{
  "hex": "#595b2f",
  "rgb": {
    "r": 89,
    "g": 91,
    "b": 47
  },
  "hsl": {
    "h": 62.727,
    "s": 31.884,
    "l": 27.059
  },
  "oklch": {
    "l": 0.45839,
    "c": 0.06418,
    "h": 111
  },
  "luminance": 0.09811
}

Semantic roles & 50–950 ramp

primary
#595B2F
secondary
#5C598D
accent
#60C864
background
#F8F8F6
surface
#F0F0EB
border
#CBCBC6
text
#0B0B06
muted
#7C7C7A

Preview Lab

Preview with #595B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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