#C9CA2F#C9CA2F

#C9CA2F is a light, vivid yellow. Relative luminance 0.549; OKLCH L 81.3% C 0.165 H 109.9°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#C9CA2F
RGBrgb(201, 202, 47)
HSLhsl(60, 62%, 49%)
HSVhsv(60, 77%, 79%)
CMYKcmyk(0.5%, 0%, 76.7%, 20.8%)
CIE-LABlab(78.96, -17.55, 70.95)
CIE-LCHlch(78.96, 73.09, 103.90°)
OKLaboklab(81.26% -0.0561 0.1547)
OKLCHoklch(81.26% 0.165 109.9)
XYZxyz(45.7227, 54.8652, 10.8703)
Luminance0.5486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9CA2F #302FCA
analogous
#CA7E2F #C9CA2F #7CCA2F
triadic
#C9CA2F #2FC9CA #CA2FC9
tetradic
#C9CA2F #2FCA7E #302FCA #CA2F7C
square
#C9CA2F #2FCA7E #302FCA #CA2F7C
split-complementary
#C9CA2F #2F7CCA #7E2FCA
monochromatic
#666718 #989823 #C9CA2F #D8D95D #E4E58F

Accessibility & contrast

On white

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

On black

11.97
#C9CA2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9CA2F
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9CA2F#FFFFFF#000000##000000
##C9CA2F1.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC100
Deuteranopia (green-blind)
#DCC63D
Tritanopia (blue-blind)
#D7BDAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c9ca2f;
/* rgb */ color: rgb(201, 202, 47);
/* oklch */ color: oklch(81.3% 0.165 109.9);
Tailwind
colors: {
  custom: {
    50: '#ddd975',
    500: '#c9ca2f',
    950: '#000000',
  },
}
SCSS
$custom: #c9ca2f;
$custom-light: #ddd975;
$custom-dark: #000000;
JSON
{
  "hex": "#c9ca2f",
  "rgb": {
    "r": 201,
    "g": 202,
    "b": 47
  },
  "hsl": {
    "h": 60.387,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.81264,
    "c": 0.16457,
    "h": 109.9
  },
  "luminance": 0.54864
}

Semantic roles & 50–950 ramp

primary
#C9CA2F
secondary
#2D2C71
accent
#42E544
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C9CA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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