#C8D74C#C8D74C

#C8D74C is a very light, vivid yellow. Relative luminance 0.614; OKLCH L 84.2% C 0.161 H 115.2°. Best body text is #000000 at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#C8D74C
RGBrgb(200, 215, 76)
HSLhsl(66, 63%, 57%)
HSVhsv(66, 65%, 84%)
CMYKcmyk(7%, 0%, 64.7%, 15.7%)
CIE-LABlab(82.59, -22.90, 64.27)
CIE-LCHlch(82.59, 68.22, 109.61°)
OKLaboklab(84.21% -0.0684 0.1454)
OKLCHoklch(84.21% 0.161 115.2)
XYZxyz(49.4255, 61.4028, 16.0843)
Luminance0.6140 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D74C #5B4CD7
analogous
#D7A14C #C8D74C #83D74C
triadic
#C8D74C #4CC8D7 #D74CC8
tetradic
#C8D74C #4CD7A1 #5B4CD7 #D74C83
square
#C8D74C #4CD7A1 #5B4CD7 #D74C83
split-complementary
#C8D74C #4C83D7 #A14CD7
monochromatic
#7E8A1F #ACBC2A #C8D74C #D7E27E #E7EDB0

Accessibility & contrast

On white

1.58
#C8D74C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.28
#C8D74C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D74C
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D74C#FFFFFF#000000##000000
##C8D74C1.001.5813.2813.28
#FFFFFF1.581.0021.0021.00
#00000013.2821.001.001.00
##00000013.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD39
Deuteranopia (green-blind)
#E5CF56
Tritanopia (blue-blind)
#D4CBBB
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #c8d74c;
/* rgb */ color: rgb(200, 215, 76);
/* oklch */ color: oklch(84.2% 0.161 115.2);
Tailwind
colors: {
  custom: {
    50: '#dce385',
    500: '#c8d74c',
    950: '#000000',
  },
}
SCSS
$custom: #c8d74c;
$custom-light: #dce385;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d74c",
  "rgb": {
    "r": 200,
    "g": 215,
    "b": 76
  },
  "hsl": {
    "h": 66.475,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.84208,
    "c": 0.16071,
    "h": 115.2
  },
  "luminance": 0.61402
}

Semantic roles & 50–950 ramp

primary
#C8D74C
secondary
#413790
accent
#41E653
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C8D74C

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

Preview Lab → · Contrast checker → · Palette generator →

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