#9D9B22#9D9B22

#9D9B22 is a light, vivid yellow. Relative luminance 0.307; OKLCH L 67.0% C 0.135 H 108.5°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#9D9B22
RGBrgb(157, 155, 34)
HSLhsl(59, 64%, 37%)
HSVhsv(59, 78%, 62%)
CMYKcmyk(0%, 1.3%, 78.3%, 38.4%)
CIE-LABlab(62.28, -13.18, 58.52)
CIE-LCHlch(62.28, 59.98, 102.69°)
OKLaboklab(67.03% -0.0428 0.1275)
OKLCHoklch(67.03% 0.135 108.5)
XYZxyz(25.9157, 30.7271, 6.0789)
Luminance0.3073 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9B22 #22249D
analogous
#9D5D22 #9D9B22 #629D22
triadic
#9D9B22 #229D9B #9B229D
tetradic
#9D9B22 #229D5D #22249D #9D2262
square
#9D9B22 #229D5D #22249D #9D2262
split-complementary
#9D9B22 #22629D #5D229D
monochromatic
#38380C #6B6917 #9D9B22 #CFCD2D #DCDA5D

Accessibility & contrast

On white

2.94
#9D9B22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#9D9B22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D9B22
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9B22#FFFFFF#000000##000000
##9D9B221.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#AA982C
Tritanopia (blue-blind)
#A99185
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9d9b22;
/* rgb */ color: rgb(157, 155, 34);
/* oklch */ color: oklch(67.0% 0.135 108.5);
Tailwind
colors: {
  custom: {
    50: '#beb868',
    500: '#9d9b22',
    950: '#000000',
  },
}
SCSS
$custom: #9d9b22;
$custom-light: #beb868;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9b22",
  "rgb": {
    "r": 157,
    "g": 155,
    "b": 34
  },
  "hsl": {
    "h": 59.024,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.67028,
    "c": 0.13452,
    "h": 108.5
  },
  "luminance": 0.30726
}

Semantic roles & 50–950 ramp

primary
#9D9B22
secondary
#5A5CC1
accent
#43E740
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9D9B22

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

Preview Lab → · Contrast checker → · Palette generator →

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