#5F6018#5F6018

#5F6018 is a mid, moderate yellow. Relative luminance 0.109; OKLCH L 47.4% C 0.092 H 110.2°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#5F6018
RGBrgb(95, 96, 24)
HSLhsl(61, 60%, 24%)
HSVhsv(61, 75%, 38%)
CMYKcmyk(1%, 0%, 75%, 62.4%)
CIE-LABlab(39.35, -10.12, 38.71)
CIE-LCHlch(39.35, 40.02, 104.65°)
OKLaboklab(47.37% -0.0317 0.086)
OKLCHoklch(47.37% 0.092 110.2)
XYZxyz(9.0674, 10.8648, 2.4835)
Luminance0.1086 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6018 #191860
analogous
#603D18 #5F6018 #3B6018
triadic
#5F6018 #185F60 #60185F
tetradic
#5F6018 #18603D #191860 #60183B
square
#5F6018 #18603D #191860 #60183B
split-complementary
#5F6018 #183B60 #3D1860
monochromatic
#181806 #2F2F0C #5F6018 #8F9124 #C0C230

Accessibility & contrast

On white

6.62
#5F6018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#5F6018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F6018
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6018#FFFFFF#000000##FFFFFF
##5F60181.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C0C
Deuteranopia (green-blind)
#695E1D
Tritanopia (blue-blind)
#665A52
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5f6018;
/* rgb */ color: rgb(95, 96, 24);
/* oklch */ color: oklch(47.4% 0.092 110.2);
Tailwind
colors: {
  custom: {
    50: '#8f8d5a',
    500: '#5f6018',
    950: '#000000',
  },
}
SCSS
$custom: #5f6018;
$custom-light: #8f8d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6018",
  "rgb": {
    "r": 95,
    "g": 96,
    "b": 24
  },
  "hsl": {
    "h": 60.833,
    "s": 60,
    "l": 23.529
  },
  "oklch": {
    "l": 0.47369,
    "c": 0.09166,
    "h": 110.2
  },
  "luminance": 0.10865
}

Semantic roles & 50–950 ramp

primary
#5F6018
secondary
#3F3D96
accent
#45E347
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5F6018

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

Preview Lab → · Contrast checker → · Palette generator →

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