#9C8D37#9C8D37

#9C8D37 is a light, moderate yellow. Relative luminance 0.264; OKLCH L 64.0% C 0.107 H 99.4°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#9C8D37
RGBrgb(156, 141, 55)
HSLhsl(51, 48%, 41%)
HSVhsv(51, 65%, 61%)
CMYKcmyk(0%, 9.6%, 64.7%, 38.8%)
CIE-LABlab(58.41, -5.03, 46.50)
CIE-LCHlch(58.41, 46.77, 96.17°)
OKLaboklab(63.98% -0.0175 0.1059)
OKLCHoklch(63.98% 0.107 99.4)
XYZxyz(23.9258, 26.3946, 7.4481)
Luminance0.2639 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8D37 #37469C
analogous
#9C5B37 #9C8D37 #799C37
triadic
#9C8D37 #379C8D #8D379C
tetradic
#9C8D37 #379C5B #37469C #9C3779
square
#9C8D37 #379C5B #37469C #9C3779
split-complementary
#9C8D37 #37799C #5B379C
monochromatic
#423B17 #6F6427 #9C8D37 #C1B04F #D1C47C

Accessibility & contrast

On white

3.34
#9C8D37 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#9C8D37 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8D37
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8D37#FFFFFF#000000##000000
##9C8D371.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A892D
Deuteranopia (green-blind)
#9E8F3C
Tritanopia (blue-blind)
#A8837B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9c8d37;
/* rgb */ color: rgb(156, 141, 55);
/* oklch */ color: oklch(64.0% 0.107 99.4);
Tailwind
colors: {
  custom: {
    50: '#bcae72',
    500: '#9c8d37',
    950: '#000000',
  },
}
SCSS
$custom: #9c8d37;
$custom-light: #bcae72;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8d37",
  "rgb": {
    "r": 156,
    "g": 141,
    "b": 55
  },
  "hsl": {
    "h": 51.089,
    "s": 47.867,
    "l": 41.373
  },
  "oklch": {
    "l": 0.63976,
    "c": 0.10733,
    "h": 99.4
  },
  "luminance": 0.26394
}

Semantic roles & 50–950 ramp

primary
#9C8D37
secondary
#757FBA
accent
#64D750
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #9C8D37

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

Preview Lab → · Contrast checker → · Palette generator →

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