#9E982D#9E982D

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

Color values

HEX#9E982D
RGBrgb(158, 152, 45)
HSLhsl(57, 56%, 40%)
HSVhsv(57, 72%, 62%)
CMYKcmyk(0%, 3.8%, 71.5%, 38%)
CIE-LABlab(61.58, -10.65, 54.03)
CIE-LCHlch(61.58, 55.07, 101.15°)
OKLaboklab(66.52% -0.0347 0.1201)
OKLCHoklch(66.52% 0.125 106.1)
XYZxyz(25.8035, 29.9160, 6.8973)
Luminance0.2992 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E982D #2D339E
analogous
#9E5F2D #9E982D #6C9E2D
triadic
#9E982D #2D9E98 #982D9E
tetradic
#9E982D #2D9E5F #2D339E #9E2D6C
square
#9E982D #2D9E5F #2D339E #9E2D6C
split-complementary
#9E982D #2D6C9E #5F2D9E
monochromatic
#3F3C12 #6E6A1F #9E982D #C9C140 #D6D16F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E982D#FFFFFF#000000##000000
##9E982D1.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)
#A5921B
Deuteranopia (green-blind)
#A89734
Tritanopia (blue-blind)
#AA8E83
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9e982d;
/* rgb */ color: rgb(158, 152, 45);
/* oklch */ color: oklch(66.5% 0.125 106.1);
Tailwind
colors: {
  custom: {
    50: '#beb66d',
    500: '#9e982d',
    950: '#000000',
  },
}
SCSS
$custom: #9e982d;
$custom-light: #beb66d;
$custom-dark: #000000;
JSON
{
  "hex": "#9e982d",
  "rgb": {
    "r": 158,
    "g": 152,
    "b": 45
  },
  "hsl": {
    "h": 56.814,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.66515,
    "c": 0.12497,
    "h": 106.1
  },
  "luminance": 0.29915
}

Semantic roles & 50–950 ramp

primary
#9E982D
secondary
#696EBD
accent
#51DF49
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #9E982D

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

Preview Lab → · Contrast checker → · Palette generator →

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