#C8D74F#C8D74F

#C8D74F 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#C8D74F
RGBrgb(200, 215, 79)
HSLhsl(67, 63%, 58%)
HSVhsv(67, 63%, 84%)
CMYKcmyk(7%, 0%, 63.3%, 15.7%)
CIE-LABlab(82.62, -22.71, 63.09)
CIE-LCHlch(82.62, 67.05, 109.80°)
OKLaboklab(84.23% -0.0675 0.1434)
OKLCHoklch(84.23% 0.159 115.2)
XYZxyz(49.5323, 61.4455, 16.6465)
Luminance0.6145 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D74F #5E4FD7
analogous
#D7A24F #C8D74F #84D74F
triadic
#C8D74F #4FC8D7 #D74FC8
tetradic
#C8D74F #4FD7A2 #5E4FD7 #D74F84
square
#C8D74F #4FD7A2 #5E4FD7 #D74F84
split-complementary
#C8D74F #4F84D7 #A24FD7
monochromatic
#808C20 #AEBE2B #C8D74F #D8E281 #E7EEB3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8D74F#FFFFFF#000000##000000
##C8D74F1.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)
#E5CD3D
Deuteranopia (green-blind)
#E4CF58
Tritanopia (blue-blind)
#D4CBBB
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #c8d74f;
/* rgb */ color: rgb(200, 215, 79);
/* oklch */ color: oklch(84.2% 0.159 115.2);
Tailwind
colors: {
  custom: {
    50: '#dce387',
    500: '#c8d74f',
    950: '#000000',
  },
}
SCSS
$custom: #c8d74f;
$custom-light: #dce387;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d74f",
  "rgb": {
    "r": 200,
    "g": 215,
    "b": 79
  },
  "hsl": {
    "h": 66.618,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.84233,
    "c": 0.1585,
    "h": 115.2
  },
  "luminance": 0.61445
}

Semantic roles & 50–950 ramp

primary
#C8D74F
secondary
#423992
accent
#42E654
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C8D74F

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

Preview Lab → · Contrast checker → · Palette generator →

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