#C8D462#C8D462

#C8D462 is a very light, vivid yellow. Relative luminance 0.602; OKLCH L 83.8% C 0.139 H 114.4°. Best body text is #000000 at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#C8D462
RGBrgb(200, 212, 98)
HSLhsl(66, 57%, 61%)
HSVhsv(66, 54%, 83%)
CMYKcmyk(5.7%, 0%, 53.8%, 16.9%)
CIE-LABlab(81.97, -19.84, 54.16)
CIE-LCHlch(81.97, 57.68, 110.12°)
OKLaboklab(83.77% -0.0575 0.1267)
OKLCHoklch(83.77% 0.139 114.4)
XYZxyz(49.5684, 60.2489, 20.5709)
Luminance0.6025 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D462 #6E62D4
analogous
#D4A762 #C8D462 #8FD462
triadic
#C8D462 #62C8D4 #D462C8
tetradic
#C8D462 #62D4A7 #6E62D4 #D4628F
square
#C8D462 #62D4A7 #6E62D4 #D4628F
split-complementary
#C8D462 #628FD4 #A762D4
monochromatic
#889328 #B4C335 #C8D462 #D9E192 #EAEEC2

Accessibility & contrast

On white

1.61
#C8D462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.05
#C8D462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D462
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D462#FFFFFF#000000##000000
##C8D4621.001.6113.0513.05
#FFFFFF1.611.0021.0021.00
#00000013.0521.001.001.00
##00000013.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CB57
Deuteranopia (green-blind)
#E1CD68
Tritanopia (blue-blind)
#D3C9BB
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #c8d462;
/* rgb */ color: rgb(200, 212, 98);
/* oklch */ color: oklch(83.8% 0.139 114.4);
Tailwind
colors: {
  custom: {
    50: '#dbe192',
    500: '#c8d462',
    950: '#000000',
  },
}
SCSS
$custom: #c8d462;
$custom-light: #dbe192;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d462",
  "rgb": {
    "r": 200,
    "g": 212,
    "b": 98
  },
  "hsl": {
    "h": 66.316,
    "s": 57,
    "l": 60.784
  },
  "oklch": {
    "l": 0.83772,
    "c": 0.13914,
    "h": 114.4
  },
  "luminance": 0.60248
}

Semantic roles & 50–950 ramp

primary
#C8D462
secondary
#4B4299
accent
#21C532
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #C8D462

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

Preview Lab → · Contrast checker → · Palette generator →

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