#9F982D#9F982D

#9F982D is a light, vivid yellow. Relative luminance 0.300; OKLCH L 66.6% C 0.125 H 105.6°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#9F982D
RGBrgb(159, 152, 45)
HSLhsl(56, 56%, 40%)
HSVhsv(56, 72%, 62%)
CMYKcmyk(0%, 4.4%, 71.7%, 37.6%)
CIE-LABlab(61.67, -10.20, 54.15)
CIE-LCHlch(61.67, 55.10, 100.67°)
OKLaboklab(66.61% -0.0335 0.1203)
OKLCHoklch(66.61% 0.125 105.6)
XYZxyz(26.0010, 30.0178, 6.9065)
Luminance0.3002 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F982D #2D349F
analogous
#9F5F2D #9F982D #6D9F2D
triadic
#9F982D #2D9F98 #982D9F
tetradic
#9F982D #2D9F5F #2D349F #9F2D6D
square
#9F982D #2D9F5F #2D349F #9F2D6D
split-complementary
#9F982D #2D6D9F #5F2D9F
monochromatic
#403D12 #6F6A20 #9F982D #C9C140 #D6D070

Accessibility & contrast

On white

3.00
#9F982D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#9F982D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F982D
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F982D#FFFFFF#000000##000000
##9F982D1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5921B
Deuteranopia (green-blind)
#A89734
Tritanopia (blue-blind)
#AB8E83
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9f982d;
/* rgb */ color: rgb(159, 152, 45);
/* oklch */ color: oklch(66.6% 0.125 105.6);
Tailwind
colors: {
  custom: {
    50: '#bfb66d',
    500: '#9f982d',
    950: '#000000',
  },
}
SCSS
$custom: #9f982d;
$custom-light: #bfb66d;
$custom-dark: #000000;
JSON
{
  "hex": "#9f982d",
  "rgb": {
    "r": 159,
    "g": 152,
    "b": 45
  },
  "hsl": {
    "h": 56.316,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.66606,
    "c": 0.12485,
    "h": 105.6
  },
  "luminance": 0.30017
}

Semantic roles & 50–950 ramp

primary
#9F982D
secondary
#6A6FBE
accent
#52DF49
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #9F982D

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

Preview Lab → · Contrast checker → · Palette generator →

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