#9C8E39#9C8E39

#9C8E39 is a light, moderate yellow. Relative luminance 0.267; OKLCH L 64.2% C 0.107 H 100.0°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#9C8E39
RGBrgb(156, 142, 57)
HSLhsl(52, 46%, 42%)
HSVhsv(52, 63%, 61%)
CMYKcmyk(0%, 9%, 63.5%, 38.8%)
CIE-LABlab(58.71, -5.44, 45.90)
CIE-LCHlch(58.71, 46.22, 96.76°)
OKLaboklab(64.22% -0.0184 0.1049)
OKLCHoklch(64.22% 0.107 100)
XYZxyz(24.1228, 26.7104, 7.7551)
Luminance0.2671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8E39 #39479C
analogous
#9C5D39 #9C8E39 #799C39
triadic
#9C8E39 #399C8E #8E399C
tetradic
#9C8E39 #399C5D #39479C #9C3979
square
#9C8E39 #399C5D #39479C #9C3979
split-complementary
#9C8E39 #39799C #5D399C
monochromatic
#423C18 #6F6529 #9C8E39 #C0B052 #D0C57F

Accessibility & contrast

On white

3.31
#9C8E39 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#9C8E39 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8E39
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8E39#FFFFFF#000000##000000
##9C8E391.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8A2F
Deuteranopia (green-blind)
#9F903D
Tritanopia (blue-blind)
#A8847C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9c8e39;
/* rgb */ color: rgb(156, 142, 57);
/* oklch */ color: oklch(64.2% 0.107 100.0);
Tailwind
colors: {
  custom: {
    50: '#bcae73',
    500: '#9c8e39',
    950: '#000000',
  },
}
SCSS
$custom: #9c8e39;
$custom-light: #bcae73;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8e39",
  "rgb": {
    "r": 156,
    "g": 142,
    "b": 57
  },
  "hsl": {
    "h": 51.515,
    "s": 46.479,
    "l": 41.765
  },
  "oklch": {
    "l": 0.64216,
    "c": 0.10653,
    "h": 100
  },
  "luminance": 0.26709
}

Semantic roles & 50–950 ramp

primary
#9C8E39
secondary
#7780BA
accent
#64D652
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #9C8E39

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

Preview Lab → · Contrast checker → · Palette generator →

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