#5F6613#5F6613

#5F6613 is a mid, moderate yellow. Relative luminance 0.120; OKLCH L 48.8% C 0.102 H 114.5°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#5F6613
RGBrgb(95, 102, 19)
HSLhsl(65, 69%, 24%)
HSVhsv(65, 81%, 40%)
CMYKcmyk(6.9%, 0%, 81.4%, 60%)
CIE-LABlab(41.19, -13.74, 42.34)
CIE-LCHlch(41.19, 44.51, 107.98°)
OKLaboklab(48.83% -0.0423 0.0927)
OKLCHoklch(48.83% 0.102 114.5)
XYZxyz(9.5885, 11.9828, 2.4238)
Luminance0.1198 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6613 #1A1366
analogous
#664313 #5F6613 #356613
triadic
#5F6613 #135F66 #66135F
tetradic
#5F6613 #136643 #1A1366 #661335
square
#5F6613 #136643 #1A1366 #661335
split-complementary
#5F6613 #133566 #431366
monochromatic
#181A05 #2F3209 #5F6613 #8F9A1D #BFCD26

Accessibility & contrast

On white

6.18
#5F6613 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#5F6613 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F6613
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6613#FFFFFF#000000##FFFFFF
##5F66131.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6000
Deuteranopia (green-blind)
#6E621B
Tritanopia (blue-blind)
#665F57
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5f6613;
/* rgb */ color: rgb(95, 102, 19);
/* oklch */ color: oklch(48.8% 0.102 114.5);
Tailwind
colors: {
  custom: {
    50: '#8f9159',
    500: '#5f6613',
    950: '#000000',
  },
}
SCSS
$custom: #5f6613;
$custom-light: #8f9159;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6613",
  "rgb": {
    "r": 95,
    "g": 102,
    "b": 19
  },
  "hsl": {
    "h": 65.06,
    "s": 68.595,
    "l": 23.725
  },
  "oklch": {
    "l": 0.4883,
    "c": 0.10186,
    "h": 114.5
  },
  "luminance": 0.11983
}

Semantic roles & 50–950 ramp

primary
#5F6613
secondary
#40379D
accent
#3CEB4B
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5F6613

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

Preview Lab → · Contrast checker → · Palette generator →

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