#5E6710#5E6710

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

Color values

HEX#5E6710
RGBrgb(94, 103, 16)
HSLhsl(66, 73%, 23%)
HSVhsv(66, 84%, 40%)
CMYKcmyk(8.7%, 0%, 84.5%, 59.6%)
CIE-LABlab(41.40, -14.90, 43.48)
CIE-LCHlch(41.40, 45.96, 108.91°)
OKLaboklab(48.98% -0.0457 0.0946)
OKLCHoklch(48.98% 0.105 115.8)
XYZxyz(9.5601, 12.1177, 2.3255)
Luminance0.1212 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6710 #191067
analogous
#674410 #5E6710 #326710
triadic
#5E6710 #105E67 #67105E
tetradic
#5E6710 #106744 #191067 #671032
square
#5E6710 #106744 #191067 #671032
split-complementary
#5E6710 #103267 #441067
monochromatic
#181A04 #2E3208 #5E6710 #8E9C18 #BFD120

Accessibility & contrast

On white

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

On black

3.42
#5E6710 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5E6710#FFFFFF#000000##FFFFFF
##5E67101.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6100
Deuteranopia (green-blind)
#6E6219
Tritanopia (blue-blind)
#656057
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5e6710;
/* rgb */ color: rgb(94, 103, 16);
/* oklch */ color: oklch(49.0% 0.105 115.8);
Tailwind
colors: {
  custom: {
    50: '#8f9258',
    500: '#5e6710',
    950: '#000000',
  },
}
SCSS
$custom: #5e6710;
$custom-light: #8f9258;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6710",
  "rgb": {
    "r": 94,
    "g": 103,
    "b": 16
  },
  "hsl": {
    "h": 66.207,
    "s": 73.109,
    "l": 23.333
  },
  "oklch": {
    "l": 0.48976,
    "c": 0.10501,
    "h": 115.8
  },
  "luminance": 0.12118
}

Semantic roles & 50–950 ramp

primary
#5E6710
secondary
#3F339F
accent
#38F04B
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0D04
muted
#7E7D79

Preview Lab

Preview with #5E6710

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

Preview Lab → · Contrast checker → · Palette generator →

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