#5F6D16#5F6D16

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

Color values

HEX#5F6D16
RGBrgb(95, 109, 22)
HSLhsl(70, 66%, 26%)
HSVhsv(70, 80%, 43%)
CMYKcmyk(12.8%, 0%, 79.8%, 57.3%)
CIE-LABlab(43.40, -17.41, 43.34)
CIE-LCHlch(43.40, 46.70, 111.88°)
OKLaboklab(50.61% -0.0521 0.0954)
OKLCHoklch(50.61% 0.109 118.6)
XYZxyz(10.3330, 13.4282, 2.8065)
Luminance0.1343 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6D16 #24166D
analogous
#6D4F16 #5F6D16 #336D16
triadic
#5F6D16 #165F6D #6D165F
tetradic
#5F6D16 #166D4F #24166D #6D1633
square
#5F6D16 #166D4F #24166D #6D1633
split-complementary
#5F6D16 #16336D #4F166D
monochromatic
#161905 #333A0C #5F6D16 #8BA020 #B8D32B

Accessibility & contrast

On white

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

On black

3.69
#5F6D16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5F6D16#FFFFFF#000000##FFFFFF
##5F6D161.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756602
Deuteranopia (green-blind)
#73671E
Tritanopia (blue-blind)
#65675D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5f6d16;
/* rgb */ color: rgb(95, 109, 22);
/* oklch */ color: oklch(50.6% 0.109 118.6);
Tailwind
colors: {
  custom: {
    50: '#8f965b',
    500: '#5f6d16',
    950: '#000000',
  },
}
SCSS
$custom: #5f6d16;
$custom-light: #8f965b;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6d16",
  "rgb": {
    "r": 95,
    "g": 109,
    "b": 22
  },
  "hsl": {
    "h": 69.655,
    "s": 66.412,
    "l": 25.686
  },
  "oklch": {
    "l": 0.50614,
    "c": 0.10869,
    "h": 118.6
  },
  "luminance": 0.13428
}

Semantic roles & 50–950 ramp

primary
#5F6D16
secondary
#4C3CA3
accent
#3EE95A
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5F6D16

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

Preview Lab → · Contrast checker → · Palette generator →

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