#9D8E22#9D8E22

#9D8E22 is a light, vivid yellow. Relative luminance 0.266; OKLCH L 64.1% C 0.123 H 101.0°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#9D8E22
RGBrgb(157, 142, 34)
HSLhsl(53, 64%, 37%)
HSVhsv(53, 78%, 62%)
CMYKcmyk(0%, 9.6%, 78.3%, 38.4%)
CIE-LABlab(58.63, -6.24, 55.21)
CIE-LCHlch(58.63, 55.56, 96.45°)
OKLaboklab(64.13% -0.0233 0.1205)
OKLCHoklch(64.13% 0.123 101)
XYZxyz(23.8675, 26.6307, 5.3961)
Luminance0.2663 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D8E22 #22319D
analogous
#9D5122 #9D8E22 #6E9D22
triadic
#9D8E22 #229D8E #8E229D
tetradic
#9D8E22 #229D51 #22319D #9D226E
square
#9D8E22 #229D51 #22319D #9D226E
split-complementary
#9D8E22 #226E9D #51229D
monochromatic
#38330C #6B6117 #9D8E22 #CFBB2D #DCCD5D

Accessibility & contrast

On white

3.32
#9D8E22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#9D8E22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D8E22
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D8E22#FFFFFF#000000##000000
##9D8E221.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A08
Deuteranopia (green-blind)
#A0902A
Tritanopia (blue-blind)
#AA837A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9d8e22;
/* rgb */ color: rgb(157, 142, 34);
/* oklch */ color: oklch(64.1% 0.123 101.0);
Tailwind
colors: {
  custom: {
    50: '#beae67',
    500: '#9d8e22',
    950: '#000000',
  },
}
SCSS
$custom: #9d8e22;
$custom-light: #beae67;
$custom-dark: #000000;
JSON
{
  "hex": "#9d8e22",
  "rgb": {
    "r": 157,
    "g": 142,
    "b": 34
  },
  "hsl": {
    "h": 52.683,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.64125,
    "c": 0.1227,
    "h": 101
  },
  "luminance": 0.2663
}

Semantic roles & 50–950 ramp

primary
#9D8E22
secondary
#5A67C1
accent
#55E740
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9D8E22

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

Preview Lab → · Contrast checker → · Palette generator →

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