#C7D74F#C7D74F

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

Color values

HEX#C7D74F
RGBrgb(199, 215, 79)
HSLhsl(67, 63%, 58%)
HSVhsv(67, 63%, 84%)
CMYKcmyk(7.4%, 0%, 63.3%, 15.7%)
CIE-LABlab(82.54, -23.12, 62.99)
CIE-LCHlch(82.54, 67.10, 110.15°)
OKLaboklab(84.16% -0.0686 0.1432)
OKLCHoklch(84.16% 0.159 115.6)
XYZxyz(49.2660, 61.3082, 16.6340)
Luminance0.6131 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D74F #5F4FD7
analogous
#D7A34F #C7D74F #83D74F
triadic
#C7D74F #4FC7D7 #D74FC7
tetradic
#C7D74F #4FD7A3 #5F4FD7 #D74F83
square
#C7D74F #4FD7A3 #5F4FD7 #D74F83
split-complementary
#C7D74F #4F83D7 #A34FD7
monochromatic
#7F8C20 #ACBE2B #C7D74F #D7E281 #E7EEB3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7D74F#FFFFFF#000000##000000
##C7D74F1.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)
#E5CD3D
Deuteranopia (green-blind)
#E4CF58
Tritanopia (blue-blind)
#D3CBBB
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #c7d74f;
/* rgb */ color: rgb(199, 215, 79);
/* oklch */ color: oklch(84.2% 0.159 115.6);
Tailwind
colors: {
  custom: {
    50: '#dbe387',
    500: '#c7d74f',
    950: '#000000',
  },
}
SCSS
$custom: #c7d74f;
$custom-light: #dbe387;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d74f",
  "rgb": {
    "r": 199,
    "g": 215,
    "b": 79
  },
  "hsl": {
    "h": 67.059,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.84156,
    "c": 0.15879,
    "h": 115.6
  },
  "luminance": 0.61308
}

Semantic roles & 50–950 ramp

primary
#C7D74F
secondary
#433992
accent
#42E655
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C7D74F

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

Preview Lab → · Contrast checker → · Palette generator →

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