#9C8A33#9C8A33

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

Color values

HEX#9C8A33
RGBrgb(156, 138, 51)
HSLhsl(50, 51%, 41%)
HSVhsv(50, 67%, 61%)
CMYKcmyk(0%, 11.5%, 67.3%, 38.8%)
CIE-LABlab(57.55, -3.64, 47.38)
CIE-LCHlch(57.55, 47.52, 94.40°)
OKLaboklab(63.28% -0.014 0.1071)
OKLCHoklch(63.28% 0.108 97.5)
XYZxyz(23.3974, 25.4850, 6.8180)
Luminance0.2548 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8A33 #33459C
analogous
#9C5533 #9C8A33 #799C33
triadic
#9C8A33 #339C8A #8A339C
tetradic
#9C8A33 #339C55 #33459C #9C3379
square
#9C8A33 #339C55 #33459C #9C3379
split-complementary
#9C8A33 #33799C #55339C
monochromatic
#403815 #6E6124 #9C8A33 #C3AE49 #D3C377

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C8A33#FFFFFF#000000##000000
##9C8A331.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)
#978728
Deuteranopia (green-blind)
#9C8D38
Tritanopia (blue-blind)
#A88078
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9c8a33;
/* rgb */ color: rgb(156, 138, 51);
/* oklch */ color: oklch(63.3% 0.108 97.5);
Tailwind
colors: {
  custom: {
    50: '#bcab6f',
    500: '#9c8a33',
    950: '#000000',
  },
}
SCSS
$custom: #9c8a33;
$custom-light: #bcab6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8a33",
  "rgb": {
    "r": 156,
    "g": 138,
    "b": 51
  },
  "hsl": {
    "h": 49.714,
    "s": 50.725,
    "l": 40.588
  },
  "oklch": {
    "l": 0.63279,
    "c": 0.10803,
    "h": 97.5
  },
  "luminance": 0.25484
}

Semantic roles & 50–950 ramp

primary
#9C8A33
secondary
#707DBB
accent
#66DA4E
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #9C8A33

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

Preview Lab → · Contrast checker → · Palette generator →

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