#9E822B#9E822B

#9E822B is a mid, moderate yellow. Relative luminance 0.234; OKLCH L 61.7% C 0.109 H 90.6°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#9E822B
RGBrgb(158, 130, 43)
HSLhsl(45, 57%, 39%)
HSVhsv(45, 73%, 62%)
CMYKcmyk(0%, 17.7%, 72.8%, 38%)
CIE-LABlab(55.49, 1.24, 48.81)
CIE-LCHlch(55.49, 48.82, 88.54°)
OKLaboklab(61.68% -0.0012 0.1086)
OKLCHoklch(61.68% 0.109 90.6)
XYZxyz(22.5205, 23.4101, 5.6175)
Luminance0.2341 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E822B #2B479E
analogous
#9E482B #9E822B #819E2B
triadic
#9E822B #2B9E82 #822B9E
tetradic
#9E822B #2B9E48 #2B479E #9E2B81
square
#9E822B #2B9E48 #2B479E #9E2B81
split-complementary
#9E822B #2B819E #482B9E
monochromatic
#3E3311 #6E5A1E #9E822B #CAA73C #D7BD6C

Accessibility & contrast

On white

3.70
#9E822B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#9E822B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E822B
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E822B#FFFFFF#000000##000000
##9E822B1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#91801F
Deuteranopia (green-blind)
#98882F
Tritanopia (blue-blind)
#AB7770
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9e822b;
/* rgb */ color: rgb(158, 130, 43);
/* oklch */ color: oklch(61.7% 0.109 90.6);
Tailwind
colors: {
  custom: {
    50: '#bea66a',
    500: '#9e822b',
    950: '#000000',
  },
}
SCSS
$custom: #9e822b;
$custom-light: #bea66a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e822b",
  "rgb": {
    "r": 158,
    "g": 130,
    "b": 43
  },
  "hsl": {
    "h": 45.391,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.61683,
    "c": 0.10862,
    "h": 90.6
  },
  "luminance": 0.23409
}

Semantic roles & 50–950 ramp

primary
#9E822B
secondary
#677CBE
accent
#6DE047
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F07
muted
#827F7A

Preview Lab

Preview with #9E822B

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

Preview Lab → · Contrast checker → · Palette generator →

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