#5E6715#5E6715

#5E6715 is a mid, moderate yellow. Relative luminance 0.121; OKLCH L 49.0% C 0.102 H 115.9°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#5E6715
RGBrgb(94, 103, 21)
HSLhsl(67, 66%, 24%)
HSVhsv(67, 80%, 40%)
CMYKcmyk(8.7%, 0%, 79.6%, 59.6%)
CIE-LABlab(41.43, -14.67, 41.83)
CIE-LCHlch(41.43, 44.32, 109.33°)
OKLaboklab(49.01% -0.0446 0.092)
OKLCHoklch(49.01% 0.102 115.9)
XYZxyz(9.6020, 12.1345, 2.5457)
Luminance0.1213 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6715 #1E1567
analogous
#674715 #5E6715 #356715
triadic
#5E6715 #155E67 #67155E
tetradic
#5E6715 #156747 #1E1567 #671535
square
#5E6715 #156747 #1E1567 #671535
split-complementary
#5E6715 #153567 #471567
monochromatic
#171905 #30340B #5E6715 #8C9A1F #BBCD2A

Accessibility & contrast

On white

6.13
#5E6715 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5E6715
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6715#FFFFFF#000000##FFFFFF
##5E67151.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6103
Deuteranopia (green-blind)
#6E621C
Tritanopia (blue-blind)
#656158
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5e6715;
/* rgb */ color: rgb(94, 103, 21);
/* oklch */ color: oklch(49.0% 0.102 115.9);
Tailwind
colors: {
  custom: {
    50: '#8e925a',
    500: '#5e6715',
    950: '#000000',
  },
}
SCSS
$custom: #5e6715;
$custom-light: #8e925a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6715",
  "rgb": {
    "r": 94,
    "g": 103,
    "b": 21
  },
  "hsl": {
    "h": 66.585,
    "s": 66.129,
    "l": 24.314
  },
  "oklch": {
    "l": 0.49006,
    "c": 0.10225,
    "h": 115.9
  },
  "luminance": 0.12134
}

Semantic roles & 50–950 ramp

primary
#5E6715
secondary
#453A9E
accent
#3FE951
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0D04
muted
#7E7D79

Preview Lab

Preview with #5E6715

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

Preview Lab → · Contrast checker → · Palette generator →

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