#C8CF51#C8CF51

#C8CF51 is a very light, vivid yellow. Relative luminance 0.575; OKLCH L 82.5% C 0.148 H 112.2°. Best body text is #000000 at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#C8CF51
RGBrgb(200, 207, 81)
HSLhsl(63, 57%, 56%)
HSVhsv(63, 61%, 81%)
CMYKcmyk(3.4%, 0%, 60.9%, 18.8%)
CIE-LABlab(80.46, -18.66, 59.96)
CIE-LCHlch(80.46, 62.79, 107.29°)
OKLaboklab(82.51% -0.056 0.137)
OKLCHoklch(82.51% 0.148 112.2)
XYZxyz(47.6187, 57.5001, 16.3732)
Luminance0.5750 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CF51 #5851CF
analogous
#CF9751 #C8CF51 #89CF51
triadic
#C8CF51 #51C8CF #CF51C8
tetradic
#C8CF51 #51CF97 #5851CF #CF5189
square
#C8CF51 #51CF97 #5851CF #CF5189
split-complementary
#C8CF51 #5189CF #9751CF
monochromatic
#7D8224 #ABB231 #C8CF51 #D7DC81 #E6E9B1

Accessibility & contrast

On white

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

On black

12.50
#C8CF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CF51
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CF51#FFFFFF#000000##000000
##C8CF511.001.6812.5012.50
#FFFFFF1.681.0021.0021.00
#00000012.5021.001.001.00
##00000012.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC642
Deuteranopia (green-blind)
#DEC959
Tritanopia (blue-blind)
#D5C3B4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #c8cf51;
/* rgb */ color: rgb(200, 207, 81);
/* oklch */ color: oklch(82.5% 0.148 112.2);
Tailwind
colors: {
  custom: {
    50: '#dbdd87',
    500: '#c8cf51',
    950: '#000000',
  },
}
SCSS
$custom: #c8cf51;
$custom-light: #dbdd87;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cf51",
  "rgb": {
    "r": 200,
    "g": 207,
    "b": 81
  },
  "hsl": {
    "h": 63.333,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.82511,
    "c": 0.14803,
    "h": 112.2
  },
  "luminance": 0.57499
}

Semantic roles & 50–950 ramp

primary
#C8CF51
secondary
#3F3B89
accent
#48E050
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C8CF51

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

Preview Lab → · Contrast checker → · Palette generator →

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