#5F6714#5F6714

#5F6714 is a mid, moderate yellow. Relative luminance 0.122; OKLCH L 49.1% C 0.102 H 115.2°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#5F6714
RGBrgb(95, 103, 20)
HSLhsl(66, 67%, 24%)
HSVhsv(66, 81%, 40%)
CMYKcmyk(7.8%, 0%, 80.6%, 59.6%)
CIE-LABlab(41.51, -14.25, 42.29)
CIE-LCHlch(41.51, 44.62, 108.62°)
OKLaboklab(49.09% -0.0436 0.0928)
OKLCHoklch(49.09% 0.102 115.2)
XYZxyz(9.6961, 12.1841, 2.5027)
Luminance0.1218 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6714 #1C1467
analogous
#674614 #5F6714 #366714
triadic
#5F6714 #145F67 #67145F
tetradic
#5F6714 #146746 #1C1467 #671436
square
#5F6714 #146746 #1C1467 #671436
split-complementary
#5F6714 #143667 #461467
monochromatic
#181A05 #30340A #5F6714 #8E9A1E #BECD28

Accessibility & contrast

On white

6.11
#5F6714 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#5F6714 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F6714
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6714#FFFFFF#000000##FFFFFF
##5F67141.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6101
Deuteranopia (green-blind)
#6E631B
Tritanopia (blue-blind)
#666157
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5f6714;
/* rgb */ color: rgb(95, 103, 20);
/* oklch */ color: oklch(49.1% 0.102 115.2);
Tailwind
colors: {
  custom: {
    50: '#8f9259',
    500: '#5f6714',
    950: '#000000',
  },
}
SCSS
$custom: #5f6714;
$custom-light: #8f9259;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6714",
  "rgb": {
    "r": 95,
    "g": 103,
    "b": 20
  },
  "hsl": {
    "h": 65.783,
    "s": 67.48,
    "l": 24.118
  },
  "oklch": {
    "l": 0.49087,
    "c": 0.10249,
    "h": 115.2
  },
  "luminance": 0.12184
}

Semantic roles & 50–950 ramp

primary
#5F6714
secondary
#42399E
accent
#3DEA4E
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5F6714

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

Preview Lab → · Contrast checker → · Palette generator →

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