#C7D54E#C7D54E

#C7D54E is a very light, vivid yellow. Relative luminance 0.603; OKLCH L 83.7% C 0.157 H 114.9°. Best body text is #000000 at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#C7D54E
RGBrgb(199, 213, 78)
HSLhsl(66, 62%, 57%)
HSVhsv(66, 63%, 84%)
CMYKcmyk(6.6%, 0%, 63.4%, 16.5%)
CIE-LABlab(81.99, -22.21, 62.81)
CIE-LCHlch(81.99, 66.62, 109.48°)
OKLaboklab(83.71% -0.0662 0.1427)
OKLCHoklch(83.71% 0.157 114.9)
XYZxyz(48.7237, 60.2815, 16.2750)
Luminance0.6028 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D54E #5C4ED5
analogous
#D59F4E #C7D54E #84D54E
triadic
#C7D54E #4EC7D5 #D54EC7
tetradic
#C7D54E #4ED59F #5C4ED5 #D54E84
square
#C7D54E #4ED59F #5C4ED5 #D54E84
split-complementary
#C7D54E #4E84D5 #9F4ED5
monochromatic
#7D8820 #ABBA2C #C7D54E #D7E17F #E6ECB1

Accessibility & contrast

On white

1.61
#C7D54E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.06
#C7D54E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D54E
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D54E#FFFFFF#000000##000000
##C7D54E1.001.6113.0613.06
#FFFFFF1.611.0021.0021.00
#00000013.0621.001.001.00
##00000013.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB3C
Deuteranopia (green-blind)
#E3CD57
Tritanopia (blue-blind)
#D3C9B9
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #c7d54e;
/* rgb */ color: rgb(199, 213, 78);
/* oklch */ color: oklch(83.7% 0.157 114.9);
Tailwind
colors: {
  custom: {
    50: '#dbe186',
    500: '#c7d54e',
    950: '#000000',
  },
}
SCSS
$custom: #c7d54e;
$custom-light: #dbe186;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d54e",
  "rgb": {
    "r": 199,
    "g": 213,
    "b": 78
  },
  "hsl": {
    "h": 66.222,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.8371,
    "c": 0.15729,
    "h": 114.9
  },
  "luminance": 0.60281
}

Semantic roles & 50–950 ramp

primary
#C7D54E
secondary
#42398F
accent
#43E554
background
#FEFEFC
surface
#FCFCF3
border
#D5D5CD
text
#15150C
muted
#84847F

Preview Lab

Preview with #C7D54E

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

Preview Lab → · Contrast checker → · Palette generator →

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