#9C8D2E#9C8D2E

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

Color values

HEX#9C8D2E
RGBrgb(156, 141, 46)
HSLhsl(52, 54%, 40%)
HSVhsv(52, 71%, 61%)
CMYKcmyk(0%, 9.6%, 70.5%, 38.8%)
CIE-LABlab(58.34, -5.58, 50.35)
CIE-LCHlch(58.34, 50.65, 96.32°)
OKLaboklab(63.89% -0.0201 0.1125)
OKLCHoklch(63.89% 0.114 100.2)
XYZxyz(23.7294, 26.3160, 6.4138)
Luminance0.2631 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8D2E #2E3D9C
analogous
#9C562E #9C8D2E #749C2E
triadic
#9C8D2E #2E9C8D #8D2E9C
tetradic
#9C8D2E #2E9C56 #2E3D9C #9C2E74
square
#9C8D2E #2E9C56 #2E3D9C #9C2E74
split-complementary
#9C8D2E #2E749C #562E9C
monochromatic
#3D3812 #6D6220 #9C8D2E #C7B440 #D5C770

Accessibility & contrast

On white

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

On black

6.26
#9C8D2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8D2E
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8D2E#FFFFFF#000000##000000
##9C8D2E1.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9c8d2e;
/* rgb */ color: rgb(156, 141, 46);
/* oklch */ color: oklch(63.9% 0.114 100.2);
Tailwind
colors: {
  custom: {
    50: '#bcae6d',
    500: '#9c8d2e',
    950: '#000000',
  },
}
SCSS
$custom: #9c8d2e;
$custom-light: #bcae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8d2e",
  "rgb": {
    "r": 156,
    "g": 141,
    "b": 46
  },
  "hsl": {
    "h": 51.818,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.63893,
    "c": 0.1143,
    "h": 100.2
  },
  "luminance": 0.26315
}

Semantic roles & 50–950 ramp

primary
#9C8D2E
secondary
#6A75BC
accent
#5EDE4A
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9C8D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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