#5F5E18#5F5E18

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

Color values

HEX#5F5E18
RGBrgb(95, 94, 24)
HSLhsl(59, 60%, 23%)
HSVhsv(59, 75%, 37%)
CMYKcmyk(0%, 1.1%, 74.7%, 62.7%)
CIE-LABlab(38.73, -8.98, 38.11)
CIE-LCHlch(38.73, 39.15, 103.26°)
OKLaboklab(46.88% -0.0285 0.0847)
OKLCHoklch(46.88% 0.089 108.6)
XYZxyz(8.8872, 10.5045, 2.4234)
Luminance0.1050 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5E18 #18195F
analogous
#5F3A18 #5F5E18 #3C5F18
triadic
#5F5E18 #185F5E #5E185F
tetradic
#5F5E18 #185F3A #18195F #5F183C
square
#5F5E18 #185F3A #18195F #5F183C
split-complementary
#5F5E18 #183C5F #3A185F
monochromatic
#181806 #2E2E0C #5F5E18 #908E24 #C1BF31

Accessibility & contrast

On white

6.77
#5F5E18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#5F5E18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F5E18
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5E18#FFFFFF#000000##FFFFFF
##5F5E181.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A0C
Deuteranopia (green-blind)
#675C1D
Tritanopia (blue-blind)
#665850
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5f5e18;
/* rgb */ color: rgb(95, 94, 24);
/* oklch */ color: oklch(46.9% 0.089 108.6);
Tailwind
colors: {
  custom: {
    50: '#8f8b5a',
    500: '#5f5e18',
    950: '#000000',
  },
}
SCSS
$custom: #5f5e18;
$custom-light: #8f8b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5e18",
  "rgb": {
    "r": 95,
    "g": 94,
    "b": 24
  },
  "hsl": {
    "h": 59.155,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.46875,
    "c": 0.08938,
    "h": 108.6
  },
  "luminance": 0.10504
}

Semantic roles & 50–950 ramp

primary
#5F5E18
secondary
#3D3F95
accent
#47E345
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5F5E18

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

Preview Lab → · Contrast checker → · Palette generator →

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