#9D981E#9D981E

#9D981E is a light, vivid yellow. Relative luminance 0.297; OKLCH L 66.3% C 0.134 H 107.0°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#9D981E
RGBrgb(157, 152, 30)
HSLhsl(58, 68%, 37%)
HSVhsv(58, 81%, 62%)
CMYKcmyk(0%, 3.2%, 80.9%, 38.4%)
CIE-LABlab(61.41, -11.74, 58.97)
CIE-LCHlch(61.41, 60.12, 101.26°)
OKLaboklab(66.33% -0.0391 0.1277)
OKLCHoklch(66.33% 0.134 107)
XYZxyz(25.3683, 29.7192, 5.6281)
Luminance0.2972 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D981E #1E239D
analogous
#9D591E #9D981E #639D1E
triadic
#9D981E #1E9D98 #981E9D
tetradic
#9D981E #1E9D59 #1E239D #9D1E63
square
#9D981E #1E9D59 #1E239D #9D1E63
split-complementary
#9D981E #1E639D #591E9D
monochromatic
#36350A #6A6614 #9D981E #D0CA28 #DFD957

Accessibility & contrast

On white

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

On black

6.94
#9D981E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D981E
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D981E#FFFFFF#000000##000000
##9D981E1.003.026.946.94
#FFFFFF3.021.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#A89629
Tritanopia (blue-blind)
#A98D82
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9d981e;
/* rgb */ color: rgb(157, 152, 30);
/* oklch */ color: oklch(66.3% 0.134 107.0);
Tailwind
colors: {
  custom: {
    50: '#beb666',
    500: '#9d981e',
    950: '#000000',
  },
}
SCSS
$custom: #9d981e;
$custom-light: #beb666;
$custom-dark: #000000;
JSON
{
  "hex": "#9d981e",
  "rgb": {
    "r": 157,
    "g": 152,
    "b": 30
  },
  "hsl": {
    "h": 57.638,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.66332,
    "c": 0.13358,
    "h": 107
  },
  "luminance": 0.29718
}

Semantic roles & 50–950 ramp

primary
#9D981E
secondary
#5459C2
accent
#44EB3D
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9D981E

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

Preview Lab → · Contrast checker → · Palette generator →

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