#C8CE31#C8CE31

#C8CE31 is a very light, vivid yellow. Relative luminance 0.566; OKLCH L 82.1% C 0.168 H 111.8°. Best body text is #000000 at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#C8CE31
RGBrgb(200, 206, 49)
HSLhsl(62, 62%, 50%)
HSVhsv(62, 76%, 81%)
CMYKcmyk(2.9%, 0%, 76.2%, 19.2%)
CIE-LABlab(79.98, -19.87, 71.24)
CIE-LCHlch(79.98, 73.96, 105.59°)
OKLaboklab(82.06% -0.0624 0.1557)
OKLCHoklch(82.06% 0.168 111.8)
XYZxyz(46.4467, 56.6449, 11.3920)
Luminance0.5664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CE31 #3731CE
analogous
#CE8631 #C8CE31 #79CE31
triadic
#C8CE31 #31C8CE #CE31C8
tetradic
#C8CE31 #31CE86 #3731CE #CE3179
square
#C8CE31 #31CE86 #3731CE #CE3179
split-complementary
#C8CE31 #3179CE #8631CE
monochromatic
#686B19 #989D25 #C8CE31 #D5DA62 #E2E694

Accessibility & contrast

On white

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

On black

12.33
#C8CE31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CE31
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CE31#FFFFFF#000000##000000
##C8CE311.001.7012.3312.33
#FFFFFF1.701.0021.0021.00
#00000012.3321.001.001.00
##00000012.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC401
Deuteranopia (green-blind)
#DFC83F
Tritanopia (blue-blind)
#D6C1B1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c8ce31;
/* rgb */ color: rgb(200, 206, 49);
/* oklch */ color: oklch(82.1% 0.168 111.8);
Tailwind
colors: {
  custom: {
    50: '#dddc76',
    500: '#c8ce31',
    950: '#000000',
  },
}
SCSS
$custom: #c8ce31;
$custom-light: #dddc76;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ce31",
  "rgb": {
    "r": 200,
    "g": 206,
    "b": 49
  },
  "hsl": {
    "h": 62.293,
    "s": 61.569,
    "l": 50
  },
  "oklch": {
    "l": 0.8206,
    "c": 0.16775,
    "h": 111.8
  },
  "luminance": 0.56644
}

Semantic roles & 50–950 ramp

primary
#C8CE31
secondary
#312E75
accent
#43E549
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#161509
muted
#84847D

Preview Lab

Preview with #C8CE31

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

Preview Lab → · Contrast checker → · Palette generator →

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