#9D982F#9D982F

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

Color values

HEX#9D982F
RGBrgb(157, 152, 47)
HSLhsl(57, 54%, 40%)
HSVhsv(57, 70%, 62%)
CMYKcmyk(0%, 3.2%, 70.1%, 38.4%)
CIE-LABlab(61.51, -10.99, 53.15)
CIE-LCHlch(61.51, 54.27, 101.68°)
OKLaboklab(66.44% -0.0354 0.1186)
OKLCHoklch(66.44% 0.124 106.6)
XYZxyz(25.6469, 29.8307, 7.0957)
Luminance0.2983 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D982F #2F349D
analogous
#9D612F #9D982F #6B9D2F
triadic
#9D982F #2F9D98 #982F9D
tetradic
#9D982F #2F9D61 #2F349D #9D2F6B
square
#9D982F #2F9D61 #2F349D #9D2F6B
split-complementary
#9D982F #2F6B9D #612F9D
monochromatic
#3F3D13 #6E6A21 #9D982F #C7C143 #D5D072

Accessibility & contrast

On white

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

On black

6.97
#9D982F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D982F
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D982F#FFFFFF#000000##000000
##9D982F1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5921F
Deuteranopia (green-blind)
#A79636
Tritanopia (blue-blind)
#A88E83
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9d982f;
/* rgb */ color: rgb(157, 152, 47);
/* oklch */ color: oklch(66.4% 0.124 106.6);
Tailwind
colors: {
  custom: {
    50: '#bdb66e',
    500: '#9d982f',
    950: '#000000',
  },
}
SCSS
$custom: #9d982f;
$custom-light: #bdb66e;
$custom-dark: #000000;
JSON
{
  "hex": "#9d982f",
  "rgb": {
    "r": 157,
    "g": 152,
    "b": 47
  },
  "hsl": {
    "h": 57.273,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.6644,
    "c": 0.12374,
    "h": 106.6
  },
  "luminance": 0.2983
}

Semantic roles & 50–950 ramp

primary
#9D982F
secondary
#6B6FBC
accent
#51DD4B
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #9D982F

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

Preview Lab → · Contrast checker → · Palette generator →

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