#C9C12D#C9C12D

#C9C12D is a light, vivid yellow. Relative luminance 0.507; OKLCH L 79.3% C 0.157 H 106.2°. Best body text is #000000 at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#C9C12D
RGBrgb(201, 193, 45)
HSLhsl(57, 63%, 48%)
HSVhsv(57, 78%, 79%)
CMYKcmyk(0%, 4%, 77.6%, 21.2%)
CIE-LABlab(76.53, -13.11, 69.36)
CIE-LCHlch(76.53, 70.58, 100.70°)
OKLaboklab(79.32% -0.0439 0.1509)
OKLCHoklch(79.32% 0.157 106.2)
XYZxyz(43.6329, 50.7485, 9.9792)
Luminance0.5075 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9C12D #2D35C9
analogous
#C9732D #C9C12D #83C92D
triadic
#C9C12D #2DC9C1 #C12DC9
tetradic
#C9C12D #2DC973 #2D35C9 #C92D83
square
#C9C12D #2DC973 #2D35C9 #C92D83
split-complementary
#C9C12D #2D83C9 #732DC9
monochromatic
#656117 #979122 #C9C12D #DAD359 #E5E08B

Accessibility & contrast

On white

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

On black

11.15
#C9C12D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9C12D
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9C12D#FFFFFF#000000##000000
##C9C12D1.001.8811.1511.15
#FFFFFF1.881.0021.0021.00
#00000011.1521.001.001.00
##00000011.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA00
Deuteranopia (green-blind)
#D5BF39
Tritanopia (blue-blind)
#D8B4A6
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c9c12d;
/* rgb */ color: rgb(201, 193, 45);
/* oklch */ color: oklch(79.3% 0.157 106.2);
Tailwind
colors: {
  custom: {
    50: '#ddd373',
    500: '#c9c12d',
    950: '#000000',
  },
}
SCSS
$custom: #c9c12d;
$custom-light: #ddd373;
$custom-dark: #000000;
JSON
{
  "hex": "#c9c12d",
  "rgb": {
    "r": 201,
    "g": 193,
    "b": 45
  },
  "hsl": {
    "h": 56.923,
    "s": 63.415,
    "l": 48.235
  },
  "oklch": {
    "l": 0.79315,
    "c": 0.15719,
    "h": 106.2
  },
  "luminance": 0.50747
}

Semantic roles & 50–950 ramp

primary
#C9C12D
secondary
#2B2E6F
accent
#4AE641
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C9C12D

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

Preview Lab → · Contrast checker → · Palette generator →

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