#9C8E37#9C8E37

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

Color values

HEX#9C8E37
RGBrgb(156, 142, 55)
HSLhsl(52, 48%, 41%)
HSVhsv(52, 65%, 61%)
CMYKcmyk(0%, 9%, 64.7%, 38.8%)
CIE-LABlab(58.69, -5.57, 46.80)
CIE-LCHlch(58.69, 47.13, 96.79°)
OKLaboklab(64.2% -0.0191 0.1065)
OKLCHoklch(64.2% 0.108 100.2)
XYZxyz(24.0739, 26.6908, 7.4975)
Luminance0.2669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8E37 #37459C
analogous
#9C5C37 #9C8E37 #789C37
triadic
#9C8E37 #379C8E #8E379C
tetradic
#9C8E37 #379C5C #37459C #9C3778
square
#9C8E37 #379C5C #37459C #9C3778
split-complementary
#9C8E37 #37789C #5C379C
monochromatic
#423C17 #6F6527 #9C8E37 #C1B14F #D1C57C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C8E37#FFFFFF#000000##000000
##9C8E371.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)
#9B8A2D
Deuteranopia (green-blind)
#9F903C
Tritanopia (blue-blind)
#A8847C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9c8e37;
/* rgb */ color: rgb(156, 142, 55);
/* oklch */ color: oklch(64.2% 0.108 100.2);
Tailwind
colors: {
  custom: {
    50: '#bcae72',
    500: '#9c8e37',
    950: '#000000',
  },
}
SCSS
$custom: #9c8e37;
$custom-light: #bcae72;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8e37",
  "rgb": {
    "r": 156,
    "g": 142,
    "b": 55
  },
  "hsl": {
    "h": 51.683,
    "s": 47.867,
    "l": 41.373
  },
  "oklch": {
    "l": 0.64195,
    "c": 0.10822,
    "h": 100.2
  },
  "luminance": 0.2669
}

Semantic roles & 50–950 ramp

primary
#9C8E37
secondary
#757EBA
accent
#63D750
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #9C8E37

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

Preview Lab → · Contrast checker → · Palette generator →

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