#5E6415#5E6415

#5E6415 is a mid, moderate yellow. Relative luminance 0.115; OKLCH L 48.3% C 0.099 H 113.9°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#5E6415
RGBrgb(94, 100, 21)
HSLhsl(65, 65%, 24%)
HSVhsv(65, 79%, 39%)
CMYKcmyk(6%, 0%, 79%, 60.8%)
CIE-LABlab(40.49, -13.01, 40.95)
CIE-LCHlch(40.49, 42.97, 107.63°)
OKLaboklab(48.25% -0.04 0.0902)
OKLCHoklch(48.25% 0.099 113.9)
XYZxyz(9.3089, 11.5484, 2.4480)
Luminance0.1155 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6415 #1B1564
analogous
#644215 #5E6415 #366415
triadic
#5E6415 #155E64 #64155E
tetradic
#5E6415 #156442 #1B1564 #641536
square
#5E6415 #156442 #1B1564 #641536
split-complementary
#5E6415 #153664 #421564
monochromatic
#181905 #2E310A #5E6415 #8E9720 #BDC92A

Accessibility & contrast

On white

6.35
#5E6415 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#5E6415 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E6415
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6415#FFFFFF#000000##FFFFFF
##5E64151.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F04
Deuteranopia (green-blind)
#6C601C
Tritanopia (blue-blind)
#655E55
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5e6415;
/* rgb */ color: rgb(94, 100, 21);
/* oklch */ color: oklch(48.3% 0.099 113.9);
Tailwind
colors: {
  custom: {
    50: '#8e9059',
    500: '#5e6415',
    950: '#000000',
  },
}
SCSS
$custom: #5e6415;
$custom-light: #8e9059;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6415",
  "rgb": {
    "r": 94,
    "g": 100,
    "b": 21
  },
  "hsl": {
    "h": 64.557,
    "s": 65.289,
    "l": 23.725
  },
  "oklch": {
    "l": 0.48252,
    "c": 0.09863,
    "h": 113.9
  },
  "luminance": 0.11548
}

Semantic roles & 50–950 ramp

primary
#5E6415
secondary
#413A9B
accent
#40E84C
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5E6415

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

Preview Lab → · Contrast checker → · Palette generator →

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