#9C8E2D#9C8E2D

#9C8E2D is a light, moderate yellow. Relative luminance 0.266; OKLCH L 64.1% C 0.116 H 100.9°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#9C8E2D
RGBrgb(156, 142, 45)
HSLhsl(52, 55%, 39%)
HSVhsv(52, 71%, 61%)
CMYKcmyk(0%, 9%, 71.2%, 38.8%)
CIE-LABlab(58.61, -6.17, 51.03)
CIE-LCHlch(58.61, 51.40, 96.90°)
OKLaboklab(64.11% -0.022 0.1138)
OKLCHoklch(64.11% 0.116 100.9)
XYZxyz(23.8580, 26.6044, 6.3606)
Luminance0.2660 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8E2D #2D3B9C
analogous
#9C562D #9C8E2D #739C2D
triadic
#9C8E2D #2D9C8E #8E2D9C
tetradic
#9C8E2D #2D9C56 #2D3B9C #9C2D73
square
#9C8E2D #2D9C56 #2D3B9C #9C2D73
split-complementary
#9C8E2D #2D739C #562D9C
monochromatic
#3D3812 #6D631F #9C8E2D #C8B63F #D5C86E

Accessibility & contrast

On white

3.32
#9C8E2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#9C8E2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8E2D
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8E2D#FFFFFF#000000##000000
##9C8E2D1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8A1E
Deuteranopia (green-blind)
#9F8F33
Tritanopia (blue-blind)
#A8847B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9c8e2d;
/* rgb */ color: rgb(156, 142, 45);
/* oklch */ color: oklch(64.1% 0.116 100.9);
Tailwind
colors: {
  custom: {
    50: '#bcae6c',
    500: '#9c8e2d',
    950: '#000000',
  },
}
SCSS
$custom: #9c8e2d;
$custom-light: #bcae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8e2d",
  "rgb": {
    "r": 156,
    "g": 142,
    "b": 45
  },
  "hsl": {
    "h": 52.432,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.64106,
    "c": 0.11587,
    "h": 100.9
  },
  "luminance": 0.26603
}

Semantic roles & 50–950 ramp

primary
#9C8E2D
secondary
#6873BC
accent
#5CDF49
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9C8E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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