#5D5F0F#5D5F0F

#5D5F0F is a mid, moderate yellow. Relative luminance 0.105; OKLCH L 46.9% C 0.097 H 111.1°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#5D5F0F
RGBrgb(93, 95, 15)
HSLhsl(62, 73%, 22%)
HSVhsv(62, 84%, 37%)
CMYKcmyk(2.1%, 0%, 84.2%, 62.7%)
CIE-LABlab(38.81, -10.96, 41.46)
CIE-LCHlch(38.81, 42.89, 104.80°)
OKLaboklab(46.87% -0.0348 0.0901)
OKLCHoklch(46.87% 0.097 111.1)
XYZxyz(8.6929, 10.5463, 2.0296)
Luminance0.1055 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5F0F #110F5F
analogous
#5F390F #5D5F0F #355F0F
triadic
#5D5F0F #0F5D5F #5F0F5D
tetradic
#5D5F0F #0F5F39 #110F5F #5F0F35
square
#5D5F0F #0F5F39 #110F5F #5F0F35
split-complementary
#5D5F0F #0F355F #390F5F
monochromatic
#1A1A04 #292A07 #5D5F0F #919417 #C4C920

Accessibility & contrast

On white

6.75
#5D5F0F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#5D5F0F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5F0F
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5F0F#FFFFFF#000000##FFFFFF
##5D5F0F1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A00
Deuteranopia (green-blind)
#685C16
Tritanopia (blue-blind)
#645850
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5d5f0f;
/* rgb */ color: rgb(93, 95, 15);
/* oklch */ color: oklch(46.9% 0.097 111.1);
Tailwind
colors: {
  custom: {
    50: '#8e8c56',
    500: '#5d5f0f',
    950: '#000000',
  },
}
SCSS
$custom: #5d5f0f;
$custom-light: #8e8c56;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5f0f",
  "rgb": {
    "r": 93,
    "g": 95,
    "b": 15
  },
  "hsl": {
    "h": 61.5,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.46871,
    "c": 0.09658,
    "h": 111.1
  },
  "luminance": 0.10546
}

Semantic roles & 50–950 ramp

primary
#5D5F0F
secondary
#343298
accent
#38EF3D
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C03
muted
#7E7D78

Preview Lab

Preview with #5D5F0F

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

Preview Lab → · Contrast checker → · Palette generator →

#5D5F0F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva