#5E6014#5E6014

#5E6014 is a mid, moderate yellow. Relative luminance 0.108; OKLCH L 47.2% C 0.095 H 111.1°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#5E6014
RGBrgb(94, 96, 20)
HSLhsl(62, 66%, 23%)
HSVhsv(62, 79%, 38%)
CMYKcmyk(2.1%, 0%, 79.2%, 62.4%)
CIE-LABlab(39.24, -10.82, 40.14)
CIE-LCHlch(39.24, 41.58, 105.08°)
OKLaboklab(47.25% -0.034 0.0883)
OKLCHoklch(47.25% 0.095 111.1)
XYZxyz(8.9255, 10.7962, 2.2754)
Luminance0.1080 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6014 #161460
analogous
#603C14 #5E6014 #386014
triadic
#5E6014 #145E60 #60145E
tetradic
#5E6014 #14603C #161460 #601438
square
#5E6014 #14603C #161460 #601438
split-complementary
#5E6014 #143860 #3C1460
monochromatic
#191905 #2C2D09 #5E6014 #90931F #C1C529

Accessibility & contrast

On white

6.65
#5E6014 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#5E6014 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E6014
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6014#FFFFFF#000000##FFFFFF
##5E60141.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B04
Deuteranopia (green-blind)
#695D1A
Tritanopia (blue-blind)
#655A52
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5e6014;
/* rgb */ color: rgb(94, 96, 20);
/* oklch */ color: oklch(47.2% 0.095 111.1);
Tailwind
colors: {
  custom: {
    50: '#8e8d58',
    500: '#5e6014',
    950: '#000000',
  },
}
SCSS
$custom: #5e6014;
$custom-light: #8e8d58;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6014",
  "rgb": {
    "r": 94,
    "g": 96,
    "b": 20
  },
  "hsl": {
    "h": 61.579,
    "s": 65.517,
    "l": 22.745
  },
  "oklch": {
    "l": 0.47245,
    "c": 0.09458,
    "h": 111.1
  },
  "luminance": 0.10796
}

Semantic roles & 50–950 ramp

primary
#5E6014
secondary
#3B3898
accent
#3FE844
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5E6014

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

Preview Lab → · Contrast checker → · Palette generator →

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