#9D9122#9D9122

#9D9122 is a light, vivid yellow. Relative luminance 0.275; OKLCH L 64.8% C 0.125 H 102.9°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#9D9122
RGBrgb(157, 145, 34)
HSLhsl(54, 64%, 37%)
HSVhsv(54, 78%, 62%)
CMYKcmyk(0%, 7.6%, 78.3%, 38.4%)
CIE-LABlab(59.47, -7.86, 55.97)
CIE-LCHlch(59.47, 56.52, 97.99°)
OKLaboklab(64.79% -0.0279 0.1221)
OKLCHoklch(64.79% 0.125 102.9)
XYZxyz(24.3199, 27.5355, 5.5469)
Luminance0.2753 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9122 #222E9D
analogous
#9D5322 #9D9122 #6C9D22
triadic
#9D9122 #229D91 #91229D
tetradic
#9D9122 #229D53 #222E9D #9D226C
square
#9D9122 #229D53 #222E9D #9D226C
split-complementary
#9D9122 #226C9D #53229D
monochromatic
#38340C #6B6317 #9D9122 #CFBF2D #DCD05D

Accessibility & contrast

On white

3.23
#9D9122 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#9D9122 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D9122
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9122#FFFFFF#000000##000000
##9D91221.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C06
Deuteranopia (green-blind)
#A3922B
Tritanopia (blue-blind)
#A9867C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9d9122;
/* rgb */ color: rgb(157, 145, 34);
/* oklch */ color: oklch(64.8% 0.125 102.9);
Tailwind
colors: {
  custom: {
    50: '#beb067',
    500: '#9d9122',
    950: '#000000',
  },
}
SCSS
$custom: #9d9122;
$custom-light: #beb067;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9122",
  "rgb": {
    "r": 157,
    "g": 145,
    "b": 34
  },
  "hsl": {
    "h": 54.146,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.64789,
    "c": 0.12524,
    "h": 102.9
  },
  "luminance": 0.27534
}

Semantic roles & 50–950 ramp

primary
#9D9122
secondary
#5A64C1
accent
#51E740
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9D9122

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

Preview Lab → · Contrast checker → · Palette generator →

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