#C7DF4F#C7DF4F

#C7DF4F is a very light, vivid yellow-green. Relative luminance 0.655; OKLCH L 85.9% C 0.168 H 118.2°. Best body text is #000000 at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#C7DF4F
RGBrgb(199, 223, 79)
HSLhsl(70, 69%, 59%)
HSVhsv(70, 65%, 87%)
CMYKcmyk(10.8%, 0%, 64.6%, 12.5%)
CIE-LABlab(84.73, -26.95, 65.29)
CIE-LCHlch(84.73, 70.63, 112.43°)
OKLaboklab(85.91% -0.0793 0.148)
OKLCHoklch(85.91% 0.168 118.2)
XYZxyz(51.3531, 65.4824, 17.3297)
Luminance0.6548 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7DF4F #674FDF
analogous
#DFAF4F #C7DF4F #7FDF4F
triadic
#C7DF4F #4FC7DF #DF4FC7
tetradic
#C7DF4F #4FDFAF #674FDF #DF4F7F
square
#C7DF4F #4FDFAF #674FDF #DF4F7F
split-complementary
#C7DF4F #4F7FDF #AF4FDF
monochromatic
#83981C #B0CC25 #C7DF4F #D7E883 #E8F2B7

Accessibility & contrast

On white

1.49
#C7DF4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.10
#C7DF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7DF4F
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7DF4F#FFFFFF#000000##000000
##C7DF4F1.001.4914.1014.10
#FFFFFF1.491.0021.0021.00
#00000014.1021.001.001.00
##00000014.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD33C
Deuteranopia (green-blind)
#EBD459
Tritanopia (blue-blind)
#D2D3C2
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #c7df4f;
/* rgb */ color: rgb(199, 223, 79);
/* oklch */ color: oklch(85.9% 0.168 118.2);
Tailwind
colors: {
  custom: {
    50: '#dbe987',
    500: '#c7df4f',
    950: '#000000',
  },
}
SCSS
$custom: #c7df4f;
$custom-light: #dbe987;
$custom-dark: #000000;
JSON
{
  "hex": "#c7df4f",
  "rgb": {
    "r": 199,
    "g": 223,
    "b": 79
  },
  "hsl": {
    "h": 70,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.85912,
    "c": 0.16797,
    "h": 118.2
  },
  "luminance": 0.65482
}

Semantic roles & 50–950 ramp

primary
#C7DF4F
secondary
#47369C
accent
#3CEC59
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15160C
muted
#84847F

Preview Lab

Preview with #C7DF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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