#5F6B15#5F6B15

#5F6B15 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#5F6B15
RGBrgb(95, 107, 21)
HSLhsl(68, 67%, 25%)
HSVhsv(68, 80%, 42%)
CMYKcmyk(11.2%, 0%, 80.4%, 58%)
CIE-LABlab(42.77, -16.38, 43.10)
CIE-LCHlch(42.77, 46.11, 110.81°)
OKLaboklab(50.1% -0.0494 0.0947)
OKLCHoklch(50.1% 0.107 117.5)
XYZxyz(10.1126, 13.0025, 2.6863)
Luminance0.1300 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6B15 #21156B
analogous
#6B4C15 #5F6B15 #346B15
triadic
#5F6B15 #155F6B #6B155F
tetradic
#5F6B15 #156B4C #21156B #6B1534
square
#5F6B15 #156B4C #21156B #6B1534
split-complementary
#5F6B15 #15346B #4C156B
monochromatic
#171A05 #32380B #5F6B15 #8C9E1F #BAD129

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F6B15#FFFFFF#000000##FFFFFF
##5F6B151.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)
#736501
Deuteranopia (green-blind)
#72651D
Tritanopia (blue-blind)
#65655B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5f6b15;
/* rgb */ color: rgb(95, 107, 21);
/* oklch */ color: oklch(50.1% 0.107 117.5);
Tailwind
colors: {
  custom: {
    50: '#8f955a',
    500: '#5f6b15',
    950: '#000000',
  },
}
SCSS
$custom: #5f6b15;
$custom-light: #8f955a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6b15",
  "rgb": {
    "r": 95,
    "g": 107,
    "b": 21
  },
  "hsl": {
    "h": 68.372,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.50101,
    "c": 0.10678,
    "h": 117.5
  },
  "luminance": 0.13002
}

Semantic roles & 50–950 ramp

primary
#5F6B15
secondary
#493AA2
accent
#3EEA56
background
#F9F9F5
surface
#F1F1E9
border
#CBCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5F6B15

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

Preview Lab → · Contrast checker → · Palette generator →

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