#C8D762#C8D762

#C8D762 is a very light, vivid yellow. Relative luminance 0.618; OKLCH L 84.4% C 0.143 H 115.6°. Best body text is #000000 at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#C8D762
RGBrgb(200, 215, 98)
HSLhsl(68, 59%, 61%)
HSVhsv(68, 54%, 84%)
CMYKcmyk(7%, 0%, 54.4%, 15.7%)
CIE-LABlab(82.79, -21.31, 55.09)
CIE-LCHlch(82.79, 59.07, 111.14°)
OKLaboklab(84.42% -0.0617 0.1287)
OKLCHoklch(84.42% 0.143 115.6)
XYZxyz(50.3253, 61.7627, 20.8232)
Luminance0.6176 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D762 #7162D7
analogous
#D7AC62 #C8D762 #8ED762
triadic
#C8D762 #62C8D7 #D762C8
tetradic
#C8D762 #62D7AC #7162D7 #D7628E
square
#C8D762 #62D7AC #7162D7 #D7628E
split-complementary
#C8D762 #628ED7 #AC62D7
monochromatic
#899827 #B6C933 #C8D762 #D9E393 #EAF0C4

Accessibility & contrast

On white

1.57
#C8D762 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.35
#C8D762 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D762
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D762#FFFFFF#000000##000000
##C8D7621.001.5713.3513.35
#FFFFFF1.571.0021.0021.00
#00000013.3521.001.001.00
##00000013.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CD56
Deuteranopia (green-blind)
#E3CF69
Tritanopia (blue-blind)
#D3CCBD
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #c8d762;
/* rgb */ color: rgb(200, 215, 98);
/* oklch */ color: oklch(84.4% 0.143 115.6);
Tailwind
colors: {
  custom: {
    50: '#dbe392',
    500: '#c8d762',
    950: '#000000',
  },
}
SCSS
$custom: #c8d762;
$custom-light: #dbe392;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d762",
  "rgb": {
    "r": 200,
    "g": 215,
    "b": 98
  },
  "hsl": {
    "h": 67.692,
    "s": 59.391,
    "l": 61.373
  },
  "oklch": {
    "l": 0.84423,
    "c": 0.14272,
    "h": 115.6
  },
  "luminance": 0.61762
}

Semantic roles & 50–950 ramp

primary
#C8D762
secondary
#4C419D
accent
#1EC734
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #C8D762

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

Preview Lab → · Contrast checker → · Palette generator →

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