#C9C548#C9C548

#C9C548 is a light, vivid yellow. Relative luminance 0.528; OKLCH L 80.4% C 0.144 H 107.5°. Best body text is #000000 at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#C9C548
RGBrgb(201, 197, 72)
HSLhsl(58, 54%, 54%)
HSVhsv(58, 64%, 79%)
CMYKcmyk(0%, 2%, 64.2%, 21.2%)
CIE-LABlab(77.77, -13.83, 60.86)
CIE-LCHlch(77.77, 62.41, 102.80°)
OKLaboklab(80.36% -0.0433 0.1376)
OKLCHoklch(80.36% 0.144 107.5)
XYZxyz(45.2249, 52.8193, 13.9425)
Luminance0.5282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9C548 #484CC9
analogous
#C98448 #C9C548 #8CC948
triadic
#C9C548 #48C9C5 #C548C9
tetradic
#C9C548 #48C984 #484CC9 #C9488C
square
#C9C548 #48C984 #484CC9 #C9488C
split-complementary
#C9C548 #488CC9 #8448C9
monochromatic
#747222 #A4A030 #C9C548 #D7D477 #E5E3A7

Accessibility & contrast

On white

1.82
#C9C548 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.56
#C9C548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9C548
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9C548#FFFFFF#000000##000000
##C9C5481.001.8211.5611.56
#FFFFFF1.821.0021.0021.00
#00000011.5621.001.001.00
##00000011.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE38
Deuteranopia (green-blind)
#D7C250
Tritanopia (blue-blind)
#D7B9AB
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c9c548;
/* rgb */ color: rgb(201, 197, 72);
/* oklch */ color: oklch(80.4% 0.144 107.5);
Tailwind
colors: {
  custom: {
    50: '#dcd681',
    500: '#c9c548',
    950: '#000000',
  },
}
SCSS
$custom: #c9c548;
$custom-light: #dcd681;
$custom-dark: #000000;
JSON
{
  "hex": "#c9c548",
  "rgb": {
    "r": 201,
    "g": 197,
    "b": 72
  },
  "hsl": {
    "h": 58.14,
    "s": 54.43,
    "l": 53.529
  },
  "oklch": {
    "l": 0.80358,
    "c": 0.1443,
    "h": 107.5
  },
  "luminance": 0.52818
}

Semantic roles & 50–950 ramp

primary
#C9C548
secondary
#383A7D
accent
#4FDE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C9C548

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

Preview Lab → · Contrast checker → · Palette generator →

#C9C548 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva