#C7D74D#C7D74D

#C7D74D 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#C7D74D
RGBrgb(199, 215, 77)
HSLhsl(67, 63%, 57%)
HSVhsv(67, 64%, 84%)
CMYKcmyk(7.4%, 0%, 64.2%, 15.7%)
CIE-LABlab(82.53, -23.25, 63.78)
CIE-LCHlch(82.53, 67.88, 110.03°)
OKLaboklab(84.14% -0.0692 0.1446)
OKLCHoklch(84.14% 0.16 115.6)
XYZxyz(49.1943, 61.2795, 16.2564)
Luminance0.6128 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D74D #5D4DD7
analogous
#D7A24D #C7D74D #82D74D
triadic
#C7D74D #4DC7D7 #D74DC7
tetradic
#C7D74D #4DD7A2 #5D4DD7 #D74D82
square
#C7D74D #4DD7A2 #5D4DD7 #D74D82
split-complementary
#C7D74D #4D82D7 #A24DD7
monochromatic
#7E8A1F #ACBC2A #C7D74D #D7E27F #E6EDB1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7D74D#FFFFFF#000000##000000
##C7D74D1.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)
#E5CC3B
Deuteranopia (green-blind)
#E4CE57
Tritanopia (blue-blind)
#D3CBBB
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #c7d74d;
/* rgb */ color: rgb(199, 215, 77);
/* oklch */ color: oklch(84.1% 0.160 115.6);
Tailwind
colors: {
  custom: {
    50: '#dbe385',
    500: '#c7d74d',
    950: '#000000',
  },
}
SCSS
$custom: #c7d74d;
$custom-light: #dbe385;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d74d",
  "rgb": {
    "r": 199,
    "g": 215,
    "b": 77
  },
  "hsl": {
    "h": 66.957,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.84139,
    "c": 0.16027,
    "h": 115.6
  },
  "luminance": 0.61279
}

Semantic roles & 50–950 ramp

primary
#C7D74D
secondary
#423890
accent
#41E655
background
#FEFEFC
surface
#FCFCF3
border
#D5D5CD
text
#15150C
muted
#84847F

Preview Lab

Preview with #C7D74D

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

Preview Lab → · Contrast checker → · Palette generator →

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