#595F1F#595F1F

#595F1F is a mid, moderate yellow. Relative luminance 0.104; OKLCH L 46.6% C 0.087 H 114.3°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#595F1F
RGBrgb(89, 95, 31)
HSLhsl(66, 51%, 25%)
HSVhsv(66, 67%, 37%)
CMYKcmyk(6.3%, 0%, 67.4%, 62.7%)
CIE-LABlab(38.56, -11.95, 34.63)
CIE-LCHlch(38.56, 36.63, 109.04°)
OKLaboklab(46.63% -0.0356 0.0788)
OKLCHoklch(46.63% 0.087 114.3)
XYZxyz(8.4596, 10.4073, 2.8592)
Luminance0.1041 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595F1F #251F5F
analogous
#5F451F #595F1F #395F1F
triadic
#595F1F #1F595F #5F1F59
tetradic
#595F1F #1F5F45 #251F5F #5F1F39
square
#595F1F #1F5F45 #251F5F #5F1F39
split-complementary
#595F1F #1F395F #451F5F
monochromatic
#161708 #2E3110 #595F1F #848D2E #AFBB3D

Accessibility & contrast

On white

6.82
#595F1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#595F1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #595F1F
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595F1F#FFFFFF#000000##FFFFFF
##595F1F1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A17
Deuteranopia (green-blind)
#665B23
Tritanopia (blue-blind)
#5F5952
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #595f1f;
/* rgb */ color: rgb(89, 95, 31);
/* oklch */ color: oklch(46.6% 0.087 114.3);
Tailwind
colors: {
  custom: {
    50: '#8a8c5e',
    500: '#595f1f',
    950: '#000000',
  },
}
SCSS
$custom: #595f1f;
$custom-light: #8a8c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#595f1f",
  "rgb": {
    "r": 89,
    "g": 95,
    "b": 31
  },
  "hsl": {
    "h": 65.625,
    "s": 50.794,
    "l": 24.706
  },
  "oklch": {
    "l": 0.46626,
    "c": 0.08651,
    "h": 114.3
  },
  "luminance": 0.10407
}

Semantic roles & 50–950 ramp

primary
#595F1F
secondary
#4D4694
accent
#4EDA5B
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #595F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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