#9C8F2A#9C8F2A

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

Color values

HEX#9C8F2A
RGBrgb(156, 143, 42)
HSLhsl(53, 58%, 39%)
HSVhsv(53, 73%, 61%)
CMYKcmyk(0%, 8.3%, 73.1%, 38.8%)
CIE-LABlab(58.86, -6.87, 52.48)
CIE-LCHlch(58.86, 52.93, 97.46°)
OKLaboklab(64.3% -0.0243 0.1163)
OKLCHoklch(64.3% 0.119 101.8)
XYZxyz(23.9518, 26.8811, 6.1170)
Luminance0.2688 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8F2A #2A379C
analogous
#9C562A #9C8F2A #709C2A
triadic
#9C8F2A #2A9C8F #8F2A9C
tetradic
#9C8F2A #2A9C56 #2A379C #9C2A70
square
#9C8F2A #2A9C56 #2A379C #9C2A70
split-complementary
#9C8F2A #2A709C #562A9C
monochromatic
#3C3710 #6C631D #9C8F2A #CAB939 #D7CA6A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C8F2A#FFFFFF#000000##000000
##9C8F2A1.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)
#9D8B19
Deuteranopia (green-blind)
#A09031
Tritanopia (blue-blind)
#A8857B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9c8f2a;
/* rgb */ color: rgb(156, 143, 42);
/* oklch */ color: oklch(64.3% 0.119 101.8);
Tailwind
colors: {
  custom: {
    50: '#bdaf6b',
    500: '#9c8f2a',
    950: '#000000',
  },
}
SCSS
$custom: #9c8f2a;
$custom-light: #bdaf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8f2a",
  "rgb": {
    "r": 156,
    "g": 143,
    "b": 42
  },
  "hsl": {
    "h": 53.158,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.64304,
    "c": 0.11878,
    "h": 101.8
  },
  "luminance": 0.2688
}

Semantic roles & 50–950 ramp

primary
#9C8F2A
secondary
#656FBD
accent
#59E147
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #9C8F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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