#9A8723#9A8723

#9A8723 is a light, moderate yellow. Relative luminance 0.243; OKLCH L 62.3% C 0.117 H 97.9°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#9A8723
RGBrgb(154, 135, 35)
HSLhsl(50, 63%, 37%)
HSVhsv(50, 77%, 60%)
CMYKcmyk(0%, 12.3%, 77.3%, 39.6%)
CIE-LABlab(56.41, -3.74, 52.70)
CIE-LCHlch(56.41, 52.83, 94.06°)
OKLaboklab(62.3% -0.016 0.1154)
OKLCHoklch(62.3% 0.117 97.9)
XYZxyz(22.2949, 24.3205, 5.1098)
Luminance0.2432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8723 #23369A
analogous
#9A4C23 #9A8723 #729A23
triadic
#9A8723 #239A87 #87239A
tetradic
#9A8723 #239A4C #23369A #9A2372
square
#9A8723 #239A4C #23369A #9A2372
split-complementary
#9A8723 #23729A #4C239A
monochromatic
#36300C #685B18 #9A8723 #CCB32E #DAC65D

Accessibility & contrast

On white

3.58
#9A8723 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#9A8723 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A8723
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A8723#FFFFFF#000000##000000
##9A87231.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#95840F
Deuteranopia (green-blind)
#9A8A2A
Tritanopia (blue-blind)
#A77C74
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9a8723;
/* rgb */ color: rgb(154, 135, 35);
/* oklch */ color: oklch(62.3% 0.117 97.9);
Tailwind
colors: {
  custom: {
    50: '#bba966',
    500: '#9a8723',
    950: '#000000',
  },
}
SCSS
$custom: #9a8723;
$custom-light: #bba966;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8723",
  "rgb": {
    "r": 154,
    "g": 135,
    "b": 35
  },
  "hsl": {
    "h": 50.42,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.62296,
    "c": 0.11655,
    "h": 97.9
  },
  "luminance": 0.24319
}

Semantic roles & 50–950 ramp

primary
#9A8723
secondary
#5A6ABF
accent
#5CE642
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #9A8723

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

Preview Lab → · Contrast checker → · Palette generator →

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