#5F6113#5F6113

#5F6113 is a mid, moderate yellow. Relative luminance 0.110; OKLCH L 47.6% C 0.096 H 111.1°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#5F6113
RGBrgb(95, 97, 19)
HSLhsl(62, 67%, 23%)
HSVhsv(62, 80%, 38%)
CMYKcmyk(2.1%, 0%, 80.4%, 62%)
CIE-LABlab(39.63, -10.95, 40.91)
CIE-LCHlch(39.63, 42.35, 104.98°)
OKLaboklab(47.58% -0.0345 0.0896)
OKLCHoklch(47.58% 0.096 111.1)
XYZxyz(9.1119, 11.0295, 2.2649)
Luminance0.1103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6113 #151361
analogous
#613C13 #5F6113 #386113
triadic
#5F6113 #135F61 #61135F
tetradic
#5F6113 #13613C #151361 #611338
square
#5F6113 #13613C #151361 #611338
split-complementary
#5F6113 #133861 #3C1361
monochromatic
#191A05 #2D2E09 #5F6113 #91941D #C3C727

Accessibility & contrast

On white

6.55
#5F6113 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#5F6113 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F6113
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6113#FFFFFF#000000##FFFFFF
##5F61131.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C02
Deuteranopia (green-blind)
#6A5E1A
Tritanopia (blue-blind)
#665A52
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5f6113;
/* rgb */ color: rgb(95, 97, 19);
/* oklch */ color: oklch(47.6% 0.096 111.1);
Tailwind
colors: {
  custom: {
    50: '#8f8d58',
    500: '#5f6113',
    950: '#000000',
  },
}
SCSS
$custom: #5f6113;
$custom-light: #8f8d58;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6113",
  "rgb": {
    "r": 95,
    "g": 97,
    "b": 19
  },
  "hsl": {
    "h": 61.538,
    "s": 67.241,
    "l": 22.745
  },
  "oklch": {
    "l": 0.47582,
    "c": 0.09605,
    "h": 111.1
  },
  "luminance": 0.11029
}

Semantic roles & 50–950 ramp

primary
#5F6113
secondary
#3A3799
accent
#3EEA42
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5F6113

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

Preview Lab → · Contrast checker → · Palette generator →

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