#5F6C14#5F6C14

#5F6C14 is a mid, moderate yellow. Relative luminance 0.132; OKLCH L 50.3% C 0.109 H 118.1°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#5F6C14
RGBrgb(95, 108, 20)
HSLhsl(69, 69%, 25%)
HSVhsv(69, 81%, 42%)
CMYKcmyk(12%, 0%, 81.5%, 57.6%)
CIE-LABlab(43.08, -16.97, 43.73)
CIE-LCHlch(43.08, 46.90, 111.21°)
OKLaboklab(50.35% -0.0511 0.0958)
OKLCHoklch(50.35% 0.109 118.1)
XYZxyz(10.2084, 13.2086, 2.6734)
Luminance0.1321 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6C14 #21146C
analogous
#6C4D14 #5F6C14 #336C14
triadic
#5F6C14 #145F6C #6C145F
tetradic
#5F6C14 #146C4D #21146C #6C1433
square
#5F6C14 #146C4D #21146C #6C1433
split-complementary
#5F6C14 #14336C #4D146C
monochromatic
#171A05 #32380A #5F6C14 #8CA01E #BAD327

Accessibility & contrast

On white

5.77
#5F6C14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#5F6C14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F6C14
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6C14#FFFFFF#000000##FFFFFF
##5F6C141.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746600
Deuteranopia (green-blind)
#72661C
Tritanopia (blue-blind)
#65665C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5f6c14;
/* rgb */ color: rgb(95, 108, 20);
/* oklch */ color: oklch(50.3% 0.109 118.1);
Tailwind
colors: {
  custom: {
    50: '#8f965a',
    500: '#5f6c14',
    950: '#000000',
  },
}
SCSS
$custom: #5f6c14;
$custom-light: #8f965a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6c14",
  "rgb": {
    "r": 95,
    "g": 108,
    "b": 20
  },
  "hsl": {
    "h": 68.864,
    "s": 68.75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.50348,
    "c": 0.10858,
    "h": 118.1
  },
  "luminance": 0.13209
}

Semantic roles & 50–950 ramp

primary
#5F6C14
secondary
#4939A3
accent
#3CEC56
background
#F9F9F5
surface
#F1F1E9
border
#CBCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5F6C14

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

Preview Lab → · Contrast checker → · Palette generator →

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