#C7D74E#C7D74E

#C7D74E is a very light, vivid yellow. Relative luminance 0.613; OKLCH L 84.1% C 0.160 H 115.6°. Best body text is #000000 at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#C7D74E
RGBrgb(199, 215, 78)
HSLhsl(67, 63%, 57%)
HSVhsv(67, 64%, 84%)
CMYKcmyk(7.4%, 0%, 63.7%, 15.7%)
CIE-LABlab(82.54, -23.18, 63.38)
CIE-LCHlch(82.54, 67.49, 110.09°)
OKLaboklab(84.15% -0.0689 0.1439)
OKLCHoklch(84.15% 0.16 115.6)
XYZxyz(49.2299, 61.2938, 16.4437)
Luminance0.6129 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D74E #5E4ED7
analogous
#D7A24E #C7D74E #83D74E
triadic
#C7D74E #4EC7D7 #D74EC7
tetradic
#C7D74E #4ED7A2 #5E4ED7 #D74E83
square
#C7D74E #4ED7A2 #5E4ED7 #D74E83
split-complementary
#C7D74E #4E83D7 #A24ED7
monochromatic
#7F8B1F #ACBD2B #C7D74E #D7E280 #E7EEB2

Accessibility & contrast

On white

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

On black

13.26
#C7D74E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D74E
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D74E#FFFFFF#000000##000000
##C7D74E1.001.5813.2613.26
#FFFFFF1.581.0021.0021.00
#00000013.2621.001.001.00
##00000013.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CD3C
Deuteranopia (green-blind)
#E4CE57
Tritanopia (blue-blind)
#D3CBBB
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #c7d74e;
/* rgb */ color: rgb(199, 215, 78);
/* oklch */ color: oklch(84.1% 0.160 115.6);
Tailwind
colors: {
  custom: {
    50: '#dbe386',
    500: '#c7d74e',
    950: '#000000',
  },
}
SCSS
$custom: #c7d74e;
$custom-light: #dbe386;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d74e",
  "rgb": {
    "r": 199,
    "g": 215,
    "b": 78
  },
  "hsl": {
    "h": 67.007,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.84147,
    "c": 0.15954,
    "h": 115.6
  },
  "luminance": 0.61293
}

Semantic roles & 50–950 ramp

primary
#C7D74E
secondary
#433891
accent
#42E655
background
#FEFEFC
surface
#FCFCF3
border
#D5D5CD
text
#15150C
muted
#84847F

Preview Lab

Preview with #C7D74E

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

Preview Lab → · Contrast checker → · Palette generator →

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