#5E6814#5E6814

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

Color values

HEX#5E6814
RGBrgb(94, 104, 20)
HSLhsl(67, 68%, 24%)
HSVhsv(67, 81%, 41%)
CMYKcmyk(9.6%, 0%, 80.8%, 59.2%)
CIE-LABlab(41.74, -15.27, 42.47)
CIE-LCHlch(41.74, 45.13, 109.77°)
OKLaboklab(49.25% -0.0463 0.0932)
OKLCHoklch(49.25% 0.104 116.4)
XYZxyz(9.6929, 12.3310, 2.5312)
Luminance0.1233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6814 #1E1468
analogous
#684814 #5E6814 #346814
triadic
#5E6814 #145E68 #68145E
tetradic
#5E6814 #146848 #1E1468 #681434
square
#5E6814 #146848 #1E1468 #681434
split-complementary
#5E6814 #143468 #481468
monochromatic
#171A05 #30350A #5E6814 #8C9B1E #BBCF28

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E6814#FFFFFF#000000##FFFFFF
##5E68141.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)
#706201
Deuteranopia (green-blind)
#6F631C
Tritanopia (blue-blind)
#646258
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5e6814;
/* rgb */ color: rgb(94, 104, 20);
/* oklch */ color: oklch(49.3% 0.104 116.4);
Tailwind
colors: {
  custom: {
    50: '#8e935a',
    500: '#5e6814',
    950: '#000000',
  },
}
SCSS
$custom: #5e6814;
$custom-light: #8e935a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6814",
  "rgb": {
    "r": 94,
    "g": 104,
    "b": 20
  },
  "hsl": {
    "h": 67.143,
    "s": 67.742,
    "l": 24.314
  },
  "oklch": {
    "l": 0.49252,
    "c": 0.10407,
    "h": 116.4
  },
  "luminance": 0.12331
}

Semantic roles & 50–950 ramp

primary
#5E6814
secondary
#45399F
accent
#3DEB52
background
#F9F9F5
surface
#F1F1E9
border
#CBCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5E6814

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

Preview Lab → · Contrast checker → · Palette generator →

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