#9E8416#9E8416

#9E8416 is a mid, vivid yellow. Relative luminance 0.238; OKLCH L 62.0% C 0.121 H 94.2°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#9E8416
RGBrgb(158, 132, 22)
HSLhsl(49, 76%, 35%)
HSVhsv(49, 86%, 62%)
CMYKcmyk(0%, 16.5%, 86.1%, 38%)
CIE-LABlab(55.92, -0.70, 56.56)
CIE-LCHlch(55.92, 56.57, 90.71°)
OKLaboklab(61.98% -0.0088 0.1208)
OKLCHoklch(61.98% 0.121 94.2)
XYZxyz(22.4980, 23.8309, 4.1737)
Luminance0.2383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8416 #16309E
analogous
#9E4016 #9E8416 #749E16
triadic
#9E8416 #169E84 #84169E
tetradic
#9E8416 #169E40 #16309E #9E1674
square
#9E8416 #169E40 #16309E #9E1674
split-complementary
#9E8416 #16749E #40169E
monochromatic
#332A07 #68570F #9E8416 #D4B11D #E6C849

Accessibility & contrast

On white

3.64
#9E8416 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#9E8416 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E8416
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8416#FFFFFF#000000##000000
##9E84161.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938200
Deuteranopia (green-blind)
#9A891F
Tritanopia (blue-blind)
#AC7871
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9e8416;
/* rgb */ color: rgb(158, 132, 22);
/* oklch */ color: oklch(62.0% 0.121 94.2);
Tailwind
colors: {
  custom: {
    50: '#bfa760',
    500: '#9e8416',
    950: '#000000',
  },
}
SCSS
$custom: #9e8416;
$custom-light: #bfa760;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8416",
  "rgb": {
    "r": 158,
    "g": 132,
    "b": 22
  },
  "hsl": {
    "h": 48.529,
    "s": 75.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.61982,
    "c": 0.12116,
    "h": 94.2
  },
  "luminance": 0.2383
}

Semantic roles & 50–950 ramp

primary
#9E8416
secondary
#4961C7
accent
#5AF236
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F05
muted
#827F7A

Preview Lab

Preview with #9E8416

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

Preview Lab → · Contrast checker → · Palette generator →

#9E8416 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva