#9C8C2E#9C8C2E

#9C8C2E is a light, moderate yellow. Relative luminance 0.260; OKLCH L 63.7% C 0.113 H 99.4°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#9C8C2E
RGBrgb(156, 140, 46)
HSLhsl(51, 54%, 40%)
HSVhsv(51, 71%, 61%)
CMYKcmyk(0%, 10.3%, 70.5%, 38.8%)
CIE-LABlab(58.06, -5.03, 50.07)
CIE-LCHlch(58.06, 50.32, 95.74°)
OKLaboklab(63.67% -0.0186 0.1119)
OKLCHoklch(63.67% 0.113 99.4)
XYZxyz(23.5826, 26.0224, 6.3649)
Luminance0.2602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8C2E #2E3E9C
analogous
#9C552E #9C8C2E #759C2E
triadic
#9C8C2E #2E9C8C #8C2E9C
tetradic
#9C8C2E #2E9C55 #2E3E9C #9C2E75
square
#9C8C2E #2E9C55 #2E3E9C #9C2E75
split-complementary
#9C8C2E #2E759C #552E9C
monochromatic
#3D3712 #6D6220 #9C8C2E #C7B340 #D5C670

Accessibility & contrast

On white

3.38
#9C8C2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#9C8C2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8C2E
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8C2E#FFFFFF#000000##000000
##9C8C2E1.003.386.206.20
#FFFFFF3.381.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8821
Deuteranopia (green-blind)
#9E8E34
Tritanopia (blue-blind)
#A88279
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9c8c2e;
/* rgb */ color: rgb(156, 140, 46);
/* oklch */ color: oklch(63.7% 0.113 99.4);
Tailwind
colors: {
  custom: {
    50: '#bcad6d',
    500: '#9c8c2e',
    950: '#000000',
  },
}
SCSS
$custom: #9c8c2e;
$custom-light: #bcad6d;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8c2e",
  "rgb": {
    "r": 156,
    "g": 140,
    "b": 46
  },
  "hsl": {
    "h": 51.273,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.63673,
    "c": 0.11346,
    "h": 99.4
  },
  "luminance": 0.26021
}

Semantic roles & 50–950 ramp

primary
#9C8C2E
secondary
#6A76BC
accent
#5FDE4A
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9C8C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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