#5F6713#5F6713

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

Color values

HEX#5F6713
RGBrgb(95, 103, 19)
HSLhsl(66, 69%, 24%)
HSVhsv(66, 82%, 40%)
CMYKcmyk(7.8%, 0%, 81.6%, 59.6%)
CIE-LABlab(41.50, -14.30, 42.63)
CIE-LCHlch(41.50, 44.96, 108.54°)
OKLaboklab(49.08% -0.0438 0.0933)
OKLCHoklch(49.08% 0.103 115.2)
XYZxyz(9.6874, 12.1806, 2.4567)
Luminance0.1218 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6713 #1B1367
analogous
#674513 #5F6713 #356713
triadic
#5F6713 #135F67 #67135F
tetradic
#5F6713 #136745 #1B1367 #671335
square
#5F6713 #136745 #1B1367 #671335
split-complementary
#5F6713 #133567 #451367
monochromatic
#181A05 #2F3309 #5F6713 #8F9B1D #BECE26

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F6713#FFFFFF#000000##FFFFFF
##5F67131.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)
#6F6100
Deuteranopia (green-blind)
#6E631B
Tritanopia (blue-blind)
#666057
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5f6713;
/* rgb */ color: rgb(95, 103, 19);
/* oklch */ color: oklch(49.1% 0.103 115.2);
Tailwind
colors: {
  custom: {
    50: '#8f9259',
    500: '#5f6713',
    950: '#000000',
  },
}
SCSS
$custom: #5f6713;
$custom-light: #8f9259;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6713",
  "rgb": {
    "r": 95,
    "g": 103,
    "b": 19
  },
  "hsl": {
    "h": 65.714,
    "s": 68.852,
    "l": 23.922
  },
  "oklch": {
    "l": 0.49081,
    "c": 0.10306,
    "h": 115.2
  },
  "luminance": 0.1218
}

Semantic roles & 50–950 ramp

primary
#5F6713
secondary
#41379E
accent
#3CEC4D
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5F6713

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

Preview Lab → · Contrast checker → · Palette generator →

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