#9C8B2E#9C8B2E

#9C8B2E is a light, moderate yellow. Relative luminance 0.257; OKLCH L 63.5% C 0.113 H 98.7°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#9C8B2E
RGBrgb(156, 139, 46)
HSLhsl(51, 54%, 40%)
HSVhsv(51, 71%, 61%)
CMYKcmyk(0%, 10.9%, 70.5%, 38.8%)
CIE-LABlab(57.78, -4.48, 49.79)
CIE-LCHlch(57.78, 49.99, 95.15°)
OKLaboklab(63.45% -0.017 0.1113)
OKLCHoklch(63.45% 0.113 98.7)
XYZxyz(23.4371, 25.7315, 6.3164)
Luminance0.2573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8B2E #2E3F9C
analogous
#9C542E #9C8B2E #769C2E
triadic
#9C8B2E #2E9C8B #8B2E9C
tetradic
#9C8B2E #2E9C54 #2E3F9C #9C2E76
square
#9C8B2E #2E9C54 #2E3F9C #9C2E76
split-complementary
#9C8B2E #2E769C #542E9C
monochromatic
#3D3712 #6D6120 #9C8B2E #C7B240 #D5C570

Accessibility & contrast

On white

3.42
#9C8B2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#9C8B2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8B2E
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8B2E#FFFFFF#000000##000000
##9C8B2E1.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#998721
Deuteranopia (green-blind)
#9D8D33
Tritanopia (blue-blind)
#A88178
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9c8b2e;
/* rgb */ color: rgb(156, 139, 46);
/* oklch */ color: oklch(63.5% 0.113 98.7);
Tailwind
colors: {
  custom: {
    50: '#bcac6c',
    500: '#9c8b2e',
    950: '#000000',
  },
}
SCSS
$custom: #9c8b2e;
$custom-light: #bcac6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8b2e",
  "rgb": {
    "r": 156,
    "g": 139,
    "b": 46
  },
  "hsl": {
    "h": 50.727,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.63454,
    "c": 0.11263,
    "h": 98.7
  },
  "luminance": 0.2573
}

Semantic roles & 50–950 ramp

primary
#9C8B2E
secondary
#6A76BC
accent
#61DE4A
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9C8B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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