#9D822D#9D822D

#9D822D is a mid, moderate yellow. Relative luminance 0.233; OKLCH L 61.6% C 0.107 H 91.0°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#9D822D
RGBrgb(157, 130, 45)
HSLhsl(46, 55%, 40%)
HSVhsv(46, 71%, 62%)
CMYKcmyk(0%, 17.2%, 71.3%, 38.4%)
CIE-LABlab(55.40, 0.89, 47.83)
CIE-LCHlch(55.40, 47.84, 88.93°)
OKLaboklab(61.6% -0.0018 0.107)
OKLCHoklch(61.6% 0.107 91)
XYZxyz(22.3621, 23.3241, 5.8063)
Luminance0.2332 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D822D #2D489D
analogous
#9D4A2D #9D822D #809D2D
triadic
#9D822D #2D9D82 #822D9D
tetradic
#9D822D #2D9D4A #2D489D #9D2D80
square
#9D822D #2D9D4A #2D489D #9D2D80
split-complementary
#9D822D #2D809D #4A2D9D
monochromatic
#3E3312 #6D5B1F #9D822D #C8A73F #D6BD6F

Accessibility & contrast

On white

3.71
#9D822D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#9D822D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D822D
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D822D#FFFFFF#000000##000000
##9D822D1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#908021
Deuteranopia (green-blind)
#978831
Tritanopia (blue-blind)
#AA7771
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9d822d;
/* rgb */ color: rgb(157, 130, 45);
/* oklch */ color: oklch(61.6% 0.107 91.0);
Tailwind
colors: {
  custom: {
    50: '#bda66b',
    500: '#9d822d',
    950: '#000000',
  },
}
SCSS
$custom: #9d822d;
$custom-light: #bda66b;
$custom-dark: #000000;
JSON
{
  "hex": "#9d822d",
  "rgb": {
    "r": 157,
    "g": 130,
    "b": 45
  },
  "hsl": {
    "h": 45.536,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.61595,
    "c": 0.10699,
    "h": 91
  },
  "luminance": 0.23323
}

Semantic roles & 50–950 ramp

primary
#9D822D
secondary
#697DBD
accent
#6DDF49
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F07
muted
#827F7A

Preview Lab

Preview with #9D822D

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

Preview Lab → · Contrast checker → · Palette generator →

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