#C8CC46#C8CC46

#C8CC46 is a light, vivid yellow. Relative luminance 0.559; OKLCH L 81.8% C 0.153 H 111.0°. Best body text is #000000 at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#C8CC46
RGBrgb(200, 204, 70)
HSLhsl(62, 57%, 54%)
HSVhsv(62, 66%, 80%)
CMYKcmyk(2%, 0%, 65.7%, 20%)
CIE-LABlab(79.56, -17.87, 63.49)
CIE-LCHlch(79.56, 65.96, 105.72°)
OKLaboklab(81.77% -0.0549 0.1429)
OKLCHoklch(81.77% 0.153 111)
XYZxyz(46.5192, 55.9085, 14.1341)
Luminance0.5591 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CC46 #4A46CC
analogous
#CC8D46 #C8CC46 #85CC46
triadic
#C8CC46 #46C8CC #CC46C8
tetradic
#C8CC46 #46CC8D #4A46CC #CC4685
square
#C8CC46 #46CC8D #4A46CC #CC4685
split-complementary
#C8CC46 #4685CC #8D46CC
monochromatic
#747721 #A3A72E #C8CC46 #D6D976 #E5E6A6

Accessibility & contrast

On white

1.72
#C8CC46 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.18
#C8CC46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CC46
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CC46#FFFFFF#000000##000000
##C8CC461.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC333
Deuteranopia (green-blind)
#DCC74F
Tritanopia (blue-blind)
#D5C0B1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c8cc46;
/* rgb */ color: rgb(200, 204, 70);
/* oklch */ color: oklch(81.8% 0.153 111.0);
Tailwind
colors: {
  custom: {
    50: '#dcdb81',
    500: '#c8cc46',
    950: '#000000',
  },
}
SCSS
$custom: #c8cc46;
$custom-light: #dcdb81;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cc46",
  "rgb": {
    "r": 200,
    "g": 204,
    "b": 70
  },
  "hsl": {
    "h": 61.791,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.81766,
    "c": 0.15308,
    "h": 111
  },
  "luminance": 0.55907
}

Semantic roles & 50–950 ramp

primary
#C8CC46
secondary
#39377F
accent
#48E04C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C8CC46

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

Preview Lab → · Contrast checker → · Palette generator →

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