#5E6319#5E6319

#5E6319 is a mid, moderate yellow. Relative luminance 0.114; OKLCH L 48.0% C 0.095 H 113.3°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#5E6319
RGBrgb(94, 99, 25)
HSLhsl(64, 60%, 24%)
HSVhsv(64, 75%, 39%)
CMYKcmyk(5.1%, 0%, 74.7%, 61.2%)
CIE-LABlab(40.20, -12.24, 39.11)
CIE-LCHlch(40.20, 40.98, 107.37°)
OKLaboklab(48.03% -0.0374 0.0871)
OKLCHoklch(48.03% 0.095 113.3)
XYZxyz(9.2537, 11.3737, 2.6274)
Luminance0.1137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6319 #1E1963
analogous
#634319 #5E6319 #396319
triadic
#5E6319 #195E63 #63195E
tetradic
#5E6319 #196343 #1E1963 #631939
square
#5E6319 #196343 #1E1963 #631939
split-complementary
#5E6319 #193963 #431963
monochromatic
#171806 #30320D #5E6319 #8C9425 #BBC532

Accessibility & contrast

On white

6.41
#5E6319 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#5E6319 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E6319
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6319#FFFFFF#000000##FFFFFF
##5E63191.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e6319;
/* rgb */ color: rgb(94, 99, 25);
/* oklch */ color: oklch(48.0% 0.095 113.3);
Tailwind
colors: {
  custom: {
    50: '#8e8f5b',
    500: '#5e6319',
    950: '#000000',
  },
}
SCSS
$custom: #5e6319;
$custom-light: #8e8f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6319",
  "rgb": {
    "r": 94,
    "g": 99,
    "b": 25
  },
  "hsl": {
    "h": 64.054,
    "s": 59.677,
    "l": 24.314
  },
  "oklch": {
    "l": 0.48031,
    "c": 0.09476,
    "h": 113.3
  },
  "luminance": 0.11374
}

Semantic roles & 50–950 ramp

primary
#5E6319
secondary
#453F99
accent
#45E350
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0D0C04
muted
#7D7D79

Preview Lab

Preview with #5E6319

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

Preview Lab → · Contrast checker → · Palette generator →

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