#5F6510#5F6510

#5F6510 is a mid, moderate yellow. Relative luminance 0.118; OKLCH L 48.6% C 0.102 H 113.8°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#5F6510
RGBrgb(95, 101, 16)
HSLhsl(64, 73%, 23%)
HSVhsv(64, 84%, 40%)
CMYKcmyk(5.9%, 0%, 84.2%, 60.4%)
CIE-LABlab(40.86, -13.32, 43.03)
CIE-LCHlch(40.86, 45.05, 107.20°)
OKLaboklab(48.56% -0.0413 0.0936)
OKLCHoklch(48.56% 0.102 113.8)
XYZxyz(9.4668, 11.7779, 2.2648)
Luminance0.1178 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6510 #161065
analogous
#654010 #5F6510 #346510
triadic
#5F6510 #105F65 #65105F
tetradic
#5F6510 #106540 #161065 #651034
square
#5F6510 #106540 #161065 #651034
split-complementary
#5F6510 #103465 #401065
monochromatic
#191A04 #2D3008 #5F6510 #919A18 #C2CF21

Accessibility & contrast

On white

6.26
#5F6510 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#5F6510 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F6510
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6510#FFFFFF#000000##FFFFFF
##5F65101.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6000
Deuteranopia (green-blind)
#6D6118
Tritanopia (blue-blind)
#665E56
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5f6510;
/* rgb */ color: rgb(95, 101, 16);
/* oklch */ color: oklch(48.6% 0.102 113.8);
Tailwind
colors: {
  custom: {
    50: '#8f9057',
    500: '#5f6510',
    950: '#000000',
  },
}
SCSS
$custom: #5f6510;
$custom-light: #8f9057;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6510",
  "rgb": {
    "r": 95,
    "g": 101,
    "b": 16
  },
  "hsl": {
    "h": 64.235,
    "s": 72.65,
    "l": 22.941
  },
  "oklch": {
    "l": 0.48562,
    "c": 0.1023,
    "h": 113.8
  },
  "luminance": 0.11778
}

Semantic roles & 50–950 ramp

primary
#5F6510
secondary
#3B339D
accent
#38EF45
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C03
muted
#7E7D78

Preview Lab

Preview with #5F6510

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

Preview Lab → · Contrast checker → · Palette generator →

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