#C8CE40#C8CE40

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

Color values

HEX#C8CE40
RGBrgb(200, 206, 64)
HSLhsl(63, 59%, 53%)
HSVhsv(63, 69%, 81%)
CMYKcmyk(2.9%, 0%, 68.9%, 19.2%)
CIE-LABlab(80.06, -19.19, 66.28)
CIE-LCHlch(80.06, 69.00, 106.15°)
OKLaboklab(82.15% -0.0592 0.1478)
OKLCHoklch(82.15% 0.159 111.8)
XYZxyz(46.8176, 56.7933, 13.3455)
Luminance0.5679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CE40 #4640CE
analogous
#CE8D40 #C8CE40 #81CE40
triadic
#C8CE40 #40C8CE #CE40C8
tetradic
#C8CE40 #40CE8D #4640CE #CE4081
square
#C8CE40 #40CE8D #4640CE #CE4081
split-complementary
#C8CE40 #4081CE #8D40CE
monochromatic
#72751E #A1A62B #C8CE40 #D6DA71 #E4E7A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8CE40#FFFFFF#000000##000000
##C8CE401.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)
#DEC529
Deuteranopia (green-blind)
#DEC84A
Tritanopia (blue-blind)
#D5C2B2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c8ce40;
/* rgb */ color: rgb(200, 206, 64);
/* oklch */ color: oklch(82.2% 0.159 111.8);
Tailwind
colors: {
  custom: {
    50: '#dcdc7d',
    500: '#c8ce40',
    950: '#000000',
  },
}
SCSS
$custom: #c8ce40;
$custom-light: #dcdc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ce40",
  "rgb": {
    "r": 200,
    "g": 206,
    "b": 64
  },
  "hsl": {
    "h": 62.535,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.82153,
    "c": 0.15921,
    "h": 111.8
  },
  "luminance": 0.56792
}

Semantic roles & 50–950 ramp

primary
#C8CE40
secondary
#37347E
accent
#45E24C
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C8CE40

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

Preview Lab → · Contrast checker → · Palette generator →

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