#5E6712#5E6712

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

Color values

HEX#5E6712
RGBrgb(94, 103, 18)
HSLhsl(66, 70%, 24%)
HSVhsv(66, 83%, 40%)
CMYKcmyk(8.7%, 0%, 82.5%, 59.6%)
CIE-LABlab(41.41, -14.81, 42.85)
CIE-LCHlch(41.41, 45.34, 109.07°)
OKLaboklab(48.99% -0.0452 0.0936)
OKLCHoklch(48.99% 0.104 115.8)
XYZxyz(9.5758, 12.1240, 2.4079)
Luminance0.1212 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6712 #1B1267
analogous
#674512 #5E6712 #336712
triadic
#5E6712 #125E67 #67125E
tetradic
#5E6712 #126745 #1B1267 #671233
square
#5E6712 #126745 #1B1267 #671233
split-complementary
#5E6712 #123367 #451267
monochromatic
#181A05 #2E3309 #5E6712 #8E9B1B #BDCF24

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E6712#FFFFFF#000000##FFFFFF
##5E67121.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)
#6E621A
Tritanopia (blue-blind)
#656157
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5e6712;
/* rgb */ color: rgb(94, 103, 18);
/* oklch */ color: oklch(49.0% 0.104 115.8);
Tailwind
colors: {
  custom: {
    50: '#8f9258',
    500: '#5e6712',
    950: '#000000',
  },
}
SCSS
$custom: #5e6712;
$custom-light: #8f9258;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6712",
  "rgb": {
    "r": 94,
    "g": 103,
    "b": 18
  },
  "hsl": {
    "h": 66.353,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.48987,
    "c": 0.10397,
    "h": 115.8
  },
  "luminance": 0.12124
}

Semantic roles & 50–950 ramp

primary
#5E6712
secondary
#41369F
accent
#3BED4E
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0D04
muted
#7E7D79

Preview Lab

Preview with #5E6712

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

Preview Lab → · Contrast checker → · Palette generator →

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