#9C9219#9C9219

#9C9219 is a light, vivid yellow. Relative luminance 0.277; OKLCH L 64.9% C 0.130 H 104.3°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#9C9219
RGBrgb(156, 146, 25)
HSLhsl(55, 72%, 35%)
HSVhsv(55, 84%, 61%)
CMYKcmyk(0%, 6.4%, 84%, 38.8%)
CIE-LABlab(59.61, -9.17, 58.78)
CIE-LCHlch(59.61, 59.49, 98.86°)
OKLaboklab(64.87% -0.0323 0.1264)
OKLCHoklch(64.87% 0.13 104.3)
XYZxyz(24.1658, 27.6969, 4.9926)
Luminance0.2770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C9219 #19239C
analogous
#9C5019 #9C9219 #649C19
triadic
#9C9219 #199C92 #92199C
tetradic
#9C9219 #199C50 #19239C #9C1964
square
#9C9219 #199C50 #19239C #9C1964
split-complementary
#9C9219 #19649C #50199C
monochromatic
#332F08 #676111 #9C9219 #D1C321 #E2D74D

Accessibility & contrast

On white

3.21
#9C9219 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#9C9219 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C9219
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C9219#FFFFFF#000000##000000
##9C92191.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#A39224
Tritanopia (blue-blind)
#A8877C
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9c9219;
/* rgb */ color: rgb(156, 146, 25);
/* oklch */ color: oklch(64.9% 0.130 104.3);
Tailwind
colors: {
  custom: {
    50: '#bdb163',
    500: '#9c9219',
    950: '#000000',
  },
}
SCSS
$custom: #9c9219;
$custom-light: #bdb163;
$custom-dark: #000000;
JSON
{
  "hex": "#9c9219",
  "rgb": {
    "r": 156,
    "g": 146,
    "b": 25
  },
  "hsl": {
    "h": 55.42,
    "s": 72.376,
    "l": 35.49
  },
  "oklch": {
    "l": 0.64872,
    "c": 0.13046,
    "h": 104.3
  },
  "luminance": 0.27696
}

Semantic roles & 50–950 ramp

primary
#9C9219
secondary
#4C55C4
accent
#47EF39
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9C9219

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

Preview Lab → · Contrast checker → · Palette generator →

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