#5F6B13#5F6B13

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

Color values

HEX#5F6B13
RGBrgb(95, 107, 19)
HSLhsl(68, 70%, 25%)
HSVhsv(68, 82%, 42%)
CMYKcmyk(11.2%, 0%, 82.2%, 58%)
CIE-LABlab(42.76, -16.47, 43.77)
CIE-LCHlch(42.76, 46.76, 110.63°)
OKLaboklab(50.09% -0.0498 0.0957)
OKLCHoklch(50.09% 0.108 117.5)
XYZxyz(10.0948, 12.9954, 2.5925)
Luminance0.1300 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6B13 #1F136B
analogous
#6B4B13 #5F6B13 #336B13
triadic
#5F6B13 #135F6B #6B135F
tetradic
#5F6B13 #136B4B #1F136B #6B1333
square
#5F6B13 #136B4B #1F136B #6B1333
split-complementary
#5F6B13 #13336B #4B136B
monochromatic
#171A05 #31370A #5F6B13 #8D9F1C #BBD325

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F6B13#FFFFFF#000000##FFFFFF
##5F6B131.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)
#72651B
Tritanopia (blue-blind)
#65655B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5f6b13;
/* rgb */ color: rgb(95, 107, 19);
/* oklch */ color: oklch(50.1% 0.108 117.5);
Tailwind
colors: {
  custom: {
    50: '#8f955a',
    500: '#5f6b13',
    950: '#000000',
  },
}
SCSS
$custom: #5f6b13;
$custom-light: #8f955a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6b13",
  "rgb": {
    "r": 95,
    "g": 107,
    "b": 19
  },
  "hsl": {
    "h": 68.182,
    "s": 69.841,
    "l": 24.706
  },
  "oklch": {
    "l": 0.50089,
    "c": 0.10789,
    "h": 117.5
  },
  "luminance": 0.12995
}

Semantic roles & 50–950 ramp

primary
#5F6B13
secondary
#4638A2
accent
#3BED53
background
#F9F9F5
surface
#F1F1E9
border
#CBCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5F6B13

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

Preview Lab → · Contrast checker → · Palette generator →

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