#5E6A16#5E6A16

#5E6A16 is a mid, moderate yellow. Relative luminance 0.127; OKLCH L 49.8% C 0.105 H 117.6°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#5E6A16
RGBrgb(94, 106, 22)
HSLhsl(69, 66%, 25%)
HSVhsv(69, 79%, 42%)
CMYKcmyk(11.3%, 0%, 79.2%, 58.4%)
CIE-LABlab(42.38, -16.25, 42.35)
CIE-LCHlch(42.38, 45.36, 111.00°)
OKLaboklab(49.77% -0.0489 0.0933)
OKLCHoklch(49.77% 0.105 117.6)
XYZxyz(9.9152, 12.7458, 2.6968)
Luminance0.1275 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6A16 #22166A
analogous
#6A4C16 #5E6A16 #346A16
triadic
#5E6A16 #165E6A #6A165E
tetradic
#5E6A16 #166A4C #22166A #6A1634
square
#5E6A16 #166A4C #22166A #6A1634
split-complementary
#5E6A16 #16346A #4C166A
monochromatic
#161905 #31370B #5E6A16 #8B9D21 #B8CF2B

Accessibility & contrast

On white

5.92
#5E6A16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#5E6A16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E6A16
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6A16#FFFFFF#000000##FFFFFF
##5E6A161.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726404
Deuteranopia (green-blind)
#70641E
Tritanopia (blue-blind)
#64645A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5e6a16;
/* rgb */ color: rgb(94, 106, 22);
/* oklch */ color: oklch(49.8% 0.105 117.6);
Tailwind
colors: {
  custom: {
    50: '#8e945b',
    500: '#5e6a16',
    950: '#000000',
  },
}
SCSS
$custom: #5e6a16;
$custom-light: #8e945b;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6a16",
  "rgb": {
    "r": 94,
    "g": 106,
    "b": 22
  },
  "hsl": {
    "h": 68.571,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.4977,
    "c": 0.10536,
    "h": 117.6
  },
  "luminance": 0.12746
}

Semantic roles & 50–950 ramp

primary
#5E6A16
secondary
#4A3BA0
accent
#3FE957
background
#F9F9F5
surface
#F1F1E9
border
#CBCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5E6A16

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

Preview Lab → · Contrast checker → · Palette generator →

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