#5E6813#5E6813

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

Color values

HEX#5E6813
RGBrgb(94, 104, 19)
HSLhsl(67, 69%, 24%)
HSVhsv(67, 82%, 41%)
CMYKcmyk(9.6%, 0%, 81.7%, 59.2%)
CIE-LABlab(41.73, -15.31, 42.81)
CIE-LCHlch(41.73, 45.46, 109.68°)
OKLaboklab(49.25% -0.0465 0.0937)
OKLCHoklch(49.25% 0.105 116.4)
XYZxyz(9.6842, 12.3275, 2.4852)
Luminance0.1233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6813 #1D1368
analogous
#684813 #5E6813 #346813
triadic
#5E6813 #135E68 #68135E
tetradic
#5E6813 #136848 #1D1368 #681334
square
#5E6813 #136848 #1D1368 #681334
split-complementary
#5E6813 #133468 #481368
monochromatic
#171A05 #2F340A #5E6813 #8D9C1C #BCCF26

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E6813#FFFFFF#000000##FFFFFF
##5E68131.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)
#706200
Deuteranopia (green-blind)
#6F631B
Tritanopia (blue-blind)
#646258
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5e6813;
/* rgb */ color: rgb(94, 104, 19);
/* oklch */ color: oklch(49.2% 0.105 116.4);
Tailwind
colors: {
  custom: {
    50: '#8f9359',
    500: '#5e6813',
    950: '#000000',
  },
}
SCSS
$custom: #5e6813;
$custom-light: #8f9359;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6813",
  "rgb": {
    "r": 94,
    "g": 104,
    "b": 19
  },
  "hsl": {
    "h": 67.059,
    "s": 69.106,
    "l": 24.118
  },
  "oklch": {
    "l": 0.49245,
    "c": 0.10463,
    "h": 116.4
  },
  "luminance": 0.12327
}

Semantic roles & 50–950 ramp

primary
#5E6813
secondary
#44379F
accent
#3CEC51
background
#F9F9F5
surface
#F1F1E9
border
#CBCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5E6813

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

Preview Lab → · Contrast checker → · Palette generator →

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