#C8D248#C8D248

#C8D248 is a very light, vivid yellow. Relative luminance 0.588; OKLCH L 83.1% C 0.158 H 113.3°. Best body text is #000000 at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#C8D248
RGBrgb(200, 210, 72)
HSLhsl(64, 61%, 55%)
HSVhsv(64, 66%, 82%)
CMYKcmyk(4.8%, 0%, 65.7%, 17.6%)
CIE-LABlab(81.20, -20.71, 64.40)
CIE-LCHlch(81.20, 67.65, 107.83°)
OKLaboklab(83.08% -0.0626 0.1451)
OKLCHoklch(83.08% 0.158 113.3)
XYZxyz(48.0370, 58.8414, 14.9567)
Luminance0.5884 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D248 #5248D2
analogous
#D29748 #C8D248 #83D248
triadic
#C8D248 #48C8D2 #D248C8
tetradic
#C8D248 #48D297 #5248D2 #D24883
square
#C8D248 #48D297 #5248D2 #D24883
split-complementary
#C8D248 #4883D2 #9748D2
monochromatic
#798020 #A8B12C #C8D248 #D7DE79 #E6EAAA

Accessibility & contrast

On white

1.64
#C8D248 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.77
#C8D248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D248
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D248#FFFFFF#000000##000000
##C8D2481.001.6412.7712.77
#FFFFFF1.641.0021.0021.00
#00000012.7721.001.001.00
##00000012.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C834
Deuteranopia (green-blind)
#E1CB52
Tritanopia (blue-blind)
#D5C6B6
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c8d248;
/* rgb */ color: rgb(200, 210, 72);
/* oklch */ color: oklch(83.1% 0.158 113.3);
Tailwind
colors: {
  custom: {
    50: '#dcdf82',
    500: '#c8d248',
    950: '#000000',
  },
}
SCSS
$custom: #c8d248;
$custom-light: #dcdf82;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d248",
  "rgb": {
    "r": 200,
    "g": 210,
    "b": 72
  },
  "hsl": {
    "h": 64.348,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.83084,
    "c": 0.15806,
    "h": 113.3
  },
  "luminance": 0.5884
}

Semantic roles & 50–950 ramp

primary
#C8D248
secondary
#3D3787
accent
#44E450
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C8D248

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

Preview Lab → · Contrast checker → · Palette generator →

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