#5F6319#5F6319

#5F6319 is a mid, moderate yellow. Relative luminance 0.114; OKLCH L 48.1% C 0.094 H 112.5°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#5F6319
RGBrgb(95, 99, 25)
HSLhsl(63, 60%, 24%)
HSVhsv(63, 75%, 39%)
CMYKcmyk(4%, 0%, 74.7%, 61.2%)
CIE-LABlab(40.29, -11.76, 39.22)
CIE-LCHlch(40.29, 40.95, 106.69°)
OKLaboklab(48.12% -0.0362 0.0873)
OKLCHoklch(48.12% 0.094 112.5)
XYZxyz(9.3569, 11.4270, 2.6322)
Luminance0.1143 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6319 #1D1963
analogous
#634219 #5F6319 #3A6319
triadic
#5F6319 #195F63 #63195F
tetradic
#5F6319 #196342 #1D1963 #63193A
square
#5F6319 #196342 #1D1963 #63193A
split-complementary
#5F6319 #193A63 #421963
monochromatic
#171806 #30320D #5F6319 #8E9425 #BDC532

Accessibility & contrast

On white

6.39
#5F6319 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#5F6319 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F6319
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6319#FFFFFF#000000##FFFFFF
##5F63191.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E0C
Deuteranopia (green-blind)
#6B601F
Tritanopia (blue-blind)
#665D55
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5f6319;
/* rgb */ color: rgb(95, 99, 25);
/* oklch */ color: oklch(48.1% 0.094 112.5);
Tailwind
colors: {
  custom: {
    50: '#8f8f5b',
    500: '#5f6319',
    950: '#000000',
  },
}
SCSS
$custom: #5f6319;
$custom-light: #8f8f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6319",
  "rgb": {
    "r": 95,
    "g": 99,
    "b": 25
  },
  "hsl": {
    "h": 63.243,
    "s": 59.677,
    "l": 24.314
  },
  "oklch": {
    "l": 0.48122,
    "c": 0.09446,
    "h": 112.5
  },
  "luminance": 0.11427
}

Semantic roles & 50–950 ramp

primary
#5F6319
secondary
#443F99
accent
#45E34D
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5F6319

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

Preview Lab → · Contrast checker → · Palette generator →

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