#C9CA4F#C9CA4F

#C9CA4F is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.5% C 0.144 H 109.7°. Best body text is #000000 at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#C9CA4F
RGBrgb(201, 202, 79)
HSLhsl(60, 54%, 55%)
HSVhsv(60, 61%, 79%)
CMYKcmyk(0.5%, 0%, 60.9%, 20.8%)
CIE-LABlab(79.17, -15.90, 59.44)
CIE-LCHlch(79.17, 61.52, 104.97°)
OKLaboklab(81.49% -0.0484 0.1356)
OKLCHoklch(81.49% 0.144 109.7)
XYZxyz(46.6206, 55.2243, 15.5991)
Luminance0.5522 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9CA4F #504FCA
analogous
#CA8E4F #C9CA4F #8BCA4F
triadic
#C9CA4F #4FC9CA #CA4FC9
tetradic
#C9CA4F #4FCA8E #504FCA #CA4F8B
square
#C9CA4F #4FCA8E #504FCA #CA4F8B
split-complementary
#C9CA4F #4F8BCA #8E4FCA
monochromatic
#797A25 #A8A933 #C9CA4F #D7D87E #E6E6AD

Accessibility & contrast

On white

1.74
#C9CA4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.04
#C9CA4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9CA4F
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9CA4F#FFFFFF#000000##000000
##C9CA4F1.001.7412.0412.04
#FFFFFF1.741.0021.0021.00
#00000012.0421.001.001.00
##00000012.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C240
Deuteranopia (green-blind)
#DBC657
Tritanopia (blue-blind)
#D6BEB0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c9ca4f;
/* rgb */ color: rgb(201, 202, 79);
/* oklch */ color: oklch(81.5% 0.144 109.7);
Tailwind
colors: {
  custom: {
    50: '#dcd986',
    500: '#c9ca4f',
    950: '#000000',
  },
}
SCSS
$custom: #c9ca4f;
$custom-light: #dcd986;
$custom-dark: #000000;
JSON
{
  "hex": "#c9ca4f",
  "rgb": {
    "r": 201,
    "g": 202,
    "b": 79
  },
  "hsl": {
    "h": 60.488,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.81495,
    "c": 0.14403,
    "h": 109.7
  },
  "luminance": 0.55223
}

Semantic roles & 50–950 ramp

primary
#C9CA4F
secondary
#3C3B82
accent
#4BDD4C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C9CA4F

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

Preview Lab → · Contrast checker → · Palette generator →

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