#9C8F2E#9C8F2E

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

Color values

HEX#9C8F2E
RGBrgb(156, 143, 46)
HSLhsl(53, 54%, 40%)
HSVhsv(53, 71%, 61%)
CMYKcmyk(0%, 8.3%, 70.5%, 38.8%)
CIE-LABlab(58.89, -6.66, 50.91)
CIE-LCHlch(58.89, 51.34, 97.46°)
OKLaboklab(64.33% -0.0232 0.1137)
OKLCHoklch(64.33% 0.116 101.5)
XYZxyz(24.0270, 26.9111, 6.5130)
Luminance0.2691 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8F2E #2E3B9C
analogous
#9C582E #9C8F2E #729C2E
triadic
#9C8F2E #2E9C8F #8F2E9C
tetradic
#9C8F2E #2E9C58 #2E3B9C #9C2E72
square
#9C8F2E #2E9C58 #2E3B9C #9C2E72
split-complementary
#9C8F2E #2E729C #582E9C
monochromatic
#3D3812 #6D6420 #9C8F2E #C7B740 #D5C970

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C8F2E#FFFFFF#000000##000000
##9C8F2E1.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)
#9C8B20
Deuteranopia (green-blind)
#A09034
Tritanopia (blue-blind)
#A8857B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9c8f2e;
/* rgb */ color: rgb(156, 143, 46);
/* oklch */ color: oklch(64.3% 0.116 101.5);
Tailwind
colors: {
  custom: {
    50: '#bcaf6d',
    500: '#9c8f2e',
    950: '#000000',
  },
}
SCSS
$custom: #9c8f2e;
$custom-light: #bcaf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8f2e",
  "rgb": {
    "r": 156,
    "g": 143,
    "b": 46
  },
  "hsl": {
    "h": 52.909,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.64335,
    "c": 0.11604,
    "h": 101.5
  },
  "luminance": 0.2691
}

Semantic roles & 50–950 ramp

primary
#9C8F2E
secondary
#6A73BC
accent
#5BDE4A
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9C8F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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