#C9C12C#C9C12C

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

Color values

HEX#C9C12C
RGBrgb(201, 193, 44)
HSLhsl(57, 64%, 48%)
HSVhsv(57, 78%, 79%)
CMYKcmyk(0%, 4%, 78.1%, 21.2%)
CIE-LABlab(76.52, -13.15, 69.65)
CIE-LCHlch(76.52, 70.88, 100.69°)
OKLaboklab(79.31% -0.0441 0.1514)
OKLCHoklch(79.31% 0.158 106.2)
XYZxyz(43.6138, 50.7409, 9.8790)
Luminance0.5074 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9C12C #2C34C9
analogous
#C9732C #C9C12C #82C92C
triadic
#C9C12C #2CC9C1 #C12CC9
tetradic
#C9C12C #2CC973 #2C34C9 #C92C82
square
#C9C12C #2CC973 #2C34C9 #C92C82
split-complementary
#C9C12C #2C82C9 #732CC9
monochromatic
#656116 #979121 #C9C12C #DAD458 #E5E18A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C9C12C#FFFFFF#000000##000000
##C9C12C1.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: #c9c12c;
/* rgb */ color: rgb(201, 193, 44);
/* oklch */ color: oklch(79.3% 0.158 106.2);
Tailwind
colors: {
  custom: {
    50: '#ded372',
    500: '#c9c12c',
    950: '#000000',
  },
}
SCSS
$custom: #c9c12c;
$custom-light: #ded372;
$custom-dark: #000000;
JSON
{
  "hex": "#c9c12c",
  "rgb": {
    "r": 201,
    "g": 193,
    "b": 44
  },
  "hsl": {
    "h": 56.943,
    "s": 64.082,
    "l": 48.039
  },
  "oklch": {
    "l": 0.7931,
    "c": 0.15768,
    "h": 106.2
  },
  "luminance": 0.50739
}

Semantic roles & 50–950 ramp

primary
#C9C12C
secondary
#2A2E6F
accent
#49E741
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C9C12C

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

Preview Lab → · Contrast checker → · Palette generator →

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