#9D9422#9D9422

#9D9422 is a light, vivid yellow. Relative luminance 0.285; OKLCH L 65.5% C 0.128 H 104.7°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#9D9422
RGBrgb(157, 148, 34)
HSLhsl(56, 64%, 37%)
HSVhsv(56, 78%, 62%)
CMYKcmyk(0%, 5.7%, 78.3%, 38.4%)
CIE-LABlab(60.31, -9.47, 56.74)
CIE-LCHlch(60.31, 57.52, 99.48°)
OKLaboklab(65.46% -0.0324 0.1237)
OKLCHoklch(65.46% 0.128 104.7)
XYZxyz(24.7844, 28.4644, 5.7017)
Luminance0.2846 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9422 #222B9D
analogous
#9D5722 #9D9422 #689D22
triadic
#9D9422 #229D94 #94229D
tetradic
#9D9422 #229D57 #222B9D #9D2268
square
#9D9422 #229D57 #222B9D #9D2268
split-complementary
#9D9422 #22689D #57229D
monochromatic
#38350C #6B6517 #9D9422 #CFC32D #DCD35D

Accessibility & contrast

On white

3.14
#9D9422 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#9D9422 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D9422
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9422#FFFFFF#000000##000000
##9D94221.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F04
Deuteranopia (green-blind)
#A5942B
Tritanopia (blue-blind)
#A9897F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9d9422;
/* rgb */ color: rgb(157, 148, 34);
/* oklch */ color: oklch(65.5% 0.128 104.7);
Tailwind
colors: {
  custom: {
    50: '#beb367',
    500: '#9d9422',
    950: '#000000',
  },
}
SCSS
$custom: #9d9422;
$custom-light: #beb367;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9422",
  "rgb": {
    "r": 157,
    "g": 148,
    "b": 34
  },
  "hsl": {
    "h": 55.61,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.65457,
    "c": 0.1279,
    "h": 104.7
  },
  "luminance": 0.28463
}

Semantic roles & 50–950 ramp

primary
#9D9422
secondary
#5A62C1
accent
#4DE740
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #9D9422

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

Preview Lab → · Contrast checker → · Palette generator →

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