#C9C245#C9C245

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

Color values

HEX#C9C245
RGBrgb(201, 194, 69)
HSLhsl(57, 55%, 53%)
HSVhsv(57, 66%, 79%)
CMYKcmyk(0%, 3.5%, 65.7%, 21.2%)
CIE-LABlab(76.94, -12.49, 61.22)
CIE-LCHlch(76.94, 62.48, 101.53°)
OKLaboklab(79.69% -0.0399 0.1379)
OKLCHoklch(79.69% 0.144 106.1)
XYZxyz(44.4550, 51.4323, 13.2148)
Luminance0.5143 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9C245 #454CC9
analogous
#C98045 #C9C245 #8EC945
triadic
#C9C245 #45C9C2 #C245C9
tetradic
#C9C245 #45C980 #454CC9 #C9458E
square
#C9C245 #45C980 #454CC9 #C9458E
split-complementary
#C9C245 #458EC9 #8045C9
monochromatic
#726E21 #A29C2F #C9C245 #D7D274 #E5E1A4

Accessibility & contrast

On white

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

On black

11.29
#C9C245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9C245
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9C245#FFFFFF#000000##000000
##C9C2451.001.8611.2911.29
#FFFFFF1.861.0021.0021.00
#00000011.2921.001.001.00
##00000011.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB34
Deuteranopia (green-blind)
#D5C04D
Tritanopia (blue-blind)
#D7B6A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c9c245;
/* rgb */ color: rgb(201, 194, 69);
/* oklch */ color: oklch(79.7% 0.144 106.1);
Tailwind
colors: {
  custom: {
    50: '#ddd47f',
    500: '#c9c245',
    950: '#000000',
  },
}
SCSS
$custom: #c9c245;
$custom-light: #ddd47f;
$custom-dark: #000000;
JSON
{
  "hex": "#c9c245",
  "rgb": {
    "r": 201,
    "g": 194,
    "b": 69
  },
  "hsl": {
    "h": 56.818,
    "s": 55,
    "l": 52.941
  },
  "oklch": {
    "l": 0.79691,
    "c": 0.14357,
    "h": 106.1
  },
  "luminance": 0.51431
}

Semantic roles & 50–950 ramp

primary
#C9C245
secondary
#373A7B
accent
#51DE49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C9C245

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

Preview Lab → · Contrast checker → · Palette generator →

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