#5F6610#5F6610

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

Color values

HEX#5F6610
RGBrgb(95, 102, 16)
HSLhsl(65, 73%, 23%)
HSVhsv(65, 84%, 40%)
CMYKcmyk(6.9%, 0%, 84.3%, 60%)
CIE-LABlab(41.17, -13.87, 43.31)
CIE-LCHlch(41.17, 45.48, 107.76°)
OKLaboklab(48.81% -0.0429 0.0942)
OKLCHoklch(48.81% 0.103 114.5)
XYZxyz(9.5645, 11.9732, 2.2973)
Luminance0.1197 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6610 #171066
analogous
#664210 #5F6610 #346610
triadic
#5F6610 #105F66 #66105F
tetradic
#5F6610 #106642 #171066 #661034
square
#5F6610 #106642 #171066 #661034
split-complementary
#5F6610 #103466 #421066
monochromatic
#191A04 #2E3108 #5F6610 #909B18 #C2D021

Accessibility & contrast

On white

6.19
#5F6610 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#5F6610 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F6610
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6610#FFFFFF#000000##FFFFFF
##5F66101.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f6610;
/* rgb */ color: rgb(95, 102, 16);
/* oklch */ color: oklch(48.8% 0.103 114.5);
Tailwind
colors: {
  custom: {
    50: '#8f9158',
    500: '#5f6610',
    950: '#000000',
  },
}
SCSS
$custom: #5f6610;
$custom-light: #8f9158;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6610",
  "rgb": {
    "r": 95,
    "g": 102,
    "b": 16
  },
  "hsl": {
    "h": 64.884,
    "s": 72.881,
    "l": 23.137
  },
  "oklch": {
    "l": 0.48813,
    "c": 0.10346,
    "h": 114.5
  },
  "luminance": 0.11973
}

Semantic roles & 50–950 ramp

primary
#5F6610
secondary
#3C339E
accent
#38F047
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5F6610

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

Preview Lab → · Contrast checker → · Palette generator →

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