#9C8E2A#9C8E2A

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

Color values

HEX#9C8E2A
RGBrgb(156, 142, 42)
HSLhsl(53, 58%, 39%)
HSVhsv(53, 73%, 61%)
CMYKcmyk(0%, 9%, 73.1%, 38.8%)
CIE-LABlab(58.59, -6.33, 52.21)
CIE-LCHlch(58.59, 52.59, 96.91°)
OKLaboklab(64.08% -0.0227 0.1157)
OKLCHoklch(64.08% 0.118 101.1)
XYZxyz(23.8023, 26.5822, 6.0671)
Luminance0.2658 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8E2A #2A389C
analogous
#9C552A #9C8E2A #719C2A
triadic
#9C8E2A #2A9C8E #8E2A9C
tetradic
#9C8E2A #2A9C55 #2A389C #9C2A71
square
#9C8E2A #2A9C55 #2A389C #9C2A71
split-complementary
#9C8E2A #2A719C #552A9C
monochromatic
#3C3610 #6C621D #9C8E2A #CAB839 #D7C96A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C8E2A#FFFFFF#000000##000000
##9C8E2A1.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)
#9C8A1A
Deuteranopia (green-blind)
#A08F30
Tritanopia (blue-blind)
#A8847A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9c8e2a;
/* rgb */ color: rgb(156, 142, 42);
/* oklch */ color: oklch(64.1% 0.118 101.1);
Tailwind
colors: {
  custom: {
    50: '#bdae6b',
    500: '#9c8e2a',
    950: '#000000',
  },
}
SCSS
$custom: #9c8e2a;
$custom-light: #bdae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8e2a",
  "rgb": {
    "r": 156,
    "g": 142,
    "b": 42
  },
  "hsl": {
    "h": 52.632,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.64083,
    "c": 0.1179,
    "h": 101.1
  },
  "luminance": 0.26581
}

Semantic roles & 50–950 ramp

primary
#9C8E2A
secondary
#656FBD
accent
#5AE147
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #9C8E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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