#9D8622#9D8622

#9D8622 is a light, moderate yellow. Relative luminance 0.243; OKLCH L 62.4% C 0.117 H 95.4°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#9D8622
RGBrgb(157, 134, 34)
HSLhsl(49, 64%, 37%)
HSVhsv(49, 78%, 62%)
CMYKcmyk(0%, 14.6%, 78.3%, 38.4%)
CIE-LABlab(56.42, -1.86, 53.18)
CIE-LCHlch(56.42, 53.21, 92.00°)
OKLaboklab(62.38% -0.0109 0.1161)
OKLCHoklch(62.38% 0.117 95.4)
XYZxyz(22.7197, 24.3351, 5.0135)
Luminance0.2433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D8622 #22399D
analogous
#9D4822 #9D8622 #779D22
triadic
#9D8622 #229D86 #86229D
tetradic
#9D8622 #229D48 #22399D #9D2277
square
#9D8622 #229D48 #22399D #9D2277
split-complementary
#9D8622 #22779D #48229D
monochromatic
#38300C #6B5B17 #9D8622 #CFB12D #DCC45D

Accessibility & contrast

On white

3.58
#9D8622 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#9D8622 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D8622
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D8622#FFFFFF#000000##000000
##9D86221.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#95830D
Deuteranopia (green-blind)
#9A8A29
Tritanopia (blue-blind)
#AA7B73
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9d8622;
/* rgb */ color: rgb(157, 134, 34);
/* oklch */ color: oklch(62.4% 0.117 95.4);
Tailwind
colors: {
  custom: {
    50: '#bea866',
    500: '#9d8622',
    950: '#000000',
  },
}
SCSS
$custom: #9d8622;
$custom-light: #bea866;
$custom-dark: #000000;
JSON
{
  "hex": "#9d8622",
  "rgb": {
    "r": 157,
    "g": 134,
    "b": 34
  },
  "hsl": {
    "h": 48.78,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.62375,
    "c": 0.11664,
    "h": 95.4
  },
  "luminance": 0.24334
}

Semantic roles & 50–950 ramp

primary
#9D8622
secondary
#5A6DC1
accent
#60E740
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9D8622

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

Preview Lab → · Contrast checker → · Palette generator →

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