#9D9222#9D9222

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

Color values

HEX#9D9222
RGBrgb(157, 146, 34)
HSLhsl(55, 64%, 37%)
HSVhsv(55, 78%, 62%)
CMYKcmyk(0%, 7%, 78.3%, 38.4%)
CIE-LABlab(59.75, -8.40, 56.23)
CIE-LCHlch(59.75, 56.85, 98.49°)
OKLaboklab(65.01% -0.0294 0.1226)
OKLCHoklch(65.01% 0.126 103.5)
XYZxyz(24.4734, 27.8424, 5.5981)
Luminance0.2784 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9222 #222D9D
analogous
#9D5422 #9D9222 #6B9D22
triadic
#9D9222 #229D92 #92229D
tetradic
#9D9222 #229D54 #222D9D #9D226B
square
#9D9222 #229D54 #222D9D #9D226B
split-complementary
#9D9222 #226B9D #54229D
monochromatic
#38340C #6B6317 #9D9222 #CFC12D #DCD15D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D9222#FFFFFF#000000##000000
##9D92221.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)
#A08D06
Deuteranopia (green-blind)
#A3922B
Tritanopia (blue-blind)
#A9877D
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9d9222;
/* rgb */ color: rgb(157, 146, 34);
/* oklch */ color: oklch(65.0% 0.126 103.5);
Tailwind
colors: {
  custom: {
    50: '#beb167',
    500: '#9d9222',
    950: '#000000',
  },
}
SCSS
$custom: #9d9222;
$custom-light: #beb167;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9222",
  "rgb": {
    "r": 157,
    "g": 146,
    "b": 34
  },
  "hsl": {
    "h": 54.634,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.65012,
    "c": 0.12611,
    "h": 103.5
  },
  "luminance": 0.27841
}

Semantic roles & 50–950 ramp

primary
#9D9222
secondary
#5A63C1
accent
#4FE740
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9D9222

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

Preview Lab → · Contrast checker → · Palette generator →

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