#5E6213#5E6213

#5E6213 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#5E6213
RGBrgb(94, 98, 19)
HSLhsl(63, 68%, 23%)
HSVhsv(63, 81%, 38%)
CMYKcmyk(4.1%, 0%, 80.6%, 61.6%)
CIE-LABlab(39.85, -11.99, 41.08)
CIE-LCHlch(39.85, 42.80, 106.27°)
OKLaboklab(47.74% -0.0374 0.0901)
OKLCHoklch(47.74% 0.097 112.5)
XYZxyz(9.1016, 11.1623, 2.2911)
Luminance0.1116 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6213 #171362
analogous
#623E13 #5E6213 #366213
triadic
#5E6213 #135E62 #62135E
tetradic
#5E6213 #13623E #171362 #621336
square
#5E6213 #13623E #171362 #621336
split-complementary
#5E6213 #133662 #3E1362
monochromatic
#191A05 #2D2F09 #5E6213 #8F951D #C0C927

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E6213#FFFFFF#000000##FFFFFF
##5E62131.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)
#6A5D02
Deuteranopia (green-blind)
#6A5F1A
Tritanopia (blue-blind)
#655C53
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5e6213;
/* rgb */ color: rgb(94, 98, 19);
/* oklch */ color: oklch(47.7% 0.097 112.5);
Tailwind
colors: {
  custom: {
    50: '#8e8e58',
    500: '#5e6213',
    950: '#000000',
  },
}
SCSS
$custom: #5e6213;
$custom-light: #8e8e58;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6213",
  "rgb": {
    "r": 94,
    "g": 98,
    "b": 19
  },
  "hsl": {
    "h": 63.038,
    "s": 67.521,
    "l": 22.941
  },
  "oklch": {
    "l": 0.47738,
    "c": 0.09749,
    "h": 112.5
  },
  "luminance": 0.11162
}

Semantic roles & 50–950 ramp

primary
#5E6213
secondary
#3C379A
accent
#3DEA46
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5E6213

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

Preview Lab → · Contrast checker → · Palette generator →

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