#9C902A#9C902A

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

Color values

HEX#9C902A
RGBrgb(156, 144, 42)
HSLhsl(54, 58%, 39%)
HSVhsv(54, 73%, 61%)
CMYKcmyk(0%, 7.7%, 73.1%, 38.8%)
CIE-LABlab(59.14, -7.41, 52.75)
CIE-LCHlch(59.14, 53.27, 98.00°)
OKLaboklab(64.53% -0.0258 0.1168)
OKLCHoklch(64.53% 0.12 102.5)
XYZxyz(24.1025, 27.1826, 6.1672)
Luminance0.2718 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C902A #2A369C
analogous
#9C572A #9C902A #6F9C2A
triadic
#9C902A #2A9C90 #902A9C
tetradic
#9C902A #2A9C57 #2A369C #9C2A6F
square
#9C902A #2A9C57 #2A369C #9C2A6F
split-complementary
#9C902A #2A6F9C #572A9C
monochromatic
#3C3710 #6C631D #9C902A #CABB39 #D7CB6A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C902A#FFFFFF#000000##000000
##9C902A1.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)
#9D8B19
Deuteranopia (green-blind)
#A19131
Tritanopia (blue-blind)
#A8867C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9c902a;
/* rgb */ color: rgb(156, 144, 42);
/* oklch */ color: oklch(64.5% 0.120 102.5);
Tailwind
colors: {
  custom: {
    50: '#bdb06b',
    500: '#9c902a',
    950: '#000000',
  },
}
SCSS
$custom: #9c902a;
$custom-light: #bdb06b;
$custom-dark: #000000;
JSON
{
  "hex": "#9c902a",
  "rgb": {
    "r": 156,
    "g": 144,
    "b": 42
  },
  "hsl": {
    "h": 53.684,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.64525,
    "c": 0.11965,
    "h": 102.5
  },
  "luminance": 0.27182
}

Semantic roles & 50–950 ramp

primary
#9C902A
secondary
#656EBD
accent
#57E147
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #9C902A

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

Preview Lab → · Contrast checker → · Palette generator →

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