#9C8B33#9C8B33

#9C8B33 is a light, moderate yellow. Relative luminance 0.258; OKLCH L 63.5% C 0.109 H 98.2°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#9C8B33
RGBrgb(156, 139, 51)
HSLhsl(50, 51%, 41%)
HSVhsv(50, 67%, 61%)
CMYKcmyk(0%, 10.9%, 67.3%, 38.8%)
CIE-LABlab(57.82, -4.19, 47.67)
CIE-LCHlch(57.82, 47.86, 95.02°)
OKLaboklab(63.5% -0.0156 0.1077)
OKLCHoklch(63.5% 0.109 98.2)
XYZxyz(23.5415, 25.7733, 6.8661)
Luminance0.2577 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8B33 #33449C
analogous
#9C5633 #9C8B33 #789C33
triadic
#9C8B33 #339C8B #8B339C
tetradic
#9C8B33 #339C56 #33449C #9C3378
square
#9C8B33 #339C56 #33449C #9C3378
split-complementary
#9C8B33 #33789C #56339C
monochromatic
#403915 #6E6224 #9C8B33 #C3B049 #D3C477

Accessibility & contrast

On white

3.41
#9C8B33 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#9C8B33 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8B33
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8B33#FFFFFF#000000##000000
##9C8B331.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#988828
Deuteranopia (green-blind)
#9D8D38
Tritanopia (blue-blind)
#A88179
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9c8b33;
/* rgb */ color: rgb(156, 139, 51);
/* oklch */ color: oklch(63.5% 0.109 98.2);
Tailwind
colors: {
  custom: {
    50: '#bcac6f',
    500: '#9c8b33',
    950: '#000000',
  },
}
SCSS
$custom: #9c8b33;
$custom-light: #bcac6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8b33",
  "rgb": {
    "r": 156,
    "g": 139,
    "b": 51
  },
  "hsl": {
    "h": 50.286,
    "s": 50.725,
    "l": 40.588
  },
  "oklch": {
    "l": 0.63498,
    "c": 0.10886,
    "h": 98.2
  },
  "luminance": 0.25772
}

Semantic roles & 50–950 ramp

primary
#9C8B33
secondary
#707CBB
accent
#64DA4E
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #9C8B33

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

Preview Lab → · Contrast checker → · Palette generator →

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