#9C8F2D#9C8F2D

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

Color values

HEX#9C8F2D
RGBrgb(156, 143, 45)
HSLhsl(53, 55%, 39%)
HSVhsv(53, 71%, 61%)
CMYKcmyk(0%, 8.3%, 71.2%, 38.8%)
CIE-LABlab(58.88, -6.72, 51.31)
CIE-LCHlch(58.88, 51.74, 97.46°)
OKLaboklab(64.33% -0.0235 0.1144)
OKLCHoklch(64.33% 0.117 101.6)
XYZxyz(24.0075, 26.9033, 6.4104)
Luminance0.2690 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8F2D #2D3A9C
analogous
#9C582D #9C8F2D #729C2D
triadic
#9C8F2D #2D9C8F #8F2D9C
tetradic
#9C8F2D #2D9C58 #2D3A9C #9C2D72
square
#9C8F2D #2D9C58 #2D3A9C #9C2D72
split-complementary
#9C8F2D #2D729C #582D9C
monochromatic
#3D3812 #6D631F #9C8F2D #C8B73F #D5C96E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C8F2D#FFFFFF#000000##000000
##9C8F2D1.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)
#9C8B1E
Deuteranopia (green-blind)
#A09033
Tritanopia (blue-blind)
#A8857B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9c8f2d;
/* rgb */ color: rgb(156, 143, 45);
/* oklch */ color: oklch(64.3% 0.117 101.6);
Tailwind
colors: {
  custom: {
    50: '#bcaf6c',
    500: '#9c8f2d',
    950: '#000000',
  },
}
SCSS
$custom: #9c8f2d;
$custom-light: #bcaf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8f2d",
  "rgb": {
    "r": 156,
    "g": 143,
    "b": 45
  },
  "hsl": {
    "h": 52.973,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.64327,
    "c": 0.11675,
    "h": 101.6
  },
  "luminance": 0.26902
}

Semantic roles & 50–950 ramp

primary
#9C8F2D
secondary
#6872BC
accent
#5BDF49
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9C8F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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