#9C8D30#9C8D30

#9C8D30 is a light, moderate yellow. Relative luminance 0.263; OKLCH L 63.9% C 0.113 H 100.0°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#9C8D30
RGBrgb(156, 141, 48)
HSLhsl(52, 53%, 40%)
HSVhsv(52, 69%, 61%)
CMYKcmyk(0%, 9.6%, 69.2%, 38.8%)
CIE-LABlab(58.35, -5.46, 49.52)
CIE-LCHlch(58.35, 49.82, 96.29°)
OKLaboklab(63.91% -0.0196 0.1111)
OKLCHoklch(63.91% 0.113 100)
XYZxyz(23.7697, 26.3321, 6.6263)
Luminance0.2633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8D30 #303F9C
analogous
#9C5730 #9C8D30 #759C30
triadic
#9C8D30 #309C8D #8D309C
tetradic
#9C8D30 #309C57 #303F9C #9C3075
square
#9C8D30 #309C57 #303F9C #9C3075
split-complementary
#9C8D30 #30759C #57309C
monochromatic
#3E3813 #6D6322 #9C8D30 #C5B344 #D4C673

Accessibility & contrast

On white

3.35
#9C8D30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#9C8D30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8D30
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8D30#FFFFFF#000000##000000
##9C8D301.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8923
Deuteranopia (green-blind)
#9F8F35
Tritanopia (blue-blind)
#A8837A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9c8d30;
/* rgb */ color: rgb(156, 141, 48);
/* oklch */ color: oklch(63.9% 0.113 100.0);
Tailwind
colors: {
  custom: {
    50: '#bcae6e',
    500: '#9c8d30',
    950: '#000000',
  },
}
SCSS
$custom: #9c8d30;
$custom-light: #bcae6e;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8d30",
  "rgb": {
    "r": 156,
    "g": 141,
    "b": 48
  },
  "hsl": {
    "h": 51.667,
    "s": 52.941,
    "l": 40
  },
  "oklch": {
    "l": 0.6391,
    "c": 0.11285,
    "h": 100
  },
  "luminance": 0.26331
}

Semantic roles & 50–950 ramp

primary
#9C8D30
secondary
#6C77BC
accent
#60DC4B
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9C8D30

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

Preview Lab → · Contrast checker → · Palette generator →

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