#5E6514#5E6514

#5E6514 is a mid, moderate yellow. Relative luminance 0.117; OKLCH L 48.5% C 0.100 H 114.6°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#5E6514
RGBrgb(94, 101, 20)
HSLhsl(65, 67%, 24%)
HSVhsv(65, 80%, 40%)
CMYKcmyk(6.9%, 0%, 80.2%, 60.4%)
CIE-LABlab(40.80, -13.62, 41.60)
CIE-LCHlch(40.80, 43.77, 108.13°)
OKLaboklab(48.5% -0.0418 0.0913)
OKLCHoklch(48.5% 0.1 114.6)
XYZxyz(9.3963, 11.7377, 2.4323)
Luminance0.1174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6514 #1B1465
analogous
#654314 #5E6514 #356514
triadic
#5E6514 #145E65 #65145E
tetradic
#5E6514 #146543 #1B1465 #651435
square
#5E6514 #146543 #1B1465 #651435
split-complementary
#5E6514 #143565 #431465
monochromatic
#181A05 #2E320A #5E6514 #8E981E #BDCB28

Accessibility & contrast

On white

6.27
#5E6514 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#5E6514 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E6514
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6514#FFFFFF#000000##FFFFFF
##5E65141.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6002
Deuteranopia (green-blind)
#6D611B
Tritanopia (blue-blind)
#655F56
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5e6514;
/* rgb */ color: rgb(94, 101, 20);
/* oklch */ color: oklch(48.5% 0.100 114.6);
Tailwind
colors: {
  custom: {
    50: '#8e9059',
    500: '#5e6514',
    950: '#000000',
  },
}
SCSS
$custom: #5e6514;
$custom-light: #8e9059;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6514",
  "rgb": {
    "r": 94,
    "g": 101,
    "b": 20
  },
  "hsl": {
    "h": 65.185,
    "s": 66.942,
    "l": 23.725
  },
  "oklch": {
    "l": 0.48496,
    "c": 0.10044,
    "h": 114.6
  },
  "luminance": 0.11738
}

Semantic roles & 50–950 ramp

primary
#5E6514
secondary
#41399C
accent
#3EEA4D
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5E6514

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

Preview Lab → · Contrast checker → · Palette generator →

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