#C8D74E#C8D74E

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

Color values

HEX#C8D74E
RGBrgb(200, 215, 78)
HSLhsl(67, 63%, 57%)
HSVhsv(67, 64%, 84%)
CMYKcmyk(7%, 0%, 63.7%, 15.7%)
CIE-LABlab(82.61, -22.78, 63.48)
CIE-LCHlch(82.61, 67.45, 109.74°)
OKLaboklab(84.22% -0.0678 0.1441)
OKLCHoklch(84.22% 0.159 115.2)
XYZxyz(49.4962, 61.4311, 16.4562)
Luminance0.6143 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D74E #5D4ED7
analogous
#D7A14E #C8D74E #84D74E
triadic
#C8D74E #4EC8D7 #D74EC8
tetradic
#C8D74E #4ED7A1 #5D4ED7 #D74E84
square
#C8D74E #4ED7A1 #5D4ED7 #D74E84
split-complementary
#C8D74E #4E84D7 #A14ED7
monochromatic
#7F8B1F #ADBD2B #C8D74E #D8E280 #E7EEB2

Accessibility & contrast

On white

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

On black

13.29
#C8D74E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D74E
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D74E#FFFFFF#000000##000000
##C8D74E1.001.5813.2913.29
#FFFFFF1.581.0021.0021.00
#00000013.2921.001.001.00
##00000013.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8d74e;
/* rgb */ color: rgb(200, 215, 78);
/* oklch */ color: oklch(84.2% 0.159 115.2);
Tailwind
colors: {
  custom: {
    50: '#dce386',
    500: '#c8d74e',
    950: '#000000',
  },
}
SCSS
$custom: #c8d74e;
$custom-light: #dce386;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d74e",
  "rgb": {
    "r": 200,
    "g": 215,
    "b": 78
  },
  "hsl": {
    "h": 66.569,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.84224,
    "c": 0.15925,
    "h": 115.2
  },
  "luminance": 0.6143
}

Semantic roles & 50–950 ramp

primary
#C8D74E
secondary
#423891
accent
#42E654
background
#FEFEFC
surface
#FCFCF3
border
#D5D5CD
text
#15150C
muted
#84847F

Preview Lab

Preview with #C8D74E

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

Preview Lab → · Contrast checker → · Palette generator →

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