#9C8A35#9C8A35

#9C8A35 is a light, moderate yellow. Relative luminance 0.255; OKLCH L 63.3% C 0.106 H 97.3°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#9C8A35
RGBrgb(156, 138, 53)
HSLhsl(50, 49%, 41%)
HSVhsv(50, 66%, 61%)
CMYKcmyk(0%, 11.5%, 66%, 38.8%)
CIE-LABlab(57.56, -3.52, 46.50)
CIE-LCHlch(57.56, 46.63, 94.32°)
OKLaboklab(63.3% -0.0134 0.1056)
OKLCHoklch(63.3% 0.106 97.3)
XYZxyz(23.4424, 25.5030, 7.0553)
Luminance0.2550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8A35 #35479C
analogous
#9C5735 #9C8A35 #7A9C35
triadic
#9C8A35 #359C8A #8A359C
tetradic
#9C8A35 #359C57 #35479C #9C357A
square
#9C8A35 #359C57 #35479C #9C357A
split-complementary
#9C8A35 #357A9C #57359C
monochromatic
#413916 #6E6225 #9C8A35 #C2AE4C #D2C27A

Accessibility & contrast

On white

3.44
#9C8A35 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#9C8A35 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8A35
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8A35#FFFFFF#000000##000000
##9C8A351.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9c8a35;
/* rgb */ color: rgb(156, 138, 53);
/* oklch */ color: oklch(63.3% 0.106 97.3);
Tailwind
colors: {
  custom: {
    50: '#bcab70',
    500: '#9c8a35',
    950: '#000000',
  },
}
SCSS
$custom: #9c8a35;
$custom-light: #bcab70;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8a35",
  "rgb": {
    "r": 156,
    "g": 138,
    "b": 53
  },
  "hsl": {
    "h": 49.515,
    "s": 49.282,
    "l": 40.98
  },
  "oklch": {
    "l": 0.63298,
    "c": 0.10643,
    "h": 97.3
  },
  "luminance": 0.25502
}

Semantic roles & 50–950 ramp

primary
#9C8A35
secondary
#727FBA
accent
#67D94F
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #9C8A35

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

Preview Lab → · Contrast checker → · Palette generator →

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