#C8D052#C8D052

#C8D052 is a very light, vivid yellow. Relative luminance 0.580; OKLCH L 82.7% C 0.148 H 112.6°. Best body text is #000000 at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#C8D052
RGBrgb(200, 208, 82)
HSLhsl(64, 57%, 57%)
HSVhsv(64, 61%, 82%)
CMYKcmyk(3.8%, 0%, 60.6%, 18.4%)
CIE-LABlab(80.74, -19.09, 59.84)
CIE-LCHlch(80.74, 62.81, 107.69°)
OKLaboklab(82.74% -0.0571 0.1369)
OKLCHoklch(82.74% 0.148 112.6)
XYZxyz(47.8995, 58.0013, 16.6531)
Luminance0.5800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D052 #5A52D0
analogous
#D09952 #C8D052 #89D052
triadic
#C8D052 #52C8D0 #D052C8
tetradic
#C8D052 #52D099 #5A52D0 #D05289
square
#C8D052 #52D099 #5A52D0 #D05289
split-complementary
#C8D052 #5289D0 #9952D0
monochromatic
#7E8424 #ACB431 #C8D052 #D7DD82 #E7EAB2

Accessibility & contrast

On white

1.67
#C8D052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.60
#C8D052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D052
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D052#FFFFFF#000000##000000
##C8D0521.001.6712.6012.60
#FFFFFF1.671.0021.0021.00
#00000012.6021.001.001.00
##00000012.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC743
Deuteranopia (green-blind)
#DFCA5A
Tritanopia (blue-blind)
#D4C4B5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #c8d052;
/* rgb */ color: rgb(200, 208, 82);
/* oklch */ color: oklch(82.7% 0.148 112.6);
Tailwind
colors: {
  custom: {
    50: '#dbde88',
    500: '#c8d052',
    950: '#000000',
  },
}
SCSS
$custom: #c8d052;
$custom-light: #dbde88;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d052",
  "rgb": {
    "r": 200,
    "g": 208,
    "b": 82
  },
  "hsl": {
    "h": 63.81,
    "s": 57.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.82737,
    "c": 0.14833,
    "h": 112.6
  },
  "luminance": 0.58
}

Semantic roles & 50–950 ramp

primary
#C8D052
secondary
#403B8B
accent
#47E151
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C8D052

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

Preview Lab → · Contrast checker → · Palette generator →

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