#C8CF54#C8CF54

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

Color values

HEX#C8CF54
RGBrgb(200, 207, 84)
HSLhsl(63, 56%, 57%)
HSVhsv(63, 59%, 81%)
CMYKcmyk(3.4%, 0%, 59.4%, 18.8%)
CIE-LABlab(80.49, -18.45, 58.71)
CIE-LCHlch(80.49, 61.54, 107.45°)
OKLaboklab(82.54% -0.0551 0.1348)
OKLCHoklch(82.54% 0.146 112.2)
XYZxyz(47.7337, 57.5461, 16.9788)
Luminance0.5755 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CF54 #5B54CF
analogous
#CF9954 #C8CF54 #8ACF54
triadic
#C8CF54 #54C8CF #CF54C8
tetradic
#C8CF54 #54CF99 #5B54CF #CF548A
square
#C8CF54 #54CF99 #5B54CF #CF548A
split-complementary
#C8CF54 #548ACF #9954CF
monochromatic
#7E8425 #ACB332 #C8CF54 #D7DC84 #E7EAB4

Accessibility & contrast

On white

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

On black

12.51
#C8CF54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CF54
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CF54#FFFFFF#000000##000000
##C8CF541.001.6812.5112.51
#FFFFFF1.681.0021.0021.00
#00000012.5121.001.001.00
##00000012.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC646
Deuteranopia (green-blind)
#DEC95C
Tritanopia (blue-blind)
#D4C3B5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #c8cf54;
/* rgb */ color: rgb(200, 207, 84);
/* oklch */ color: oklch(82.5% 0.146 112.2);
Tailwind
colors: {
  custom: {
    50: '#dbdd89',
    500: '#c8cf54',
    950: '#000000',
  },
}
SCSS
$custom: #c8cf54;
$custom-light: #dbdd89;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cf54",
  "rgb": {
    "r": 200,
    "g": 207,
    "b": 84
  },
  "hsl": {
    "h": 63.415,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.8254,
    "c": 0.1456,
    "h": 112.2
  },
  "luminance": 0.57545
}

Semantic roles & 50–950 ramp

primary
#C8CF54
secondary
#413C8B
accent
#48DF51
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C8CF54

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

Preview Lab → · Contrast checker → · Palette generator →

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