#9E8824#9E8824

#9E8824 is a light, moderate yellow. Relative luminance 0.250; OKLCH L 62.9% C 0.117 H 96.1°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#9E8824
RGBrgb(158, 136, 36)
HSLhsl(49, 63%, 38%)
HSVhsv(49, 77%, 62%)
CMYKcmyk(0%, 13.9%, 77.2%, 38%)
CIE-LABlab(57.08, -2.42, 53.11)
CIE-LCHlch(57.08, 53.16, 92.61°)
OKLaboklab(62.92% -0.0124 0.1163)
OKLCHoklch(62.92% 0.117 96.1)
XYZxyz(23.2244, 25.0061, 5.2721)
Luminance0.2500 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8824 #243A9E
analogous
#9E4B24 #9E8824 #779E24
triadic
#9E8824 #249E88 #88249E
tetradic
#9E8824 #249E4B #243A9E #9E2477
square
#9E8824 #249E4B #243A9E #9E2477
split-complementary
#9E8824 #24779E #4B249E
monochromatic
#3A320D #6C5D19 #9E8824 #D0B32F #DBC561

Accessibility & contrast

On white

3.50
#9E8824 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#9E8824 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E8824
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8824#FFFFFF#000000##000000
##9E88241.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#978510
Deuteranopia (green-blind)
#9C8C2A
Tritanopia (blue-blind)
#AB7D75
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9e8824;
/* rgb */ color: rgb(158, 136, 36);
/* oklch */ color: oklch(62.9% 0.117 96.1);
Tailwind
colors: {
  custom: {
    50: '#beaa67',
    500: '#9e8824',
    950: '#000000',
  },
}
SCSS
$custom: #9e8824;
$custom-light: #beaa67;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8824",
  "rgb": {
    "r": 158,
    "g": 136,
    "b": 36
  },
  "hsl": {
    "h": 49.18,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.62923,
    "c": 0.11699,
    "h": 96.1
  },
  "luminance": 0.25005
}

Semantic roles & 50–950 ramp

primary
#9E8824
secondary
#5E6FC0
accent
#5FE642
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9E8824

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

Preview Lab → · Contrast checker → · Palette generator →

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