#9D9120#9D9120

#9D9120 is a light, vivid yellow. Relative luminance 0.275; OKLCH L 64.8% C 0.126 H 103.0°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#9D9120
RGBrgb(157, 145, 32)
HSLhsl(54, 66%, 37%)
HSVhsv(54, 80%, 62%)
CMYKcmyk(0%, 7.6%, 79.6%, 38.4%)
CIE-LABlab(59.46, -7.94, 56.62)
CIE-LCHlch(59.46, 57.17, 97.98°)
OKLaboklab(64.78% -0.0283 0.1231)
OKLCHoklch(64.78% 0.126 103)
XYZxyz(24.2919, 27.5242, 5.3994)
Luminance0.2752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9120 #202C9D
analogous
#9D5320 #9D9120 #6B9D20
triadic
#9D9120 #209D91 #91209D
tetradic
#9D9120 #209D53 #202C9D #9D206B
square
#9D9120 #209D53 #202C9D #9D206B
split-complementary
#9D9120 #206B9D #53209D
monochromatic
#37330B #6A6216 #9D9120 #D0C02A #DDD15A

Accessibility & contrast

On white

3.23
#9D9120 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#9D9120 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D9120
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9120#FFFFFF#000000##000000
##9D91201.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C01
Deuteranopia (green-blind)
#A39229
Tritanopia (blue-blind)
#A9867C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9d9120;
/* rgb */ color: rgb(157, 145, 32);
/* oklch */ color: oklch(64.8% 0.126 103.0);
Tailwind
colors: {
  custom: {
    50: '#beb066',
    500: '#9d9120',
    950: '#000000',
  },
}
SCSS
$custom: #9d9120;
$custom-light: #beb066;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9120",
  "rgb": {
    "r": 157,
    "g": 145,
    "b": 32
  },
  "hsl": {
    "h": 54.24,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.64778,
    "c": 0.12628,
    "h": 103
  },
  "luminance": 0.27523
}

Semantic roles & 50–950 ramp

primary
#9D9120
secondary
#5762C1
accent
#4FE93F
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9D9120

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

Preview Lab → · Contrast checker → · Palette generator →

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