#9C8E2C#9C8E2C

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

Color values

HEX#9C8E2C
RGBrgb(156, 142, 44)
HSLhsl(53, 56%, 39%)
HSVhsv(53, 72%, 61%)
CMYKcmyk(0%, 9%, 71.8%, 38.8%)
CIE-LABlab(58.60, -6.23, 51.43)
CIE-LCHlch(58.60, 51.80, 96.90°)
OKLaboklab(64.1% -0.0222 0.1144)
OKLCHoklch(64.1% 0.117 101)
XYZxyz(23.8390, 26.5968, 6.2604)
Luminance0.2660 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8E2C #2C3A9C
analogous
#9C562C #9C8E2C #729C2C
triadic
#9C8E2C #2C9C8E #8E2C9C
tetradic
#9C8E2C #2C9C56 #2C3A9C #9C2C72
square
#9C8E2C #2C9C56 #2C3A9C #9C2C72
split-complementary
#9C8E2C #2C729C #562C9C
monochromatic
#3D3711 #6C631F #9C8E2C #C8B73D #D6C96D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C8E2C#FFFFFF#000000##000000
##9C8E2C1.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)
#9C8A1D
Deuteranopia (green-blind)
#A08F32
Tritanopia (blue-blind)
#A8847A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9c8e2c;
/* rgb */ color: rgb(156, 142, 44);
/* oklch */ color: oklch(64.1% 0.117 101.0);
Tailwind
colors: {
  custom: {
    50: '#bdae6c',
    500: '#9c8e2c',
    950: '#000000',
  },
}
SCSS
$custom: #9c8e2c;
$custom-light: #bdae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8e2c",
  "rgb": {
    "r": 156,
    "g": 142,
    "b": 44
  },
  "hsl": {
    "h": 52.5,
    "s": 56,
    "l": 39.216
  },
  "oklch": {
    "l": 0.64098,
    "c": 0.11656,
    "h": 101
  },
  "luminance": 0.26596
}

Semantic roles & 50–950 ramp

primary
#9C8E2C
secondary
#6772BD
accent
#5BDF49
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9C8E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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