#C7F672#C7F672

#C7F672 is a very light, vivid yellow-green. Relative luminance 0.793; OKLCH L 91.3% C 0.168 H 125.9°. Best body text is #000000 at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#C7F672
RGBrgb(199, 246, 114)
HSLhsl(81, 88%, 71%)
HSVhsv(81, 54%, 96%)
CMYKcmyk(19.1%, 0%, 53.7%, 3.5%)
CIE-LABlab(91.36, -34.90, 57.79)
CIE-LCHlch(91.36, 67.52, 121.13°)
OKLaboklab(91.35% -0.0983 0.1361)
OKLCHoklch(91.35% 0.168 125.9)
XYZxyz(59.5462, 79.2679, 28.0794)
Luminance0.7927 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7F672 #A172F6
analogous
#F6E372 #C7F672 #85F672
triadic
#C7F672 #72C7F6 #F672C7
tetradic
#C7F672 #72F6E3 #A172F6 #F67285
square
#C7F672 #72F6E3 #A172F6 #F67285
split-complementary
#C7F672 #7285F6 #E372F6
monochromatic
#95DF0E #B0F238 #C7F672 #DEFAAC #F4FDE2

Accessibility & contrast

On white

1.25
#C7F672 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.85
#C7F672 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7F672
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7F672#FFFFFF#000000##000000
##C7F6721.001.2516.8516.85
#FFFFFF1.251.0021.0021.00
#00000016.8521.001.001.00
##00000016.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE865
Deuteranopia (green-blind)
#FBE67A
Tritanopia (blue-blind)
#CEECD9
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #c7f672;
/* rgb */ color: rgb(199, 246, 114);
/* oklch */ color: oklch(91.3% 0.168 125.9);
Tailwind
colors: {
  custom: {
    50: '#daf99e',
    500: '#c7f672',
    950: '#000000',
  },
}
SCSS
$custom: #c7f672;
$custom-light: #daf99e;
$custom-dark: #000000;
JSON
{
  "hex": "#c7f672",
  "rgb": {
    "r": 199,
    "g": 246,
    "b": 114
  },
  "hsl": {
    "h": 81.364,
    "s": 88,
    "l": 70.588
  },
  "oklch": {
    "l": 0.91345,
    "c": 0.16786,
    "h": 125.9
  },
  "luminance": 0.79269
}

Semantic roles & 50–950 ramp

primary
#C7F672
secondary
#713CD1
accent
#01E552
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170F
muted
#848580

Preview Lab

Preview with #C7F672

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

Preview Lab → · Contrast checker → · Palette generator →

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