#9C8E3F#9C8E3F

#9C8E3F is a light, moderate yellow. Relative luminance 0.268; OKLCH L 64.3% C 0.101 H 99.4°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#9C8E3F
RGBrgb(156, 142, 63)
HSLhsl(51, 42%, 43%)
HSVhsv(51, 60%, 61%)
CMYKcmyk(0%, 9%, 59.6%, 38.8%)
CIE-LABlab(58.76, -5.00, 43.12)
CIE-LCHlch(58.76, 43.41, 96.61°)
OKLaboklab(64.28% -0.0165 0.0998)
OKLCHoklch(64.28% 0.101 99.4)
XYZxyz(24.2814, 26.7738, 8.5905)
Luminance0.2677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8E3F #3F4D9C
analogous
#9C5F3F #9C8E3F #7B9C3F
triadic
#9C8E3F #3F9C8E #8E3F9C
tetradic
#9C8E3F #3F9C5F #3F4D9C #9C3F7B
square
#9C8E3F #3F9C5F #3F4D9C #9C3F7B
split-complementary
#9C8E3F #3F7B9C #5F3F9C
monochromatic
#453F1C #70662D #9C8E3F #BDAE5B #CEC487

Accessibility & contrast

On white

3.30
#9C8E3F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#9C8E3F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8E3F
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8E3F#FFFFFF#000000##000000
##9C8E3F1.003.306.356.35
#FFFFFF3.301.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8A37
Deuteranopia (green-blind)
#9E9043
Tritanopia (blue-blind)
#A7857D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9c8e3f;
/* rgb */ color: rgb(156, 142, 63);
/* oklch */ color: oklch(64.3% 0.101 99.4);
Tailwind
colors: {
  custom: {
    50: '#bcae77',
    500: '#9c8e3f',
    950: '#000000',
  },
}
SCSS
$custom: #9c8e3f;
$custom-light: #bcae77;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8e3f",
  "rgb": {
    "r": 156,
    "g": 142,
    "b": 63
  },
  "hsl": {
    "h": 50.968,
    "s": 42.466,
    "l": 42.941
  },
  "oklch": {
    "l": 0.64282,
    "c": 0.10118,
    "h": 99.4
  },
  "luminance": 0.26773
}

Semantic roles & 50–950 ramp

primary
#9C8E3F
secondary
#7E87B9
accent
#68D256
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121009
muted
#817F7B

Preview Lab

Preview with #9C8E3F

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

Preview Lab → · Contrast checker → · Palette generator →

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