#9D822E#9D822E

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

Color values

HEX#9D822E
RGBrgb(157, 130, 46)
HSLhsl(45, 55%, 40%)
HSVhsv(45, 71%, 62%)
CMYKcmyk(0%, 17.2%, 70.7%, 38.4%)
CIE-LABlab(55.41, 0.95, 47.40)
CIE-LCHlch(55.41, 47.41, 88.86°)
OKLaboklab(61.6% -0.0016 0.1063)
OKLCHoklch(61.6% 0.106 90.8)
XYZxyz(22.3816, 23.3319, 5.9089)
Luminance0.2333 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D822E #2E499D
analogous
#9D4A2E #9D822E #819D2E
triadic
#9D822E #2E9D82 #822E9D
tetradic
#9D822E #2E9D4A #2E499D #9D2E81
square
#9D822E #2E9D4A #2E499D #9D2E81
split-complementary
#9D822E #2E819D #4A2E9D
monochromatic
#3E3412 #6E5B20 #9D822E #C7A741 #D5BD70

Accessibility & contrast

On white

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

On black

5.67
#9D822E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D822E
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D822E#FFFFFF#000000##000000
##9D822E1.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d822e;
/* rgb */ color: rgb(157, 130, 46);
/* oklch */ color: oklch(61.6% 0.106 90.8);
Tailwind
colors: {
  custom: {
    50: '#bda66c',
    500: '#9d822e',
    950: '#000000',
  },
}
SCSS
$custom: #9d822e;
$custom-light: #bda66c;
$custom-dark: #000000;
JSON
{
  "hex": "#9d822e",
  "rgb": {
    "r": 157,
    "g": 130,
    "b": 46
  },
  "hsl": {
    "h": 45.405,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.61604,
    "c": 0.10626,
    "h": 90.8
  },
  "luminance": 0.23331
}

Semantic roles & 50–950 ramp

primary
#9D822E
secondary
#6A7EBD
accent
#6EDE4A
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F07
muted
#827F7A

Preview Lab

Preview with #9D822E

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

Preview Lab → · Contrast checker → · Palette generator →

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