#9E982A#9E982A

#9E982A is a light, vivid yellow. Relative luminance 0.299; OKLCH L 66.5% C 0.127 H 106.2°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#9E982A
RGBrgb(158, 152, 42)
HSLhsl(57, 58%, 39%)
HSVhsv(57, 73%, 62%)
CMYKcmyk(0%, 3.8%, 73.4%, 38%)
CIE-LABlab(61.56, -10.80, 55.15)
CIE-LCHlch(61.56, 56.20, 101.08°)
OKLaboklab(66.49% -0.0354 0.1219)
OKLCHoklch(66.49% 0.127 106.2)
XYZxyz(25.7477, 29.8937, 6.6038)
Luminance0.2989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E982A #2A309E
analogous
#9E5E2A #9E982A #6A9E2A
triadic
#9E982A #2A9E98 #982A9E
tetradic
#9E982A #2A9E5E #2A309E #9E2A6A
square
#9E982A #2A9E5E #2A309E #9E2A6A
split-complementary
#9E982A #2A6A9E #5E2A9E
monochromatic
#3D3B10 #6E691D #9E982A #CBC33A #D8D26B

Accessibility & contrast

On white

3.01
#9E982A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#9E982A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E982A
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E982A#FFFFFF#000000##000000
##9E982A1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59216
Deuteranopia (green-blind)
#A89732
Tritanopia (blue-blind)
#AA8E83
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9e982a;
/* rgb */ color: rgb(158, 152, 42);
/* oklch */ color: oklch(66.5% 0.127 106.2);
Tailwind
colors: {
  custom: {
    50: '#beb66c',
    500: '#9e982a',
    950: '#000000',
  },
}
SCSS
$custom: #9e982a;
$custom-light: #beb66c;
$custom-dark: #000000;
JSON
{
  "hex": "#9e982a",
  "rgb": {
    "r": 158,
    "g": 152,
    "b": 42
  },
  "hsl": {
    "h": 56.897,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.66494,
    "c": 0.1269,
    "h": 106.2
  },
  "luminance": 0.29893
}

Semantic roles & 50–950 ramp

primary
#9E982A
secondary
#666ABE
accent
#4FE147
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #9E982A

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

Preview Lab → · Contrast checker → · Palette generator →

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