#5E6916#5E6916

#5E6916 is a mid, moderate yellow. Relative luminance 0.125; OKLCH L 49.5% C 0.104 H 117.1°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#5E6916
RGBrgb(94, 105, 22)
HSLhsl(68, 65%, 25%)
HSVhsv(68, 79%, 41%)
CMYKcmyk(10.5%, 0%, 79%, 58.8%)
CIE-LABlab(42.06, -15.71, 42.06)
CIE-LCHlch(42.06, 44.90, 110.49°)
OKLaboklab(49.52% -0.0474 0.0927)
OKLCHoklch(49.52% 0.104 117.1)
XYZxyz(9.8127, 12.5409, 2.6626)
Luminance0.1254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6916 #211669
analogous
#694B16 #5E6916 #346916
triadic
#5E6916 #165E69 #69165E
tetradic
#5E6916 #16694B #211669 #691634
square
#5E6916 #16694B #211669 #691634
split-complementary
#5E6916 #163469 #4B1669
monochromatic
#171905 #31360B #5E6916 #8B9C21 #B9CE2B

Accessibility & contrast

On white

5.99
#5E6916 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#5E6916 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E6916
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6916#FFFFFF#000000##FFFFFF
##5E69161.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716304
Deuteranopia (green-blind)
#70641D
Tritanopia (blue-blind)
#646359
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5e6916;
/* rgb */ color: rgb(94, 105, 22);
/* oklch */ color: oklch(49.5% 0.104 117.1);
Tailwind
colors: {
  custom: {
    50: '#8e935b',
    500: '#5e6916',
    950: '#000000',
  },
}
SCSS
$custom: #5e6916;
$custom-light: #8e935b;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6916",
  "rgb": {
    "r": 94,
    "g": 105,
    "b": 22
  },
  "hsl": {
    "h": 67.952,
    "s": 65.354,
    "l": 24.902
  },
  "oklch": {
    "l": 0.49517,
    "c": 0.10411,
    "h": 117.1
  },
  "luminance": 0.12541
}

Semantic roles & 50–950 ramp

primary
#5E6916
secondary
#493B9F
accent
#3FE856
background
#F9F9F5
surface
#F1F1E9
border
#CBCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5E6916

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

Preview Lab → · Contrast checker → · Palette generator →

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