#9C8F2C#9C8F2C

#9C8F2C is a light, moderate yellow. Relative luminance 0.269; OKLCH L 64.3% C 0.117 H 101.7°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#9C8F2C
RGBrgb(156, 143, 44)
HSLhsl(53, 56%, 39%)
HSVhsv(53, 72%, 61%)
CMYKcmyk(0%, 8.3%, 71.8%, 38.8%)
CIE-LABlab(58.88, -6.77, 51.70)
CIE-LCHlch(58.88, 52.14, 97.46°)
OKLaboklab(64.32% -0.0238 0.115)
OKLCHoklch(64.32% 0.117 101.7)
XYZxyz(23.9884, 26.8957, 6.3102)
Luminance0.2690 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8F2C #2C399C
analogous
#9C572C #9C8F2C #719C2C
triadic
#9C8F2C #2C9C8F #8F2C9C
tetradic
#9C8F2C #2C9C57 #2C399C #9C2C71
square
#9C8F2C #2C9C57 #2C399C #9C2C71
split-complementary
#9C8F2C #2C719C #572C9C
monochromatic
#3D3711 #6C631F #9C8F2C #C8B83D #D6CA6D

Accessibility & contrast

On white

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

On black

6.38
#9C8F2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8F2C
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8F2C#FFFFFF#000000##000000
##9C8F2C1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8B1D
Deuteranopia (green-blind)
#A09032
Tritanopia (blue-blind)
#A8857B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9c8f2c;
/* rgb */ color: rgb(156, 143, 44);
/* oklch */ color: oklch(64.3% 0.117 101.7);
Tailwind
colors: {
  custom: {
    50: '#bcaf6c',
    500: '#9c8f2c',
    950: '#000000',
  },
}
SCSS
$custom: #9c8f2c;
$custom-light: #bcaf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8f2c",
  "rgb": {
    "r": 156,
    "g": 143,
    "b": 44
  },
  "hsl": {
    "h": 53.036,
    "s": 56,
    "l": 39.216
  },
  "oklch": {
    "l": 0.64319,
    "c": 0.11744,
    "h": 101.7
  },
  "luminance": 0.26895
}

Semantic roles & 50–950 ramp

primary
#9C8F2C
secondary
#6771BD
accent
#5ADF49
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9C8F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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