#5F6710#5F6710

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

Color values

HEX#5F6710
RGBrgb(95, 103, 16)
HSLhsl(66, 73%, 23%)
HSVhsv(66, 84%, 40%)
CMYKcmyk(7.8%, 0%, 84.5%, 59.6%)
CIE-LABlab(41.49, -14.42, 43.59)
CIE-LCHlch(41.49, 45.91, 108.31°)
OKLaboklab(49.06% -0.0444 0.0948)
OKLCHoklch(49.06% 0.105 115.1)
XYZxyz(9.6634, 12.1710, 2.3303)
Luminance0.1217 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6710 #181067
analogous
#674310 #5F6710 #336710
triadic
#5F6710 #105F67 #67105F
tetradic
#5F6710 #106743 #181067 #671033
square
#5F6710 #106743 #181067 #671033
split-complementary
#5F6710 #103367 #431067
monochromatic
#181A04 #2E3208 #5F6710 #909C18 #C1D120

Accessibility & contrast

On white

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

On black

3.43
#5F6710 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5F6710#FFFFFF#000000##FFFFFF
##5F67101.006.113.436.11
#FFFFFF6.111.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6100
Deuteranopia (green-blind)
#6F6319
Tritanopia (blue-blind)
#666057
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5f6710;
/* rgb */ color: rgb(95, 103, 16);
/* oklch */ color: oklch(49.1% 0.105 115.1);
Tailwind
colors: {
  custom: {
    50: '#8f9258',
    500: '#5f6710',
    950: '#000000',
  },
}
SCSS
$custom: #5f6710;
$custom-light: #8f9258;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6710",
  "rgb": {
    "r": 95,
    "g": 103,
    "b": 16
  },
  "hsl": {
    "h": 65.517,
    "s": 73.109,
    "l": 23.333
  },
  "oklch": {
    "l": 0.49064,
    "c": 0.10464,
    "h": 115.1
  },
  "luminance": 0.12171
}

Semantic roles & 50–950 ramp

primary
#5F6710
secondary
#3D339F
accent
#38F049
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5F6710

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

Preview Lab → · Contrast checker → · Palette generator →

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