#9A8A35#9A8A35

#9A8A35 is a light, moderate yellow. Relative luminance 0.253; OKLCH L 63.1% C 0.106 H 98.6°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#9A8A35
RGBrgb(154, 138, 53)
HSLhsl(50, 49%, 41%)
HSVhsv(50, 66%, 60%)
CMYKcmyk(0%, 10.4%, 65.6%, 39.6%)
CIE-LABlab(57.37, -4.41, 46.24)
CIE-LCHlch(57.37, 46.45, 95.45°)
OKLaboklab(63.1% -0.0159 0.1051)
OKLCHoklch(63.1% 0.106 98.6)
XYZxyz(23.0585, 25.3051, 7.0373)
Luminance0.2530 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8A35 #35459A
analogous
#9A5735 #9A8A35 #779A35
triadic
#9A8A35 #359A8A #8A359A
tetradic
#9A8A35 #359A57 #35459A #9A3577
square
#9A8A35 #359A57 #35459A #9A3577
split-complementary
#9A8A35 #35779A #57359A
monochromatic
#3F3816 #6C6125 #9A8A35 #C1AE4B #D1C379

Accessibility & contrast

On white

3.46
#9A8A35 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#9A8A35 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A8A35
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A8A35#FFFFFF#000000##000000
##9A8A351.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#97872B
Deuteranopia (green-blind)
#9B8C39
Tritanopia (blue-blind)
#A68078
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9a8a35;
/* rgb */ color: rgb(154, 138, 53);
/* oklch */ color: oklch(63.1% 0.106 98.6);
Tailwind
colors: {
  custom: {
    50: '#bbab70',
    500: '#9a8a35',
    950: '#000000',
  },
}
SCSS
$custom: #9a8a35;
$custom-light: #bbab70;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8a35",
  "rgb": {
    "r": 154,
    "g": 138,
    "b": 53
  },
  "hsl": {
    "h": 50.495,
    "s": 48.792,
    "l": 40.588
  },
  "oklch": {
    "l": 0.63102,
    "c": 0.10627,
    "h": 98.6
  },
  "luminance": 0.25304
}

Semantic roles & 50–950 ramp

primary
#9A8A35
secondary
#717DB9
accent
#65D84F
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #9A8A35

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

Preview Lab → · Contrast checker → · Palette generator →

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