#C9D151#C9D151

#C9D151 is a very light, vivid yellow. Relative luminance 0.586; OKLCH L 83.0% C 0.150 H 112.6°. Best body text is #000000 at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#C9D151
RGBrgb(201, 209, 81)
HSLhsl(64, 58%, 57%)
HSVhsv(64, 61%, 82%)
CMYKcmyk(3.8%, 0%, 61.2%, 18%)
CIE-LABlab(81.08, -19.24, 60.65)
CIE-LCHlch(81.08, 63.62, 107.60°)
OKLaboklab(83.03% -0.0576 0.1385)
OKLCHoklch(83.03% 0.15 112.6)
XYZxyz(48.3743, 58.6135, 16.5483)
Luminance0.5861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9D151 #5951D1
analogous
#D19951 #C9D151 #89D151
triadic
#C9D151 #51C9D1 #D151C9
tetradic
#C9D151 #51D199 #5951D1 #D15189
square
#C9D151 #51D199 #5951D1 #D15189
split-complementary
#C9D151 #5189D1 #9951D1
monochromatic
#7E8523 #ADB530 #C9D151 #D8DE81 #E7EBB2

Accessibility & contrast

On white

1.65
#C9D151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.72
#C9D151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9D151
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9D151#FFFFFF#000000##000000
##C9D1511.001.6512.7212.72
#FFFFFF1.651.0021.0021.00
#00000012.7221.001.001.00
##00000012.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C841
Deuteranopia (green-blind)
#E0CB59
Tritanopia (blue-blind)
#D6C5B6
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c9d151;
/* rgb */ color: rgb(201, 209, 81);
/* oklch */ color: oklch(83.0% 0.150 112.6);
Tailwind
colors: {
  custom: {
    50: '#dcde87',
    500: '#c9d151',
    950: '#000000',
  },
}
SCSS
$custom: #c9d151;
$custom-light: #dcde87;
$custom-dark: #000000;
JSON
{
  "hex": "#c9d151",
  "rgb": {
    "r": 201,
    "g": 209,
    "b": 81
  },
  "hsl": {
    "h": 63.75,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.83025,
    "c": 0.14999,
    "h": 112.6
  },
  "luminance": 0.58613
}

Semantic roles & 50–950 ramp

primary
#C9D151
secondary
#403B8B
accent
#46E150
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C9D151

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

Preview Lab → · Contrast checker → · Palette generator →

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