#C8D062#C8D062

#C8D062 is a very light, vivid yellow. Relative luminance 0.583; OKLCH L 82.9% C 0.134 H 112.7°. Best body text is #000000 at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#C8D062
RGBrgb(200, 208, 98)
HSLhsl(64, 54%, 60%)
HSVhsv(64, 53%, 82%)
CMYKcmyk(3.8%, 0%, 52.9%, 18.4%)
CIE-LABlab(80.89, -17.86, 52.91)
CIE-LCHlch(80.89, 55.84, 108.65°)
OKLaboklab(82.91% -0.0519 0.124)
OKLCHoklch(82.91% 0.134 112.7)
XYZxyz(48.5809, 58.2738, 20.2417)
Luminance0.5827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D062 #6A62D0
analogous
#D0A162 #C8D062 #91D062
triadic
#C8D062 #62C8D0 #D062C8
tetradic
#C8D062 #62D0A1 #6A62D0 #D06291
square
#C8D062 #62D0A1 #6A62D0 #D06291
split-complementary
#C8D062 #6291D0 #A162D0
monochromatic
#868D2A #B3BC38 #C8D062 #D8DE91 #E9ECC0

Accessibility & contrast

On white

1.66
#C8D062 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.65
#C8D062 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D062
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D062#FFFFFF#000000##000000
##C8D0621.001.6612.6512.65
#FFFFFF1.661.0021.0021.00
#00000012.6521.001.001.00
##00000012.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC757
Deuteranopia (green-blind)
#DECA68
Tritanopia (blue-blind)
#D4C5B7
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c8d062;
/* rgb */ color: rgb(200, 208, 98);
/* oklch */ color: oklch(82.9% 0.134 112.7);
Tailwind
colors: {
  custom: {
    50: '#dbde92',
    500: '#c8d062',
    950: '#000000',
  },
}
SCSS
$custom: #c8d062;
$custom-light: #dbde92;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d062",
  "rgb": {
    "r": 200,
    "g": 208,
    "b": 98
  },
  "hsl": {
    "h": 64.364,
    "s": 53.922,
    "l": 60
  },
  "oklch": {
    "l": 0.82907,
    "c": 0.13442,
    "h": 112.7
  },
  "luminance": 0.58273
}

Semantic roles & 50–950 ramp

primary
#C8D062
secondary
#494394
accent
#4BDD55
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #C8D062

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

Preview Lab → · Contrast checker → · Palette generator →

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