#C8CE42#C8CE42

#C8CE42 is a very light, vivid yellow. Relative luminance 0.568; OKLCH L 82.2% C 0.158 H 111.8°. Best body text is #000000 at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#C8CE42
RGBrgb(200, 206, 66)
HSLhsl(63, 59%, 53%)
HSVhsv(63, 68%, 81%)
CMYKcmyk(2.9%, 0%, 68%, 19.2%)
CIE-LABlab(80.08, -19.08, 65.55)
CIE-LCHlch(80.08, 68.27, 106.23°)
OKLaboklab(82.17% -0.0587 0.1466)
OKLCHoklch(82.17% 0.158 111.8)
XYZxyz(46.8755, 56.8164, 13.6506)
Luminance0.5682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CE42 #4842CE
analogous
#CE8E42 #C8CE42 #82CE42
triadic
#C8CE42 #42C8CE #CE42C8
tetradic
#C8CE42 #42CE8E #4842CE #CE4282
square
#C8CE42 #42CE8E #4842CE #CE4282
split-complementary
#C8CE42 #4282CE #8E42CE
monochromatic
#73771F #A2A72B #C8CE42 #D6DB73 #E4E7A3

Accessibility & contrast

On white

1.70
#C8CE42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.36
#C8CE42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CE42
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CE42#FFFFFF#000000##000000
##C8CE421.001.7012.3612.36
#FFFFFF1.701.0021.0021.00
#00000012.3621.001.001.00
##00000012.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC52C
Deuteranopia (green-blind)
#DEC84C
Tritanopia (blue-blind)
#D5C2B2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c8ce42;
/* rgb */ color: rgb(200, 206, 66);
/* oklch */ color: oklch(82.2% 0.158 111.8);
Tailwind
colors: {
  custom: {
    50: '#dcdc7f',
    500: '#c8ce42',
    950: '#000000',
  },
}
SCSS
$custom: #c8ce42;
$custom-light: #dcdc7f;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ce42",
  "rgb": {
    "r": 200,
    "g": 206,
    "b": 66
  },
  "hsl": {
    "h": 62.571,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.82168,
    "c": 0.1579,
    "h": 111.8
  },
  "luminance": 0.56815
}

Semantic roles & 50–950 ramp

primary
#C8CE42
secondary
#38357F
accent
#46E24C
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C8CE42

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

Preview Lab → · Contrast checker → · Palette generator →

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