#9A8823#9A8823

#9A8823 is a light, moderate yellow. Relative luminance 0.246; OKLCH L 62.5% C 0.117 H 98.6°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#9A8823
RGBrgb(154, 136, 35)
HSLhsl(51, 63%, 37%)
HSVhsv(51, 77%, 60%)
CMYKcmyk(0%, 11.7%, 77.3%, 39.6%)
CIE-LABlab(56.68, -4.29, 52.96)
CIE-LCHlch(56.68, 53.13, 94.63°)
OKLaboklab(62.52% -0.0176 0.116)
OKLCHoklch(62.52% 0.117 98.6)
XYZxyz(22.4351, 24.6008, 5.1565)
Luminance0.2460 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8823 #23359A
analogous
#9A4C23 #9A8823 #719A23
triadic
#9A8823 #239A88 #88239A
tetradic
#9A8823 #239A4C #23359A #9A2371
square
#9A8823 #239A4C #23359A #9A2371
split-complementary
#9A8823 #23719A #4C239A
monochromatic
#36300C #685C18 #9A8823 #CCB42E #DAC75D

Accessibility & contrast

On white

3.55
#9A8823 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#9A8823 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A8823
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A8823#FFFFFF#000000##000000
##9A88231.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#96840E
Deuteranopia (green-blind)
#9B8B2A
Tritanopia (blue-blind)
#A67D75
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9a8823;
/* rgb */ color: rgb(154, 136, 35);
/* oklch */ color: oklch(62.5% 0.117 98.6);
Tailwind
colors: {
  custom: {
    50: '#bbaa66',
    500: '#9a8823',
    950: '#000000',
  },
}
SCSS
$custom: #9a8823;
$custom-light: #bbaa66;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8823",
  "rgb": {
    "r": 154,
    "g": 136,
    "b": 35
  },
  "hsl": {
    "h": 50.924,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.62515,
    "c": 0.11731,
    "h": 98.6
  },
  "luminance": 0.246
}

Semantic roles & 50–950 ramp

primary
#9A8823
secondary
#5A69BF
accent
#5BE642
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #9A8823

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

Preview Lab → · Contrast checker → · Palette generator →

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