#5E6810#5E6810

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

Color values

HEX#5E6810
RGBrgb(94, 104, 16)
HSLhsl(67, 73%, 24%)
HSVhsv(67, 85%, 41%)
CMYKcmyk(9.6%, 0%, 84.6%, 59.2%)
CIE-LABlab(41.72, -15.44, 43.76)
CIE-LCHlch(41.72, 46.40, 109.44°)
OKLaboklab(49.23% -0.0471 0.0952)
OKLCHoklch(49.23% 0.106 116.4)
XYZxyz(9.6602, 12.3179, 2.3588)
Luminance0.1232 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6810 #1A1068
analogous
#684610 #5E6810 #326810
triadic
#5E6810 #105E68 #68105E
tetradic
#5E6810 #106846 #1A1068 #681032
square
#5E6810 #106846 #1A1068 #681032
split-complementary
#5E6810 #103268 #461068
monochromatic
#181B04 #2E3308 #5E6810 #8E9D18 #BED220

Accessibility & contrast

On white

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

On black

3.46
#5E6810 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5E6810#FFFFFF#000000##FFFFFF
##5E68101.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706200
Deuteranopia (green-blind)
#6F6319
Tritanopia (blue-blind)
#656258
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5e6810;
/* rgb */ color: rgb(94, 104, 16);
/* oklch */ color: oklch(49.2% 0.106 116.4);
Tailwind
colors: {
  custom: {
    50: '#8f9358',
    500: '#5e6810',
    950: '#000000',
  },
}
SCSS
$custom: #5e6810;
$custom-light: #8f9358;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6810",
  "rgb": {
    "r": 94,
    "g": 104,
    "b": 16
  },
  "hsl": {
    "h": 66.818,
    "s": 73.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.49229,
    "c": 0.1062,
    "h": 116.4
  },
  "luminance": 0.12318
}

Semantic roles & 50–950 ramp

primary
#5E6810
secondary
#4034A0
accent
#38F04D
background
#F9F9F5
surface
#F1F1E9
border
#CBCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5E6810

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

Preview Lab → · Contrast checker → · Palette generator →

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