#5E6214#5E6214

#5E6214 is a mid, moderate yellow. Relative luminance 0.112; OKLCH L 47.7% C 0.097 H 112.5°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#5E6214
RGBrgb(94, 98, 20)
HSLhsl(63, 66%, 23%)
HSVhsv(63, 80%, 38%)
CMYKcmyk(4.1%, 0%, 79.6%, 61.6%)
CIE-LABlab(39.86, -11.94, 40.73)
CIE-LCHlch(39.86, 42.44, 106.35°)
OKLaboklab(47.74% -0.0371 0.0895)
OKLCHoklch(47.74% 0.097 112.5)
XYZxyz(9.1103, 11.1658, 2.3370)
Luminance0.1117 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6214 #181462
analogous
#623F14 #5E6214 #376214
triadic
#5E6214 #145E62 #62145E
tetradic
#5E6214 #14623F #181462 #621437
square
#5E6214 #14623F #181462 #621437
split-complementary
#5E6214 #143762 #3F1462
monochromatic
#181905 #2D2F0A #5E6214 #8F951E #C0C829

Accessibility & contrast

On white

6.50
#5E6214 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#5E6214 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E6214
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6214#FFFFFF#000000##FFFFFF
##5E62141.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D03
Deuteranopia (green-blind)
#6A5F1B
Tritanopia (blue-blind)
#655C53
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5e6214;
/* rgb */ color: rgb(94, 98, 20);
/* oklch */ color: oklch(47.7% 0.097 112.5);
Tailwind
colors: {
  custom: {
    50: '#8e8e59',
    500: '#5e6214',
    950: '#000000',
  },
}
SCSS
$custom: #5e6214;
$custom-light: #8e8e59;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6214",
  "rgb": {
    "r": 94,
    "g": 98,
    "b": 20
  },
  "hsl": {
    "h": 63.077,
    "s": 66.102,
    "l": 23.137
  },
  "oklch": {
    "l": 0.47744,
    "c": 0.0969,
    "h": 112.5
  },
  "luminance": 0.11166
}

Semantic roles & 50–950 ramp

primary
#5E6214
secondary
#3D3899
accent
#3FE947
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5E6214

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

Preview Lab → · Contrast checker → · Palette generator →

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