#9C9130#9C9130

#9C9130 is a light, moderate yellow. Relative luminance 0.275; OKLCH L 64.8% C 0.116 H 102.8°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#9C9130
RGBrgb(156, 145, 48)
HSLhsl(54, 53%, 40%)
HSVhsv(54, 69%, 61%)
CMYKcmyk(0%, 7.1%, 69.2%, 38.8%)
CIE-LABlab(59.46, -7.63, 50.66)
CIE-LCHlch(59.46, 51.23, 98.57°)
OKLaboklab(64.79% -0.0258 0.1135)
OKLCHoklch(64.79% 0.116 102.8)
XYZxyz(24.3702, 27.5331, 6.8265)
Luminance0.2753 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C9130 #303B9C
analogous
#9C5B30 #9C9130 #719C30
triadic
#9C9130 #309C91 #91309C
tetradic
#9C9130 #309C5B #303B9C #9C3071
square
#9C9130 #309C5B #303B9C #9C3071
split-complementary
#9C9130 #30719C #5B309C
monochromatic
#3E3A13 #6D6622 #9C9130 #C5B844 #D4CA73

Accessibility & contrast

On white

3.23
#9C9130 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#9C9130 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C9130
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C9130#FFFFFF#000000##000000
##9C91301.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C22
Deuteranopia (green-blind)
#A29136
Tritanopia (blue-blind)
#A8877D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9c9130;
/* rgb */ color: rgb(156, 145, 48);
/* oklch */ color: oklch(64.8% 0.116 102.8);
Tailwind
colors: {
  custom: {
    50: '#bcb06e',
    500: '#9c9130',
    950: '#000000',
  },
}
SCSS
$custom: #9c9130;
$custom-light: #bcb06e;
$custom-dark: #000000;
JSON
{
  "hex": "#9c9130",
  "rgb": {
    "r": 156,
    "g": 145,
    "b": 48
  },
  "hsl": {
    "h": 53.889,
    "s": 52.941,
    "l": 40
  },
  "oklch": {
    "l": 0.64794,
    "c": 0.11641,
    "h": 102.8
  },
  "luminance": 0.27532
}

Semantic roles & 50–950 ramp

primary
#9C9130
secondary
#6C74BC
accent
#5ADC4B
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9C9130

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

Preview Lab → · Contrast checker → · Palette generator →

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