#C9C15F#C9C15F

#C9C15F is a light, vivid yellow. Relative luminance 0.514; OKLCH L 79.7% C 0.121 H 104.6°. Best body text is #000000 at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#C9C15F
RGBrgb(201, 193, 95)
HSLhsl(55, 50%, 58%)
HSVhsv(55, 53%, 79%)
CMYKcmyk(0%, 4%, 52.7%, 21.2%)
CIE-LABlab(76.91, -10.14, 49.70)
CIE-LCHlch(76.91, 50.72, 101.53°)
OKLaboklab(79.75% -0.0303 0.1167)
OKLCHoklch(79.75% 0.121 104.6)
XYZxyz(45.2242, 51.3851, 18.3603)
Luminance0.5138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9C15F #5F67C9
analogous
#C98C5F #C9C15F #9CC95F
triadic
#C9C15F #5FC9C1 #C15FC9
tetradic
#C9C15F #5FC98C #5F67C9 #C95F9C
square
#C9C15F #5FC98C #5F67C9 #C95F9C
split-complementary
#C9C15F #5F9CC9 #8C5FC9
monochromatic
#827B2C #B0A73B #C9C15F #D8D38D #E8E4BB

Accessibility & contrast

On white

1.86
#C9C15F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.28
#C9C15F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9C15F
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9C15F#FFFFFF#000000##000000
##C9C15F1.001.8611.2811.28
#FFFFFF1.861.0021.0021.00
#00000011.2821.001.001.00
##00000011.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBB56
Deuteranopia (green-blind)
#D2C064
Tritanopia (blue-blind)
#D6B6AB
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c9c15f;
/* rgb */ color: rgb(201, 193, 95);
/* oklch */ color: oklch(79.7% 0.121 104.6);
Tailwind
colors: {
  custom: {
    50: '#dcd38f',
    500: '#c9c15f',
    950: '#000000',
  },
}
SCSS
$custom: #c9c15f;
$custom-light: #dcd38f;
$custom-dark: #000000;
JSON
{
  "hex": "#c9c15f",
  "rgb": {
    "r": 201,
    "g": 193,
    "b": 95
  },
  "hsl": {
    "h": 55.472,
    "s": 49.533,
    "l": 58.039
  },
  "oklch": {
    "l": 0.79745,
    "c": 0.12059,
    "h": 104.6
  },
  "luminance": 0.51384
}

Semantic roles & 50–950 ramp

primary
#C9C15F
secondary
#43488A
accent
#59D94F
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #C9C15F

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

Preview Lab → · Contrast checker → · Palette generator →

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