#9C8F2B#9C8F2B

#9C8F2B is a light, moderate yellow. Relative luminance 0.269; OKLCH L 64.3% C 0.118 H 101.7°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#9C8F2B
RGBrgb(156, 143, 43)
HSLhsl(53, 57%, 39%)
HSVhsv(53, 72%, 61%)
CMYKcmyk(0%, 8.3%, 72.4%, 38.8%)
CIE-LABlab(58.87, -6.82, 52.09)
CIE-LCHlch(58.87, 52.54, 97.46°)
OKLaboklab(64.31% -0.024 0.1156)
OKLCHoklch(64.31% 0.118 101.7)
XYZxyz(23.9699, 26.8883, 6.2124)
Luminance0.2689 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8F2B #2B389C
analogous
#9C572B #9C8F2B #719C2B
triadic
#9C8F2B #2B9C8F #8F2B9C
tetradic
#9C8F2B #2B9C57 #2B389C #9C2B71
square
#9C8F2B #2B9C57 #2B389C #9C2B71
split-complementary
#9C8F2B #2B719C #572B9C
monochromatic
#3C3711 #6C631E #9C8F2B #C9B93B #D6CA6B

Accessibility & contrast

On white

3.29
#9C8F2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#9C8F2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8F2B
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8F2B#FFFFFF#000000##000000
##9C8F2B1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8B1B
Deuteranopia (green-blind)
#A09031
Tritanopia (blue-blind)
#A8857B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9c8f2b;
/* rgb */ color: rgb(156, 143, 43);
/* oklch */ color: oklch(64.3% 0.118 101.7);
Tailwind
colors: {
  custom: {
    50: '#bdaf6b',
    500: '#9c8f2b',
    950: '#000000',
  },
}
SCSS
$custom: #9c8f2b;
$custom-light: #bdaf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8f2b",
  "rgb": {
    "r": 156,
    "g": 143,
    "b": 43
  },
  "hsl": {
    "h": 53.097,
    "s": 56.784,
    "l": 39.02
  },
  "oklch": {
    "l": 0.64311,
    "c": 0.11811,
    "h": 101.7
  },
  "luminance": 0.26887
}

Semantic roles & 50–950 ramp

primary
#9C8F2B
secondary
#6670BD
accent
#59E048
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9C8F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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