#5E6815#5E6815

#5E6815 is a mid, moderate yellow. Relative luminance 0.123; OKLCH L 49.3% C 0.103 H 116.5°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#5E6815
RGBrgb(94, 104, 21)
HSLhsl(67, 66%, 25%)
HSVhsv(67, 80%, 41%)
CMYKcmyk(9.6%, 0%, 79.8%, 59.2%)
CIE-LABlab(41.74, -15.22, 42.12)
CIE-LCHlch(41.74, 44.78, 109.87°)
OKLaboklab(49.26% -0.0461 0.0926)
OKLCHoklch(49.26% 0.103 116.5)
XYZxyz(9.7020, 12.3346, 2.5790)
Luminance0.1233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6815 #1F1568
analogous
#684915 #5E6815 #356815
triadic
#5E6815 #155E68 #68155E
tetradic
#5E6815 #156849 #1F1568 #681535
square
#5E6815 #156849 #1F1568 #681535
split-complementary
#5E6815 #153568 #491568
monochromatic
#171905 #30350B #5E6815 #8C9B1F #BACE2A

Accessibility & contrast

On white

6.06
#5E6815 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#5E6815 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E6815
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6815#FFFFFF#000000##FFFFFF
##5E68151.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706203
Deuteranopia (green-blind)
#6F631C
Tritanopia (blue-blind)
#646258
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5e6815;
/* rgb */ color: rgb(94, 104, 21);
/* oklch */ color: oklch(49.3% 0.103 116.5);
Tailwind
colors: {
  custom: {
    50: '#8e935a',
    500: '#5e6815',
    950: '#000000',
  },
}
SCSS
$custom: #5e6815;
$custom-light: #8e935a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6815",
  "rgb": {
    "r": 94,
    "g": 104,
    "b": 21
  },
  "hsl": {
    "h": 67.229,
    "s": 66.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.49258,
    "c": 0.10348,
    "h": 116.5
  },
  "luminance": 0.12334
}

Semantic roles & 50–950 ramp

primary
#5E6815
secondary
#463A9F
accent
#3EE953
background
#F9F9F5
surface
#F1F1E9
border
#CBCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5E6815

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

Preview Lab → · Contrast checker → · Palette generator →

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