#9C8E30#9C8E30

#9C8E30 is a light, moderate yellow. Relative luminance 0.266; OKLCH L 64.1% C 0.114 H 100.7°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#9C8E30
RGBrgb(156, 142, 48)
HSLhsl(52, 53%, 40%)
HSVhsv(52, 69%, 61%)
CMYKcmyk(0%, 9%, 69.2%, 38.8%)
CIE-LABlab(58.63, -6.01, 49.81)
CIE-LCHlch(58.63, 50.17, 96.88°)
OKLaboklab(64.13% -0.0211 0.1117)
OKLCHoklch(64.13% 0.114 100.7)
XYZxyz(23.9178, 26.6284, 6.6757)
Luminance0.2663 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8E30 #303E9C
analogous
#9C5830 #9C8E30 #749C30
triadic
#9C8E30 #309C8E #8E309C
tetradic
#9C8E30 #309C58 #303E9C #9C3074
square
#9C8E30 #309C58 #303E9C #9C3074
split-complementary
#9C8E30 #30749C #58309C
monochromatic
#3E3913 #6D6322 #9C8E30 #C5B544 #D4C773

Accessibility & contrast

On white

3.32
#9C8E30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#9C8E30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8E30
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8E30#FFFFFF#000000##000000
##9C8E301.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8A23
Deuteranopia (green-blind)
#9F8F36
Tritanopia (blue-blind)
#A8847B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9c8e30;
/* rgb */ color: rgb(156, 142, 48);
/* oklch */ color: oklch(64.1% 0.114 100.7);
Tailwind
colors: {
  custom: {
    50: '#bcae6e',
    500: '#9c8e30',
    950: '#000000',
  },
}
SCSS
$custom: #9c8e30;
$custom-light: #bcae6e;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8e30",
  "rgb": {
    "r": 156,
    "g": 142,
    "b": 48
  },
  "hsl": {
    "h": 52.222,
    "s": 52.941,
    "l": 40
  },
  "oklch": {
    "l": 0.64131,
    "c": 0.11371,
    "h": 100.7
  },
  "luminance": 0.26627
}

Semantic roles & 50–950 ramp

primary
#9C8E30
secondary
#6C77BC
accent
#5EDC4B
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9C8E30

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

Preview Lab → · Contrast checker → · Palette generator →

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