#9F982E#9F982E

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

Color values

HEX#9F982E
RGBrgb(159, 152, 46)
HSLhsl(56, 55%, 40%)
HSVhsv(56, 71%, 62%)
CMYKcmyk(0%, 4.4%, 71.1%, 37.6%)
CIE-LABlab(61.68, -10.15, 53.77)
CIE-LCHlch(61.68, 54.72, 100.69°)
OKLaboklab(66.61% -0.0333 0.1196)
OKLCHoklch(66.61% 0.124 105.5)
XYZxyz(26.0205, 30.0256, 7.0091)
Luminance0.3003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F982E #2E359F
analogous
#9F5F2E #9F982E #6E9F2E
triadic
#9F982E #2E9F98 #982E9F
tetradic
#9F982E #2E9F5F #2E359F #9F2E6E
square
#9F982E #2E9F5F #2E359F #9F2E6E
split-complementary
#9F982E #2E6E9F #5F2E9F
monochromatic
#403D13 #706B20 #9F982E #C8C042 #D6D071

Accessibility & contrast

On white

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

On black

7.01
#9F982E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F982E
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F982E#FFFFFF#000000##000000
##9F982E1.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f982e;
/* rgb */ color: rgb(159, 152, 46);
/* oklch */ color: oklch(66.6% 0.124 105.5);
Tailwind
colors: {
  custom: {
    50: '#bfb66e',
    500: '#9f982e',
    950: '#000000',
  },
}
SCSS
$custom: #9f982e;
$custom-light: #bfb66e;
$custom-dark: #000000;
JSON
{
  "hex": "#9f982e",
  "rgb": {
    "r": 159,
    "g": 152,
    "b": 46
  },
  "hsl": {
    "h": 56.283,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.66614,
    "c": 0.12417,
    "h": 105.5
  },
  "luminance": 0.30025
}

Semantic roles & 50–950 ramp

primary
#9F982E
secondary
#6B70BE
accent
#53DE49
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #9F982E

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

Preview Lab → · Contrast checker → · Palette generator →

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