#C9C24F#C9C24F

#C9C24F is a light, vivid yellow. Relative luminance 0.516; OKLCH L 79.8% C 0.136 H 105.8°. Best body text is #000000 at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#C9C24F
RGBrgb(201, 194, 79)
HSLhsl(57, 53%, 55%)
HSVhsv(57, 61%, 79%)
CMYKcmyk(0%, 3.5%, 60.7%, 21.2%)
CIE-LABlab(77.02, -11.86, 57.11)
CIE-LCHlch(77.02, 58.33, 101.73°)
OKLaboklab(79.78% -0.037 0.1307)
OKLCHoklch(79.78% 0.136 105.8)
XYZxyz(44.7920, 51.5671, 14.9896)
Luminance0.5157 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9C24F #4F56C9
analogous
#C9854F #C9C24F #93C94F
triadic
#C9C24F #4FC9C2 #C24FC9
tetradic
#C9C24F #4FC985 #4F56C9 #C94F93
square
#C9C24F #4FC985 #4F56C9 #C94F93
split-complementary
#C9C24F #4F93C9 #854FC9
monochromatic
#797425 #A7A133 #C9C24F #D7D27E #E6E2AD

Accessibility & contrast

On white

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

On black

11.31
#C9C24F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9C24F
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9C24F#FFFFFF#000000##000000
##C9C24F1.001.8611.3111.31
#FFFFFF1.861.0021.0021.00
#00000011.3121.001.001.00
##00000011.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB42
Deuteranopia (green-blind)
#D4C056
Tritanopia (blue-blind)
#D7B6AA
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c9c24f;
/* rgb */ color: rgb(201, 194, 79);
/* oklch */ color: oklch(79.8% 0.136 105.8);
Tailwind
colors: {
  custom: {
    50: '#dcd485',
    500: '#c9c24f',
    950: '#000000',
  },
}
SCSS
$custom: #c9c24f;
$custom-light: #dcd485;
$custom-dark: #000000;
JSON
{
  "hex": "#c9c24f",
  "rgb": {
    "r": 201,
    "g": 194,
    "b": 79
  },
  "hsl": {
    "h": 56.557,
    "s": 53.043,
    "l": 54.902
  },
  "oklch": {
    "l": 0.79782,
    "c": 0.13584,
    "h": 105.8
  },
  "luminance": 0.51566
}

Semantic roles & 50–950 ramp

primary
#C9C24F
secondary
#3B3F81
accent
#54DC4B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C9C24F

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

Preview Lab → · Contrast checker → · Palette generator →

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