#C8CF52#C8CF52

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

Color values

HEX#C8CF52
RGBrgb(200, 207, 82)
HSLhsl(63, 57%, 57%)
HSVhsv(63, 60%, 81%)
CMYKcmyk(3.4%, 0%, 60.4%, 18.8%)
CIE-LABlab(80.47, -18.59, 59.54)
CIE-LCHlch(80.47, 62.38, 107.34°)
OKLaboklab(82.52% -0.0557 0.1363)
OKLCHoklch(82.52% 0.147 112.2)
XYZxyz(47.6565, 57.5152, 16.5721)
Luminance0.5751 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CF52 #5952CF
analogous
#CF9852 #C8CF52 #8ACF52
triadic
#C8CF52 #52C8CF #CF52C8
tetradic
#C8CF52 #52CF98 #5952CF #CF528A
square
#C8CF52 #52CF98 #5952CF #CF528A
split-complementary
#C8CF52 #528ACF #9852CF
monochromatic
#7D8224 #ABB231 #C8CF52 #D7DC82 #E6EAB2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8CF52#FFFFFF#000000##000000
##C8CF521.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)
#DEC643
Deuteranopia (green-blind)
#DEC95A
Tritanopia (blue-blind)
#D5C3B5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #c8cf52;
/* rgb */ color: rgb(200, 207, 82);
/* oklch */ color: oklch(82.5% 0.147 112.2);
Tailwind
colors: {
  custom: {
    50: '#dbdd88',
    500: '#c8cf52',
    950: '#000000',
  },
}
SCSS
$custom: #c8cf52;
$custom-light: #dbdd88;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cf52",
  "rgb": {
    "r": 200,
    "g": 207,
    "b": 82
  },
  "hsl": {
    "h": 63.36,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.82521,
    "c": 0.14722,
    "h": 112.2
  },
  "luminance": 0.57514
}

Semantic roles & 50–950 ramp

primary
#C8CF52
secondary
#403C8A
accent
#48E050
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C8CF52

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

Preview Lab → · Contrast checker → · Palette generator →

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