#9E982F#9E982F

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

Color values

HEX#9E982F
RGBrgb(158, 152, 47)
HSLhsl(57, 54%, 40%)
HSVhsv(57, 70%, 62%)
CMYKcmyk(0%, 3.8%, 70.3%, 38%)
CIE-LABlab(61.60, -10.54, 53.27)
CIE-LCHlch(61.60, 54.30, 101.20°)
OKLaboklab(66.53% -0.0342 0.1188)
OKLCHoklch(66.53% 0.124 106.1)
XYZxyz(25.8429, 29.9317, 7.1049)
Luminance0.2993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E982F #2F359E
analogous
#9E612F #9E982F #6C9E2F
triadic
#9E982F #2F9E98 #982F9E
tetradic
#9E982F #2F9E61 #2F359E #9E2F6C
square
#9E982F #2F9E61 #2F359E #9E2F6C
split-complementary
#9E982F #2F6C9E #612F9E
monochromatic
#403D13 #6F6B21 #9E982F #C7C043 #D5D072

Accessibility & contrast

On white

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

On black

6.99
#9E982F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E982F
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E982F#FFFFFF#000000##000000
##9E982F1.003.016.996.99
#FFFFFF3.011.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e982f;
/* rgb */ color: rgb(158, 152, 47);
/* oklch */ color: oklch(66.5% 0.124 106.1);
Tailwind
colors: {
  custom: {
    50: '#beb66e',
    500: '#9e982f',
    950: '#000000',
  },
}
SCSS
$custom: #9e982f;
$custom-light: #beb66e;
$custom-dark: #000000;
JSON
{
  "hex": "#9e982f",
  "rgb": {
    "r": 158,
    "g": 152,
    "b": 47
  },
  "hsl": {
    "h": 56.757,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.6653,
    "c": 0.12361,
    "h": 106.1
  },
  "luminance": 0.29931
}

Semantic roles & 50–950 ramp

primary
#9E982F
secondary
#6C70BD
accent
#52DE4A
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #9E982F

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

Preview Lab → · Contrast checker → · Palette generator →

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