#C9CF40#C9CF40

#C9CF40 is a very light, vivid yellow. Relative luminance 0.574; OKLCH L 82.5% C 0.160 H 111.8°. Best body text is #000000 at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#C9CF40
RGBrgb(201, 207, 64)
HSLhsl(63, 60%, 53%)
HSVhsv(63, 69%, 81%)
CMYKcmyk(2.9%, 0%, 69.1%, 18.8%)
CIE-LABlab(80.41, -19.27, 66.65)
CIE-LCHlch(80.41, 69.38, 106.12°)
OKLaboklab(82.45% -0.0594 0.1486)
OKLCHoklch(82.45% 0.16 111.8)
XYZxyz(47.3271, 57.4145, 13.4385)
Luminance0.5741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9CF40 #4640CF
analogous
#CF8D40 #C9CF40 #82CF40
triadic
#C9CF40 #40C9CF #CF40C9
tetradic
#C9CF40 #40CF8D #4640CF #CF4082
square
#C9CF40 #40CF8D #4640CF #CF4082
split-complementary
#C9CF40 #4082CF #8D40CF
monochromatic
#73771E #A2A82A #C9CF40 #D7DB71 #E5E8A2

Accessibility & contrast

On white

1.68
#C9CF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.48
#C9CF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9CF40
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9CF40#FFFFFF#000000##000000
##C9CF401.001.6812.4812.48
#FFFFFF1.681.0021.0021.00
#00000012.4821.001.001.00
##00000012.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC628
Deuteranopia (green-blind)
#DFC94B
Tritanopia (blue-blind)
#D7C2B3
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c9cf40;
/* rgb */ color: rgb(201, 207, 64);
/* oklch */ color: oklch(82.5% 0.160 111.8);
Tailwind
colors: {
  custom: {
    50: '#dddd7e',
    500: '#c9cf40',
    950: '#000000',
  },
}
SCSS
$custom: #c9cf40;
$custom-light: #dddd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c9cf40",
  "rgb": {
    "r": 201,
    "g": 207,
    "b": 64
  },
  "hsl": {
    "h": 62.517,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.82452,
    "c": 0.16001,
    "h": 111.8
  },
  "luminance": 0.57413
}

Semantic roles & 50–950 ramp

primary
#C9CF40
secondary
#37347F
accent
#45E34B
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #C9CF40

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

Preview Lab → · Contrast checker → · Palette generator →

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