#9E981E#9E981E

#9E981E is a light, vivid yellow. Relative luminance 0.298; OKLCH L 66.4% C 0.133 H 106.5°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#9E981E
RGBrgb(158, 152, 30)
HSLhsl(57, 68%, 37%)
HSVhsv(57, 81%, 62%)
CMYKcmyk(0%, 3.8%, 81%, 38%)
CIE-LABlab(61.50, -11.30, 59.08)
CIE-LCHlch(61.50, 60.15, 100.82°)
OKLaboklab(66.42% -0.0379 0.1279)
OKLCHoklch(66.42% 0.133 106.5)
XYZxyz(25.5642, 29.8203, 5.6373)
Luminance0.2982 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E981E #1E249E
analogous
#9E581E #9E981E #649E1E
triadic
#9E981E #1E9E98 #981E9E
tetradic
#9E981E #1E9E58 #1E249E #9E1E64
square
#9E981E #1E9E58 #1E249E #9E1E64
split-complementary
#9E981E #1E649E #581E9E
monochromatic
#37350A #6B6714 #9E981E #D1C928 #DFD957

Accessibility & contrast

On white

3.02
#9E981E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#9E981E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E981E
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E981E#FFFFFF#000000##000000
##9E981E1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#A89729
Tritanopia (blue-blind)
#AA8D82
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9e981e;
/* rgb */ color: rgb(158, 152, 30);
/* oklch */ color: oklch(66.4% 0.133 106.5);
Tailwind
colors: {
  custom: {
    50: '#beb666',
    500: '#9e981e',
    950: '#000000',
  },
}
SCSS
$custom: #9e981e;
$custom-light: #beb666;
$custom-dark: #000000;
JSON
{
  "hex": "#9e981e",
  "rgb": {
    "r": 158,
    "g": 152,
    "b": 30
  },
  "hsl": {
    "h": 57.188,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.66423,
    "c": 0.13342,
    "h": 106.5
  },
  "luminance": 0.29819
}

Semantic roles & 50–950 ramp

primary
#9E981E
secondary
#555AC3
accent
#45EB3D
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9E981E

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

Preview Lab → · Contrast checker → · Palette generator →

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