#5F6B14#5F6B14

#5F6B14 is a mid, moderate yellow. Relative luminance 0.130; OKLCH L 50.1% C 0.107 H 117.5°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#5F6B14
RGBrgb(95, 107, 20)
HSLhsl(68, 69%, 25%)
HSVhsv(68, 81%, 42%)
CMYKcmyk(11.2%, 0%, 81.3%, 58%)
CIE-LABlab(42.76, -16.43, 43.44)
CIE-LCHlch(42.76, 46.44, 110.72°)
OKLaboklab(50.1% -0.0496 0.0952)
OKLCHoklch(50.1% 0.107 117.5)
XYZxyz(10.1035, 12.9989, 2.6385)
Luminance0.1300 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6B14 #20146B
analogous
#6B4C14 #5F6B14 #336B14
triadic
#5F6B14 #145F6B #6B145F
tetradic
#5F6B14 #146B4C #20146B #6B1433
square
#5F6B14 #146B4C #20146B #6B1433
split-complementary
#5F6B14 #14336B #4C146B
monochromatic
#171A05 #31370A #5F6B14 #8D9F1E #BBD227

Accessibility & contrast

On white

5.83
#5F6B14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#5F6B14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F6B14
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6B14#FFFFFF#000000##FFFFFF
##5F6B141.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#72651C
Tritanopia (blue-blind)
#65655B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5f6b14;
/* rgb */ color: rgb(95, 107, 20);
/* oklch */ color: oklch(50.1% 0.107 117.5);
Tailwind
colors: {
  custom: {
    50: '#8f955a',
    500: '#5f6b14',
    950: '#000000',
  },
}
SCSS
$custom: #5f6b14;
$custom-light: #8f955a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6b14",
  "rgb": {
    "r": 95,
    "g": 107,
    "b": 20
  },
  "hsl": {
    "h": 68.276,
    "s": 68.504,
    "l": 24.902
  },
  "oklch": {
    "l": 0.50095,
    "c": 0.10735,
    "h": 117.5
  },
  "luminance": 0.12999
}

Semantic roles & 50–950 ramp

primary
#5F6B14
secondary
#4739A2
accent
#3CEB55
background
#F9F9F5
surface
#F1F1E9
border
#CBCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5F6B14

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

Preview Lab → · Contrast checker → · Palette generator →

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