#9D9D22#9D9D22

#9D9D22 is a light, vivid yellow. Relative luminance 0.314; OKLCH L 67.5% C 0.137 H 109.6°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#9D9D22
RGBrgb(157, 157, 34)
HSLhsl(60, 64%, 37%)
HSVhsv(60, 78%, 62%)
CMYKcmyk(0%, 0%, 78.3%, 38.4%)
CIE-LABlab(62.84, -14.22, 59.03)
CIE-LCHlch(62.84, 60.72, 103.54°)
OKLaboklab(67.48% -0.0457 0.1286)
OKLCHoklch(67.48% 0.137 109.6)
XYZxyz(26.2513, 31.3983, 6.1907)
Luminance0.3140 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9D22 #22229D
analogous
#9D6022 #9D9D22 #609D22
triadic
#9D9D22 #229D9D #9D229D
tetradic
#9D9D22 #229D60 #22229D #9D2260
square
#9D9D22 #229D60 #22229D #9D2260
split-complementary
#9D9D22 #22609D #60229D
monochromatic
#38380C #6B6B17 #9D9D22 #CFCF2D #DCDC5D

Accessibility & contrast

On white

2.88
#9D9D22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#9D9D22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D9D22
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9D22#FFFFFF#000000##000000
##9D9D221.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#AC9A2D
Tritanopia (blue-blind)
#A99386
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9d9d22;
/* rgb */ color: rgb(157, 157, 34);
/* oklch */ color: oklch(67.5% 0.137 109.6);
Tailwind
colors: {
  custom: {
    50: '#beb968',
    500: '#9d9d22',
    950: '#000000',
  },
}
SCSS
$custom: #9d9d22;
$custom-light: #beb968;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9d22",
  "rgb": {
    "r": 157,
    "g": 157,
    "b": 34
  },
  "hsl": {
    "h": 60,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.6748,
    "c": 0.1365,
    "h": 109.6
  },
  "luminance": 0.31398
}

Semantic roles & 50–950 ramp

primary
#9D9D22
secondary
#5A5AC1
accent
#40E740
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9D9D22

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

Preview Lab → · Contrast checker → · Palette generator →

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