#5F5518#5F5518

#5F5518 is a dark, moderate yellow. Relative luminance 0.090; OKLCH L 44.7% C 0.080 H 99.8°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#5F5518
RGBrgb(95, 85, 24)
HSLhsl(52, 60%, 23%)
HSVhsv(52, 75%, 37%)
CMYKcmyk(0%, 10.5%, 74.7%, 62.7%)
CIE-LABlab(35.98, -3.71, 35.37)
CIE-LCHlch(35.98, 35.57, 95.98°)
OKLaboklab(44.68% -0.0136 0.079)
OKLCHoklch(44.68% 0.08 99.8)
XYZxyz(8.1331, 8.9962, 2.1720)
Luminance0.0900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5518 #18225F
analogous
#5F3118 #5F5518 #455F18
triadic
#5F5518 #185F55 #55185F
tetradic
#5F5518 #185F31 #18225F #5F1845
square
#5F5518 #185F31 #18225F #5F1845
split-complementary
#5F5518 #18455F #31185F
monochromatic
#181606 #2E290C #5F5518 #908124 #C1AC31

Accessibility & contrast

On white

7.50
#5F5518 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#5F5518 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F5518
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5518#FFFFFF#000000##FFFFFF
##5F55181.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E530F
Deuteranopia (green-blind)
#60561C
Tritanopia (blue-blind)
#674E49
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5f5518;
/* rgb */ color: rgb(95, 85, 24);
/* oklch */ color: oklch(44.7% 0.080 99.8);
Tailwind
colors: {
  custom: {
    50: '#8f8459',
    500: '#5f5518',
    950: '#000000',
  },
}
SCSS
$custom: #5f5518;
$custom-light: #8f8459;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5518",
  "rgb": {
    "r": 95,
    "g": 85,
    "b": 24
  },
  "hsl": {
    "h": 51.549,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.44682,
    "c": 0.08011,
    "h": 99.8
  },
  "luminance": 0.08996
}

Semantic roles & 50–950 ramp

primary
#5F5518
secondary
#3D4A95
accent
#5BE345
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0A04
muted
#7E7C79

Preview Lab

Preview with #5F5518

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

Preview Lab → · Contrast checker → · Palette generator →

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