#9C8F33#9C8F33

#9C8F33 is a light, moderate yellow. Relative luminance 0.270; OKLCH L 64.4% C 0.112 H 101.2°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#9C8F33
RGBrgb(156, 143, 51)
HSLhsl(53, 51%, 41%)
HSVhsv(53, 67%, 61%)
CMYKcmyk(0%, 8.3%, 67.3%, 38.8%)
CIE-LABlab(58.93, -6.37, 48.83)
CIE-LCHlch(58.93, 49.25, 97.43°)
OKLaboklab(64.38% -0.0218 0.1102)
OKLCHoklch(64.38% 0.112 101.2)
XYZxyz(24.1313, 26.9529, 7.0627)
Luminance0.2695 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8F33 #33409C
analogous
#9C5A33 #9C8F33 #759C33
triadic
#9C8F33 #339C8F #8F339C
tetradic
#9C8F33 #339C5A #33409C #9C3375
square
#9C8F33 #339C5A #33409C #9C3375
split-complementary
#9C8F33 #33759C #5A339C
monochromatic
#403A15 #6E6524 #9C8F33 #C3B449 #D3C777

Accessibility & contrast

On white

3.29
#9C8F33 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#9C8F33 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8F33
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8F33#FFFFFF#000000##000000
##9C8F331.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8B27
Deuteranopia (green-blind)
#A09038
Tritanopia (blue-blind)
#A8857C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9c8f33;
/* rgb */ color: rgb(156, 143, 51);
/* oklch */ color: oklch(64.4% 0.112 101.2);
Tailwind
colors: {
  custom: {
    50: '#bcaf70',
    500: '#9c8f33',
    950: '#000000',
  },
}
SCSS
$custom: #9c8f33;
$custom-light: #bcaf70;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8f33",
  "rgb": {
    "r": 156,
    "g": 143,
    "b": 51
  },
  "hsl": {
    "h": 52.571,
    "s": 50.725,
    "l": 40.588
  },
  "oklch": {
    "l": 0.64378,
    "c": 0.11232,
    "h": 101.2
  },
  "luminance": 0.26952
}

Semantic roles & 50–950 ramp

primary
#9C8F33
secondary
#7079BB
accent
#5FDA4E
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #9C8F33

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

Preview Lab → · Contrast checker → · Palette generator →

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