#9C8E2B#9C8E2B

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

Color values

HEX#9C8E2B
RGBrgb(156, 142, 43)
HSLhsl(53, 57%, 39%)
HSVhsv(53, 72%, 61%)
CMYKcmyk(0%, 9%, 72.4%, 38.8%)
CIE-LABlab(58.59, -6.28, 51.82)
CIE-LCHlch(58.59, 52.20, 96.91°)
OKLaboklab(64.09% -0.0225 0.1151)
OKLCHoklch(64.09% 0.117 101.1)
XYZxyz(23.8204, 26.5894, 6.1626)
Luminance0.2659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8E2B #2B399C
analogous
#9C562B #9C8E2B #729C2B
triadic
#9C8E2B #2B9C8E #8E2B9C
tetradic
#9C8E2B #2B9C56 #2B399C #9C2B72
square
#9C8E2B #2B9C56 #2B399C #9C2B72
split-complementary
#9C8E2B #2B729C #562B9C
monochromatic
#3C3711 #6C621E #9C8E2B #C9B73B #D6C96B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C8E2B#FFFFFF#000000##000000
##9C8E2B1.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)
#9C8A1B
Deuteranopia (green-blind)
#A08F31
Tritanopia (blue-blind)
#A8847A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9c8e2b;
/* rgb */ color: rgb(156, 142, 43);
/* oklch */ color: oklch(64.1% 0.117 101.1);
Tailwind
colors: {
  custom: {
    50: '#bdae6b',
    500: '#9c8e2b',
    950: '#000000',
  },
}
SCSS
$custom: #9c8e2b;
$custom-light: #bdae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8e2b",
  "rgb": {
    "r": 156,
    "g": 142,
    "b": 43
  },
  "hsl": {
    "h": 52.566,
    "s": 56.784,
    "l": 39.02
  },
  "oklch": {
    "l": 0.6409,
    "c": 0.11724,
    "h": 101.1
  },
  "luminance": 0.26588
}

Semantic roles & 50–950 ramp

primary
#9C8E2B
secondary
#6671BD
accent
#5BE048
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9C8E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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