#C9C74A#C9C74A

#C9C74A is a light, vivid yellow. Relative luminance 0.538; OKLCH L 80.8% C 0.145 H 108.4°. Best body text is #000000 at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#C9C74A
RGBrgb(201, 199, 74)
HSLhsl(59, 54%, 54%)
HSVhsv(59, 63%, 79%)
CMYKcmyk(0%, 1%, 63.2%, 21.2%)
CIE-LABlab(78.32, -14.71, 60.62)
CIE-LCHlch(78.32, 62.38, 103.64°)
OKLaboklab(80.81% -0.0456 0.1374)
OKLCHoklch(80.81% 0.145 108.4)
XYZxyz(45.7484, 53.7601, 14.4441)
Luminance0.5376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9C74A #4A4CC9
analogous
#C9884A #C9C74A #8CC94A
triadic
#C9C74A #4AC9C7 #C74AC9
tetradic
#C9C74A #4AC988 #4A4CC9 #C94A8C
square
#C9C74A #4AC988 #4A4CC9 #C94A8C
split-complementary
#C9C74A #4A8CC9 #884AC9
monochromatic
#767423 #A5A331 #C9C74A #D7D679 #E5E4A8

Accessibility & contrast

On white

1.79
#C9C74A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.75
#C9C74A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9C74A
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9C74A#FFFFFF#000000##000000
##C9C74A1.001.7911.7511.75
#FFFFFF1.791.0021.0021.00
#00000011.7521.001.001.00
##00000011.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF3A
Deuteranopia (green-blind)
#D9C452
Tritanopia (blue-blind)
#D7BBAD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c9c74a;
/* rgb */ color: rgb(201, 199, 74);
/* oklch */ color: oklch(80.8% 0.145 108.4);
Tailwind
colors: {
  custom: {
    50: '#dcd782',
    500: '#c9c74a',
    950: '#000000',
  },
}
SCSS
$custom: #c9c74a;
$custom-light: #dcd782;
$custom-dark: #000000;
JSON
{
  "hex": "#c9c74a",
  "rgb": {
    "r": 201,
    "g": 199,
    "b": 74
  },
  "hsl": {
    "h": 59.055,
    "s": 54.043,
    "l": 53.922
  },
  "oklch": {
    "l": 0.80805,
    "c": 0.1448,
    "h": 108.4
  },
  "luminance": 0.53759
}

Semantic roles & 50–950 ramp

primary
#C9C74A
secondary
#393A7E
accent
#4DDD4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C9C74A

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

Preview Lab → · Contrast checker → · Palette generator →

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