#9C902C#9C902C

#9C902C is a light, moderate yellow. Relative luminance 0.272; OKLCH L 64.5% C 0.118 H 102.3°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#9C902C
RGBrgb(156, 144, 44)
HSLhsl(54, 56%, 39%)
HSVhsv(54, 72%, 61%)
CMYKcmyk(0%, 7.7%, 71.8%, 38.8%)
CIE-LABlab(59.16, -7.31, 51.98)
CIE-LCHlch(59.16, 52.49, 98.01°)
OKLaboklab(64.54% -0.0253 0.1156)
OKLCHoklch(64.54% 0.118 102.3)
XYZxyz(24.1392, 27.1973, 6.3605)
Luminance0.2720 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C902C #2C389C
analogous
#9C582C #9C902C #709C2C
triadic
#9C902C #2C9C90 #902C9C
tetradic
#9C902C #2C9C58 #2C389C #9C2C70
square
#9C902C #2C9C58 #2C389C #9C2C70
split-complementary
#9C902C #2C709C #582C9C
monochromatic
#3D3811 #6C641F #9C902C #C8B93D #D6CA6D

Accessibility & contrast

On white

3.26
#9C902C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#9C902C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C902C
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C902C#FFFFFF#000000##000000
##9C902C1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B1C
Deuteranopia (green-blind)
#A19132
Tritanopia (blue-blind)
#A8867C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9c902c;
/* rgb */ color: rgb(156, 144, 44);
/* oklch */ color: oklch(64.5% 0.118 102.3);
Tailwind
colors: {
  custom: {
    50: '#bcb06c',
    500: '#9c902c',
    950: '#000000',
  },
}
SCSS
$custom: #9c902c;
$custom-light: #bcb06c;
$custom-dark: #000000;
JSON
{
  "hex": "#9c902c",
  "rgb": {
    "r": 156,
    "g": 144,
    "b": 44
  },
  "hsl": {
    "h": 53.571,
    "s": 56,
    "l": 39.216
  },
  "oklch": {
    "l": 0.6454,
    "c": 0.11832,
    "h": 102.3
  },
  "luminance": 0.27196
}

Semantic roles & 50–950 ramp

primary
#9C902C
secondary
#6770BD
accent
#59DF49
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9C902C

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

Preview Lab → · Contrast checker → · Palette generator →

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