#9C8A25#9C8A25

#9C8A25 is a light, moderate yellow. Relative luminance 0.254; OKLCH L 63.2% C 0.118 H 98.7°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#9C8A25
RGBrgb(156, 138, 37)
HSLhsl(51, 62%, 38%)
HSVhsv(51, 76%, 61%)
CMYKcmyk(0%, 11.5%, 76.3%, 38.8%)
CIE-LABlab(57.44, -4.39, 53.01)
CIE-LCHlch(57.44, 53.19, 94.73°)
OKLaboklab(63.17% -0.0178 0.1164)
OKLCHoklch(63.17% 0.118 98.7)
XYZxyz(23.1339, 25.3796, 5.4301)
Luminance0.2538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8A25 #25379C
analogous
#9C4E25 #9C8A25 #739C25
triadic
#9C8A25 #259C8A #8A259C
tetradic
#9C8A25 #259C4E #25379C #9C2573
square
#9C8A25 #259C4E #25379C #9C2573
split-complementary
#9C8A25 #25739C #4E259C
monochromatic
#39320E #6B5E19 #9C8A25 #CDB631 #DAC862

Accessibility & contrast

On white

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

On black

6.08
#9C8A25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8A25
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8A25#FFFFFF#000000##000000
##9C8A251.003.466.086.08
#FFFFFF3.461.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#988612
Deuteranopia (green-blind)
#9D8D2C
Tritanopia (blue-blind)
#A97F77
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9c8a25;
/* rgb */ color: rgb(156, 138, 37);
/* oklch */ color: oklch(63.2% 0.118 98.7);
Tailwind
colors: {
  custom: {
    50: '#bdab68',
    500: '#9c8a25',
    950: '#000000',
  },
}
SCSS
$custom: #9c8a25;
$custom-light: #bdab68;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8a25",
  "rgb": {
    "r": 156,
    "g": 138,
    "b": 37
  },
  "hsl": {
    "h": 50.924,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.63166,
    "c": 0.11777,
    "h": 98.7
  },
  "luminance": 0.25378
}

Semantic roles & 50–950 ramp

primary
#9C8A25
secondary
#5E6DBF
accent
#5CE543
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9C8A25

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

Preview Lab → · Contrast checker → · Palette generator →

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