#9A8623#9A8623

#9A8623 is a light, moderate yellow. Relative luminance 0.240; OKLCH L 62.1% C 0.116 H 97.2°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#9A8623
RGBrgb(154, 134, 35)
HSLhsl(50, 63%, 37%)
HSVhsv(50, 77%, 60%)
CMYKcmyk(0%, 13%, 77.3%, 39.6%)
CIE-LABlab(56.13, -3.19, 52.44)
CIE-LCHlch(56.13, 52.54, 93.48°)
OKLaboklab(62.08% -0.0145 0.1149)
OKLCHoklch(62.08% 0.116 97.2)
XYZxyz(22.1560, 24.0427, 5.0635)
Luminance0.2404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8623 #23379A
analogous
#9A4B23 #9A8623 #739A23
triadic
#9A8623 #239A86 #86239A
tetradic
#9A8623 #239A4B #23379A #9A2373
square
#9A8623 #239A4B #23379A #9A2373
split-complementary
#9A8623 #23739A #4B239A
monochromatic
#362F0C #685B18 #9A8623 #CCB12E #DAC55D

Accessibility & contrast

On white

3.62
#9A8623 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#9A8623 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A8623
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A8623#FFFFFF#000000##000000
##9A86231.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#94830F
Deuteranopia (green-blind)
#99892A
Tritanopia (blue-blind)
#A77B73
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9a8623;
/* rgb */ color: rgb(154, 134, 35);
/* oklch */ color: oklch(62.1% 0.116 97.2);
Tailwind
colors: {
  custom: {
    50: '#bca866',
    500: '#9a8623',
    950: '#000000',
  },
}
SCSS
$custom: #9a8623;
$custom-light: #bca866;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8623",
  "rgb": {
    "r": 154,
    "g": 134,
    "b": 35
  },
  "hsl": {
    "h": 49.916,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.62076,
    "c": 0.1158,
    "h": 97.2
  },
  "luminance": 0.24042
}

Semantic roles & 50–950 ramp

primary
#9A8623
secondary
#5A6BBF
accent
#5DE642
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #9A8623

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

Preview Lab → · Contrast checker → · Palette generator →

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