#5F6C13#5F6C13

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

Color values

HEX#5F6C13
RGBrgb(95, 108, 19)
HSLhsl(69, 70%, 25%)
HSVhsv(69, 82%, 42%)
CMYKcmyk(12%, 0%, 82.4%, 57.6%)
CIE-LABlab(43.07, -17.01, 44.05)
CIE-LCHlch(43.07, 47.22, 111.12°)
OKLaboklab(50.34% -0.0513 0.0963)
OKLCHoklch(50.34% 0.109 118)
XYZxyz(10.1997, 13.2051, 2.6275)
Luminance0.1321 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6C13 #20136C
analogous
#6C4D13 #5F6C13 #336C13
triadic
#5F6C13 #135F6C #6C135F
tetradic
#5F6C13 #136C4D #20136C #6C1333
square
#5F6C13 #136C4D #20136C #6C1333
split-complementary
#5F6C13 #13336C #4D136C
monochromatic
#171A05 #31380A #5F6C13 #8DA01C #BBD425

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F6C13#FFFFFF#000000##FFFFFF
##5F6C131.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: #5f6c13;
/* rgb */ color: rgb(95, 108, 19);
/* oklch */ color: oklch(50.3% 0.109 118.0);
Tailwind
colors: {
  custom: {
    50: '#8f965a',
    500: '#5f6c13',
    950: '#000000',
  },
}
SCSS
$custom: #5f6c13;
$custom-light: #8f965a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6c13",
  "rgb": {
    "r": 95,
    "g": 108,
    "b": 19
  },
  "hsl": {
    "h": 68.764,
    "s": 70.079,
    "l": 24.902
  },
  "oklch": {
    "l": 0.50342,
    "c": 0.10912,
    "h": 118
  },
  "luminance": 0.13205
}

Semantic roles & 50–950 ramp

primary
#5F6C13
secondary
#4738A3
accent
#3BED55
background
#F9F9F5
surface
#F1F1E9
border
#CBCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5F6C13

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

Preview Lab → · Contrast checker → · Palette generator →

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