#9C8E2E#9C8E2E

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

Color values

HEX#9C8E2E
RGBrgb(156, 142, 46)
HSLhsl(52, 54%, 40%)
HSVhsv(52, 71%, 61%)
CMYKcmyk(0%, 9%, 70.5%, 38.8%)
CIE-LABlab(58.61, -6.12, 50.63)
CIE-LCHlch(58.61, 51.00, 96.89°)
OKLaboklab(64.11% -0.0217 0.1131)
OKLCHoklch(64.11% 0.115 100.9)
XYZxyz(23.8775, 26.6122, 6.4632)
Luminance0.2661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8E2E #2E3C9C
analogous
#9C572E #9C8E2E #739C2E
triadic
#9C8E2E #2E9C8E #8E2E9C
tetradic
#9C8E2E #2E9C57 #2E3C9C #9C2E73
square
#9C8E2E #2E9C57 #2E3C9C #9C2E73
split-complementary
#9C8E2E #2E739C #572E9C
monochromatic
#3D3812 #6D6320 #9C8E2E #C7B640 #D5C870

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C8E2E#FFFFFF#000000##000000
##9C8E2E1.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)
#9B8A20
Deuteranopia (green-blind)
#9F8F34
Tritanopia (blue-blind)
#A8847B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9c8e2e;
/* rgb */ color: rgb(156, 142, 46);
/* oklch */ color: oklch(64.1% 0.115 100.9);
Tailwind
colors: {
  custom: {
    50: '#bcae6d',
    500: '#9c8e2e',
    950: '#000000',
  },
}
SCSS
$custom: #9c8e2e;
$custom-light: #bcae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8e2e",
  "rgb": {
    "r": 156,
    "g": 142,
    "b": 46
  },
  "hsl": {
    "h": 52.364,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.64114,
    "c": 0.11516,
    "h": 100.9
  },
  "luminance": 0.26611
}

Semantic roles & 50–950 ramp

primary
#9C8E2E
secondary
#6A74BC
accent
#5DDE4A
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9C8E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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