#9C8A2E#9C8A2E

#9C8A2E is a light, moderate yellow. Relative luminance 0.254; OKLCH L 63.2% C 0.112 H 98.0°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#9C8A2E
RGBrgb(156, 138, 46)
HSLhsl(50, 54%, 40%)
HSVhsv(50, 71%, 61%)
CMYKcmyk(0%, 11.5%, 70.5%, 38.8%)
CIE-LABlab(57.50, -3.94, 49.51)
CIE-LCHlch(57.50, 49.66, 94.55°)
OKLaboklab(63.23% -0.0155 0.1107)
OKLCHoklch(63.23% 0.112 98)
XYZxyz(23.2930, 25.4433, 6.2684)
Luminance0.2544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8A2E #2E409C
analogous
#9C532E #9C8A2E #779C2E
triadic
#9C8A2E #2E9C8A #8A2E9C
tetradic
#9C8A2E #2E9C53 #2E409C #9C2E77
square
#9C8A2E #2E9C53 #2E409C #9C2E77
split-complementary
#9C8A2E #2E779C #532E9C
monochromatic
#3D3612 #6D6020 #9C8A2E #C7B140 #D5C470

Accessibility & contrast

On white

3.45
#9C8A2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#9C8A2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8A2E
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8A2E#FFFFFF#000000##000000
##9C8A2E1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#988721
Deuteranopia (green-blind)
#9C8D33
Tritanopia (blue-blind)
#A88077
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9c8a2e;
/* rgb */ color: rgb(156, 138, 46);
/* oklch */ color: oklch(63.2% 0.112 98.0);
Tailwind
colors: {
  custom: {
    50: '#bcab6c',
    500: '#9c8a2e',
    950: '#000000',
  },
}
SCSS
$custom: #9c8a2e;
$custom-light: #bcab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8a2e",
  "rgb": {
    "r": 156,
    "g": 138,
    "b": 46
  },
  "hsl": {
    "h": 50.182,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.63234,
    "c": 0.11181,
    "h": 98
  },
  "luminance": 0.25442
}

Semantic roles & 50–950 ramp

primary
#9C8A2E
secondary
#6A77BC
accent
#62DE4A
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9C8A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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