#C9C05A#C9C05A

#C9C05A is a light, vivid yellow. Relative luminance 0.509; OKLCH L 79.5% C 0.124 H 104.2°. Best body text is #000000 at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#C9C05A
RGBrgb(201, 192, 90)
HSLhsl(55, 51%, 57%)
HSVhsv(55, 55%, 79%)
CMYKcmyk(0%, 4.5%, 55.2%, 21.2%)
CIE-LABlab(76.59, -10.03, 51.68)
CIE-LCHlch(76.59, 52.64, 100.98°)
OKLaboklab(79.47% -0.0306 0.1205)
OKLCHoklch(79.47% 0.124 104.2)
XYZxyz(44.7839, 50.8564, 17.1281)
Luminance0.5085 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9C05A #5A63C9
analogous
#C9895A #C9C05A #9BC95A
triadic
#C9C05A #5AC9C0 #C05AC9
tetradic
#C9C05A #5AC989 #5A63C9 #C95A9B
square
#C9C05A #5AC989 #5A63C9 #C95A9B
split-complementary
#C9C05A #5A9BC9 #895AC9
monochromatic
#7F782A #ADA439 #C9C05A #D8D288 #E7E3B6

Accessibility & contrast

On white

1.88
#C9C05A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.17
#C9C05A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9C05A
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9C05A#FFFFFF#000000##000000
##C9C05A1.001.8811.1711.17
#FFFFFF1.881.0021.0021.00
#00000011.1721.001.001.00
##00000011.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBA50
Deuteranopia (green-blind)
#D2BF5F
Tritanopia (blue-blind)
#D6B5A9
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c9c05a;
/* rgb */ color: rgb(201, 192, 90);
/* oklch */ color: oklch(79.5% 0.124 104.2);
Tailwind
colors: {
  custom: {
    50: '#dcd28c',
    500: '#c9c05a',
    950: '#000000',
  },
}
SCSS
$custom: #c9c05a;
$custom-light: #dcd28c;
$custom-dark: #000000;
JSON
{
  "hex": "#c9c05a",
  "rgb": {
    "r": 201,
    "g": 192,
    "b": 90
  },
  "hsl": {
    "h": 55.135,
    "s": 50.685,
    "l": 57.059
  },
  "oklch": {
    "l": 0.79474,
    "c": 0.12428,
    "h": 104.2
  },
  "luminance": 0.50855
}

Semantic roles & 50–950 ramp

primary
#C9C05A
secondary
#404687
accent
#59DA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C9C05A

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

Preview Lab → · Contrast checker → · Palette generator →

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