#9D9F20#9D9F20

#9D9F20 is a light, vivid yellow. Relative luminance 0.321; OKLCH L 67.9% C 0.139 H 110.6°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#9D9F20
RGBrgb(157, 159, 32)
HSLhsl(61, 66%, 37%)
HSVhsv(61, 80%, 62%)
CMYKcmyk(1.3%, 0%, 79.9%, 37.6%)
CIE-LABlab(63.40, -15.34, 60.13)
CIE-LCHlch(63.40, 62.06, 104.31°)
OKLaboklab(67.92% -0.049 0.1306)
OKLCHoklch(67.92% 0.139 110.6)
XYZxyz(26.5645, 32.0694, 6.1569)
Luminance0.3207 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9F20 #22209F
analogous
#9F6220 #9D9F20 #5D9F20
triadic
#9D9F20 #209D9F #9F209D
tetradic
#9D9F20 #209F62 #22209F #9F205D
square
#9D9F20 #209F62 #22209F #9F205D
split-complementary
#9D9F20 #205D9F #62209F
monochromatic
#38390B #6B6C16 #9D9F20 #CFD22A #DCDE5B

Accessibility & contrast

On white

2.83
#9D9F20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#9D9F20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D9F20
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9F20#FFFFFF#000000##000000
##9D9F201.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9800
Deuteranopia (green-blind)
#AD9B2C
Tritanopia (blue-blind)
#A89588
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #9d9f20;
/* rgb */ color: rgb(157, 159, 32);
/* oklch */ color: oklch(67.9% 0.139 110.6);
Tailwind
colors: {
  custom: {
    50: '#bebb68',
    500: '#9d9f20',
    950: '#000000',
  },
}
SCSS
$custom: #9d9f20;
$custom-light: #bebb68;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9f20",
  "rgb": {
    "r": 157,
    "g": 159,
    "b": 32
  },
  "hsl": {
    "h": 60.945,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.67923,
    "c": 0.13948,
    "h": 110.6
  },
  "luminance": 0.32069
}

Semantic roles & 50–950 ramp

primary
#9D9F20
secondary
#5A59C2
accent
#3EE941
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9D9F20

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

Preview Lab → · Contrast checker → · Palette generator →

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