#5F6A13#5F6A13

#5F6A13 is a mid, moderate yellow. Relative luminance 0.128; OKLCH L 49.8% C 0.107 H 116.9°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#5F6A13
RGBrgb(95, 106, 19)
HSLhsl(68, 70%, 25%)
HSVhsv(68, 82%, 42%)
CMYKcmyk(10.4%, 0%, 82.1%, 58.4%)
CIE-LABlab(42.44, -15.93, 43.48)
CIE-LCHlch(42.44, 46.31, 110.12°)
OKLaboklab(49.84% -0.0483 0.0951)
OKLCHoklch(49.84% 0.107 116.9)
XYZxyz(9.9912, 12.7881, 2.5580)
Luminance0.1279 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6A13 #1E136A
analogous
#6A4A13 #5F6A13 #346A13
triadic
#5F6A13 #135F6A #6A135F
tetradic
#5F6A13 #136A4A #1E136A #6A1334
square
#5F6A13 #136A4A #1E136A #6A1334
split-complementary
#5F6A13 #13346A #4A136A
monochromatic
#171A05 #30360A #5F6A13 #8E9E1C #BCD226

Accessibility & contrast

On white

5.90
#5F6A13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#5F6A13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F6A13
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6A13#FFFFFF#000000##FFFFFF
##5F6A131.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#71651B
Tritanopia (blue-blind)
#65645A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5f6a13;
/* rgb */ color: rgb(95, 106, 19);
/* oklch */ color: oklch(49.8% 0.107 116.9);
Tailwind
colors: {
  custom: {
    50: '#8f9459',
    500: '#5f6a13',
    950: '#000000',
  },
}
SCSS
$custom: #5f6a13;
$custom-light: #8f9459;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6a13",
  "rgb": {
    "r": 95,
    "g": 106,
    "b": 19
  },
  "hsl": {
    "h": 67.586,
    "s": 69.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.49837,
    "c": 0.10668,
    "h": 116.9
  },
  "luminance": 0.12788
}

Semantic roles & 50–950 ramp

primary
#5F6A13
secondary
#4538A1
accent
#3BEC52
background
#F9F9F5
surface
#F1F1E9
border
#CBCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5F6A13

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

Preview Lab → · Contrast checker → · Palette generator →

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