#C7D24E#C7D24E

#C7D24E is a very light, vivid yellow. Relative luminance 0.588; OKLCH L 83.1% C 0.154 H 113.8°. Best body text is #000000 at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#C7D24E
RGBrgb(199, 210, 78)
HSLhsl(65, 59%, 56%)
HSVhsv(65, 63%, 82%)
CMYKcmyk(5.2%, 0%, 62.9%, 17.6%)
CIE-LABlab(81.17, -20.75, 61.94)
CIE-LCHlch(81.17, 65.33, 108.52°)
OKLaboklab(83.06% -0.0621 0.1409)
OKLCHoklch(83.06% 0.154 113.8)
XYZxyz(47.9761, 58.7863, 16.0258)
Luminance0.5878 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D24E #594ED2
analogous
#D29B4E #C7D24E #85D24E
triadic
#C7D24E #4EC7D2 #D24EC7
tetradic
#C7D24E #4ED29B #594ED2 #D24E85
square
#C7D24E #4ED29B #594ED2 #D24E85
split-complementary
#C7D24E #4E85D2 #9B4ED2
monochromatic
#7C8422 #AAB52E #C7D24E #D6DE7F #E6EBB0

Accessibility & contrast

On white

1.65
#C7D24E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.76
#C7D24E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D24E
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D24E#FFFFFF#000000##000000
##C7D24E1.001.6512.7612.76
#FFFFFF1.651.0021.0021.00
#00000012.7621.001.001.00
##00000012.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C83D
Deuteranopia (green-blind)
#E0CB57
Tritanopia (blue-blind)
#D3C6B7
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c7d24e;
/* rgb */ color: rgb(199, 210, 78);
/* oklch */ color: oklch(83.1% 0.154 113.8);
Tailwind
colors: {
  custom: {
    50: '#dbdf86',
    500: '#c7d24e',
    950: '#000000',
  },
}
SCSS
$custom: #c7d24e;
$custom-light: #dbdf86;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d24e",
  "rgb": {
    "r": 199,
    "g": 210,
    "b": 78
  },
  "hsl": {
    "h": 65,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.83056,
    "c": 0.15392,
    "h": 113.8
  },
  "luminance": 0.58785
}

Semantic roles & 50–950 ramp

primary
#C7D24E
secondary
#40398B
accent
#45E352
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C7D24E

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

Preview Lab → · Contrast checker → · Palette generator →

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