#9C8A30#9C8A30

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

Color values

HEX#9C8A30
RGBrgb(156, 138, 48)
HSLhsl(50, 53%, 40%)
HSVhsv(50, 69%, 61%)
CMYKcmyk(0%, 11.5%, 69.2%, 38.8%)
CIE-LABlab(57.52, -3.82, 48.67)
CIE-LCHlch(57.52, 48.82, 94.49°)
OKLaboklab(63.25% -0.0149 0.1093)
OKLCHoklch(63.25% 0.11 97.8)
XYZxyz(23.3334, 25.4594, 6.4808)
Luminance0.2546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8A30 #30429C
analogous
#9C5430 #9C8A30 #789C30
triadic
#9C8A30 #309C8A #8A309C
tetradic
#9C8A30 #309C54 #30429C #9C3078
square
#9C8A30 #309C54 #30429C #9C3078
split-complementary
#9C8A30 #30789C #54309C
monochromatic
#3E3713 #6D6122 #9C8A30 #C5B044 #D4C473

Accessibility & contrast

On white

3.45
#9C8A30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#9C8A30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8A30
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8A30#FFFFFF#000000##000000
##9C8A301.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#988724
Deuteranopia (green-blind)
#9C8D35
Tritanopia (blue-blind)
#A88078
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9c8a30;
/* rgb */ color: rgb(156, 138, 48);
/* oklch */ color: oklch(63.3% 0.110 97.8);
Tailwind
colors: {
  custom: {
    50: '#bcab6d',
    500: '#9c8a30',
    950: '#000000',
  },
}
SCSS
$custom: #9c8a30;
$custom-light: #bcab6d;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8a30",
  "rgb": {
    "r": 156,
    "g": 138,
    "b": 48
  },
  "hsl": {
    "h": 50,
    "s": 52.941,
    "l": 40
  },
  "oklch": {
    "l": 0.63252,
    "c": 0.11034,
    "h": 97.8
  },
  "luminance": 0.25458
}

Semantic roles & 50–950 ramp

primary
#9C8A30
secondary
#6C79BC
accent
#64DC4B
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9C8A30

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

Preview Lab → · Contrast checker → · Palette generator →

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