#9D982E#9D982E

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

Color values

HEX#9D982E
RGBrgb(157, 152, 46)
HSLhsl(57, 55%, 40%)
HSVhsv(57, 71%, 62%)
CMYKcmyk(0%, 3.2%, 70.7%, 38.4%)
CIE-LABlab(61.50, -11.04, 53.54)
CIE-LCHlch(61.50, 54.66, 101.65°)
OKLaboklab(66.43% -0.0357 0.1192)
OKLCHoklch(66.43% 0.124 106.7)
XYZxyz(25.6270, 29.8227, 6.9907)
Luminance0.2982 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D982E #2E339D
analogous
#9D602E #9D982E #6B9D2E
triadic
#9D982E #2E9D98 #982E9D
tetradic
#9D982E #2E9D60 #2E339D #9D2E6B
square
#9D982E #2E9D60 #2E339D #9D2E6B
split-complementary
#9D982E #2E6B9D #602E9D
monochromatic
#3E3C12 #6E6A20 #9D982E #C7C141 #D5D170

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D982E#FFFFFF#000000##000000
##9D982E1.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)
#A5921D
Deuteranopia (green-blind)
#A79635
Tritanopia (blue-blind)
#A98E83
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9d982e;
/* rgb */ color: rgb(157, 152, 46);
/* oklch */ color: oklch(66.4% 0.124 106.7);
Tailwind
colors: {
  custom: {
    50: '#bdb66e',
    500: '#9d982e',
    950: '#000000',
  },
}
SCSS
$custom: #9d982e;
$custom-light: #bdb66e;
$custom-dark: #000000;
JSON
{
  "hex": "#9d982e",
  "rgb": {
    "r": 157,
    "g": 152,
    "b": 46
  },
  "hsl": {
    "h": 57.297,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.66432,
    "c": 0.12443,
    "h": 106.7
  },
  "luminance": 0.29822
}

Semantic roles & 50–950 ramp

primary
#9D982E
secondary
#6A6EBD
accent
#50DE4A
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #9D982E

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

Preview Lab → · Contrast checker → · Palette generator →

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