#9C8D25#9C8D25

#9C8D25 is a light, vivid yellow. Relative luminance 0.263; OKLCH L 63.8% C 0.120 H 100.7°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#9C8D25
RGBrgb(156, 141, 37)
HSLhsl(52, 62%, 38%)
HSVhsv(52, 76%, 61%)
CMYKcmyk(0%, 9.6%, 76.3%, 38.8%)
CIE-LABlab(58.28, -6.02, 53.79)
CIE-LCHlch(58.28, 54.13, 96.39°)
OKLaboklab(63.83% -0.0224 0.1181)
OKLCHoklch(63.83% 0.12 100.7)
XYZxyz(23.5702, 26.2523, 5.5756)
Luminance0.2625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8D25 #25349C
analogous
#9C5125 #9C8D25 #6F9C25
triadic
#9C8D25 #259C8D #8D259C
tetradic
#9C8D25 #259C51 #25349C #9C256F
square
#9C8D25 #259C51 #25349C #9C256F
split-complementary
#9C8D25 #256F9C #51259C
monochromatic
#39340E #6B6019 #9C8D25 #CDBA31 #DACB62

Accessibility & contrast

On white

3.36
#9C8D25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#9C8D25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8D25
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8D25#FFFFFF#000000##000000
##9C8D251.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8910
Deuteranopia (green-blind)
#9F8F2C
Tritanopia (blue-blind)
#A88279
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9c8d25;
/* rgb */ color: rgb(156, 141, 37);
/* oklch */ color: oklch(63.8% 0.120 100.7);
Tailwind
colors: {
  custom: {
    50: '#bdae68',
    500: '#9c8d25',
    950: '#000000',
  },
}
SCSS
$custom: #9c8d25;
$custom-light: #bdae68;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8d25",
  "rgb": {
    "r": 156,
    "g": 141,
    "b": 37
  },
  "hsl": {
    "h": 52.437,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.63827,
    "c": 0.12018,
    "h": 100.7
  },
  "luminance": 0.26251
}

Semantic roles & 50–950 ramp

primary
#9C8D25
secondary
#5E6ABF
accent
#57E543
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #9C8D25

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

Preview Lab → · Contrast checker → · Palette generator →

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