#9C8C2D#9C8C2D

#9C8C2D is a light, moderate yellow. Relative luminance 0.260; OKLCH L 63.7% C 0.114 H 99.5°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#9C8C2D
RGBrgb(156, 140, 45)
HSLhsl(51, 55%, 39%)
HSVhsv(51, 71%, 61%)
CMYKcmyk(0%, 10.3%, 71.2%, 38.8%)
CIE-LABlab(58.05, -5.09, 50.47)
CIE-LCHlch(58.05, 50.73, 95.75°)
OKLaboklab(63.67% -0.0189 0.1126)
OKLCHoklch(63.67% 0.114 99.5)
XYZxyz(23.5631, 26.0147, 6.2623)
Luminance0.2601 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8C2D #2D3D9C
analogous
#9C542D #9C8C2D #759C2D
triadic
#9C8C2D #2D9C8C #8C2D9C
tetradic
#9C8C2D #2D9C54 #2D3D9C #9C2D75
square
#9C8C2D #2D9C54 #2D3D9C #9C2D75
split-complementary
#9C8C2D #2D759C #542D9C
monochromatic
#3D3712 #6D611F #9C8C2D #C8B43F #D5C66E

Accessibility & contrast

On white

3.39
#9C8C2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#9C8C2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8C2D
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8C2D#FFFFFF#000000##000000
##9C8C2D1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A881F
Deuteranopia (green-blind)
#9E8E33
Tritanopia (blue-blind)
#A88279
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9c8c2d;
/* rgb */ color: rgb(156, 140, 45);
/* oklch */ color: oklch(63.7% 0.114 99.5);
Tailwind
colors: {
  custom: {
    50: '#bcad6c',
    500: '#9c8c2d',
    950: '#000000',
  },
}
SCSS
$custom: #9c8c2d;
$custom-light: #bcad6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8c2d",
  "rgb": {
    "r": 156,
    "g": 140,
    "b": 45
  },
  "hsl": {
    "h": 51.351,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.63665,
    "c": 0.11416,
    "h": 99.5
  },
  "luminance": 0.26014
}

Semantic roles & 50–950 ramp

primary
#9C8C2D
secondary
#6875BC
accent
#5FDF49
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9C8C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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