#9D921E#9D921E

#9D921E is a light, vivid yellow. Relative luminance 0.278; OKLCH L 65.0% C 0.128 H 103.6°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#9D921E
RGBrgb(157, 146, 30)
HSLhsl(55, 68%, 37%)
HSVhsv(55, 81%, 62%)
CMYKcmyk(0%, 7%, 80.9%, 38.4%)
CIE-LABlab(59.73, -8.55, 57.48)
CIE-LCHlch(59.73, 58.12, 98.46°)
OKLaboklab(64.99% -0.0302 0.1245)
OKLCHoklch(64.99% 0.128 103.6)
XYZxyz(24.4190, 27.8207, 5.3117)
Luminance0.2782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D921E #1E299D
analogous
#9D531E #9D921E #699D1E
triadic
#9D921E #1E9D92 #921E9D
tetradic
#9D921E #1E9D53 #1E299D #9D1E69
square
#9D921E #1E9D53 #1E299D #9D1E69
split-complementary
#9D921E #1E699D #531E9D
monochromatic
#36320A #6A6214 #9D921E #D0C228 #DFD357

Accessibility & contrast

On white

3.20
#9D921E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#9D921E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D921E
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D921E#FFFFFF#000000##000000
##9D921E1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#A39228
Tritanopia (blue-blind)
#A9877D
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9d921e;
/* rgb */ color: rgb(157, 146, 30);
/* oklch */ color: oklch(65.0% 0.128 103.6);
Tailwind
colors: {
  custom: {
    50: '#beb165',
    500: '#9d921e',
    950: '#000000',
  },
}
SCSS
$custom: #9d921e;
$custom-light: #beb165;
$custom-dark: #000000;
JSON
{
  "hex": "#9d921e",
  "rgb": {
    "r": 157,
    "g": 146,
    "b": 30
  },
  "hsl": {
    "h": 54.803,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.6499,
    "c": 0.12814,
    "h": 103.6
  },
  "luminance": 0.2782
}

Semantic roles & 50–950 ramp

primary
#9D921E
secondary
#545EC2
accent
#4CEB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9D921E

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

Preview Lab → · Contrast checker → · Palette generator →

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