#9D9220#9D9220

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

Color values

HEX#9D9220
RGBrgb(157, 146, 32)
HSLhsl(55, 66%, 37%)
HSVhsv(55, 80%, 62%)
CMYKcmyk(0%, 7%, 79.6%, 38.4%)
CIE-LABlab(59.74, -8.48, 56.87)
CIE-LCHlch(59.74, 57.50, 98.48°)
OKLaboklab(65% -0.0298 0.1236)
OKLCHoklch(65% 0.127 103.6)
XYZxyz(24.4453, 27.8312, 5.4505)
Luminance0.2783 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9220 #202B9D
analogous
#9D5420 #9D9220 #6A9D20
triadic
#9D9220 #209D92 #92209D
tetradic
#9D9220 #209D54 #202B9D #9D206A
square
#9D9220 #209D54 #202B9D #9D206A
split-complementary
#9D9220 #206A9D #54209D
monochromatic
#37330B #6A6316 #9D9220 #D0C12A #DDD25A

Accessibility & contrast

On white

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

On black

6.57
#9D9220 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D9220
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9220#FFFFFF#000000##000000
##9D92201.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d9220;
/* rgb */ color: rgb(157, 146, 32);
/* oklch */ color: oklch(65.0% 0.127 103.6);
Tailwind
colors: {
  custom: {
    50: '#beb166',
    500: '#9d9220',
    950: '#000000',
  },
}
SCSS
$custom: #9d9220;
$custom-light: #beb166;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9220",
  "rgb": {
    "r": 157,
    "g": 146,
    "b": 32
  },
  "hsl": {
    "h": 54.72,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.65,
    "c": 0.12716,
    "h": 103.6
  },
  "luminance": 0.2783
}

Semantic roles & 50–950 ramp

primary
#9D9220
secondary
#5761C1
accent
#4EE93F
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9D9220

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

Preview Lab → · Contrast checker → · Palette generator →

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