#5F6013#5F6013

#5F6013 is a mid, moderate yellow. Relative luminance 0.108; OKLCH L 47.3% C 0.095 H 110.3°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#5F6013
RGBrgb(95, 96, 19)
HSLhsl(61, 67%, 23%)
HSVhsv(61, 80%, 38%)
CMYKcmyk(1%, 0%, 80.2%, 62.4%)
CIE-LABlab(39.32, -10.38, 40.62)
CIE-LCHlch(39.32, 41.93, 104.33°)
OKLaboklab(47.33% -0.0329 0.089)
OKLCHoklch(47.33% 0.095 110.3)
XYZxyz(9.0201, 10.8459, 2.2343)
Luminance0.1085 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6013 #141360
analogous
#603A13 #5F6013 #396013
triadic
#5F6013 #135F60 #60135F
tetradic
#5F6013 #13603A #141360 #601339
square
#5F6013 #13603A #141360 #601339
split-complementary
#5F6013 #133960 #3A1360
monochromatic
#191A05 #2C2D09 #5F6013 #92931D #C4C627

Accessibility & contrast

On white

6.63
#5F6013 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5F6013
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6013#FFFFFF#000000##FFFFFF
##5F60131.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B03
Deuteranopia (green-blind)
#695E19
Tritanopia (blue-blind)
#665952
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5f6013;
/* rgb */ color: rgb(95, 96, 19);
/* oklch */ color: oklch(47.3% 0.095 110.3);
Tailwind
colors: {
  custom: {
    50: '#8f8c58',
    500: '#5f6013',
    950: '#000000',
  },
}
SCSS
$custom: #5f6013;
$custom-light: #8f8c58;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6013",
  "rgb": {
    "r": 95,
    "g": 96,
    "b": 19
  },
  "hsl": {
    "h": 60.779,
    "s": 66.957,
    "l": 22.549
  },
  "oklch": {
    "l": 0.47333,
    "c": 0.09494,
    "h": 110.3
  },
  "luminance": 0.10846
}

Semantic roles & 50–950 ramp

primary
#5F6013
secondary
#383798
accent
#3EEA40
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5F6013

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

Preview Lab → · Contrast checker → · Palette generator →

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