#C9CA40#C9CA40

#C9CA40 is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.4% C 0.155 H 109.8°. Best body text is #000000 at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#C9CA40
RGBrgb(201, 202, 64)
HSLhsl(60, 57%, 52%)
HSVhsv(60, 68%, 79%)
CMYKcmyk(0.5%, 0%, 68.3%, 20.8%)
CIE-LABlab(79.06, -16.79, 65.31)
CIE-LCHlch(79.06, 67.43, 104.42°)
OKLaboklab(81.37% -0.0525 0.1457)
OKLCHoklch(81.37% 0.155 109.8)
XYZxyz(46.1349, 55.0300, 13.0411)
Luminance0.5503 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9CA40 #4140CA
analogous
#CA8640 #C9CA40 #84CA40
triadic
#C9CA40 #40C9CA #CA40C9
tetradic
#C9CA40 #40CA86 #4140CA #CA4084
square
#C9CA40 #40CA86 #4140CA #CA4084
split-complementary
#C9CA40 #4084CA #8640CA
monochromatic
#70701F #9FA02C #C9CA40 #D7D770 #E4E5A0

Accessibility & contrast

On white

1.75
#C9CA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.01
#C9CA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9CA40
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9CA40#FFFFFF#000000##000000
##C9CA401.001.7512.0112.01
#FFFFFF1.751.0021.0021.00
#00000012.0121.001.001.00
##00000012.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC12A
Deuteranopia (green-blind)
#DBC64A
Tritanopia (blue-blind)
#D7BDAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c9ca40;
/* rgb */ color: rgb(201, 202, 64);
/* oklch */ color: oklch(81.4% 0.155 109.8);
Tailwind
colors: {
  custom: {
    50: '#ddd97d',
    500: '#c9ca40',
    950: '#000000',
  },
}
SCSS
$custom: #c9ca40;
$custom-light: #ddd97d;
$custom-dark: #000000;
JSON
{
  "hex": "#c9ca40",
  "rgb": {
    "r": 201,
    "g": 202,
    "b": 64
  },
  "hsl": {
    "h": 60.435,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.8137,
    "c": 0.15489,
    "h": 109.8
  },
  "luminance": 0.55029
}

Semantic roles & 50–950 ramp

primary
#C9CA40
secondary
#35357A
accent
#48E049
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #C9CA40

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

Preview Lab → · Contrast checker → · Palette generator →

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