#5F6D13#5F6D13

#5F6D13 is a mid, moderate yellow. Relative luminance 0.134; OKLCH L 50.6% C 0.110 H 118.6°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#5F6D13
RGBrgb(95, 109, 19)
HSLhsl(69, 70%, 25%)
HSVhsv(69, 83%, 43%)
CMYKcmyk(12.8%, 0%, 82.6%, 57.3%)
CIE-LABlab(43.39, -17.55, 44.34)
CIE-LCHlch(43.39, 47.68, 111.59°)
OKLaboklab(50.6% -0.0528 0.0969)
OKLCHoklch(50.6% 0.11 118.6)
XYZxyz(10.3057, 13.4173, 2.6629)
Luminance0.1342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6D13 #21136D
analogous
#6D4E13 #5F6D13 #326D13
triadic
#5F6D13 #135F6D #6D135F
tetradic
#5F6D13 #136D4E #21136D #6D1332
square
#5F6D13 #136D4E #21136D #6D1332
split-complementary
#5F6D13 #13326D #4E136D
monochromatic
#171A05 #32390A #5F6D13 #8CA11C #BAD525

Accessibility & contrast

On white

5.70
#5F6D13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#5F6D13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F6D13
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6D13#FFFFFF#000000##FFFFFF
##5F6D131.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756600
Deuteranopia (green-blind)
#73671C
Tritanopia (blue-blind)
#65675D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5f6d13;
/* rgb */ color: rgb(95, 109, 19);
/* oklch */ color: oklch(50.6% 0.110 118.6);
Tailwind
colors: {
  custom: {
    50: '#8f965a',
    500: '#5f6d13',
    950: '#000000',
  },
}
SCSS
$custom: #5f6d13;
$custom-light: #8f965a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6d13",
  "rgb": {
    "r": 95,
    "g": 109,
    "b": 19
  },
  "hsl": {
    "h": 69.333,
    "s": 70.313,
    "l": 25.098
  },
  "oklch": {
    "l": 0.50596,
    "c": 0.11035,
    "h": 118.6
  },
  "luminance": 0.13417
}

Semantic roles & 50–950 ramp

primary
#5F6D13
secondary
#4938A4
accent
#3BED56
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5F6D13

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

Preview Lab → · Contrast checker → · Palette generator →

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