#CFFB7C#CFFB7C

#CFFB7C is a very light, vivid yellow-green. Relative luminance 0.837; OKLCH L 93.1% C 0.162 H 125.2°. Best body text is #000000 at 17.74:1 contrast (WCAG AA passes).

Color values

HEX#CFFB7C
RGBrgb(207, 251, 124)
HSLhsl(81, 94%, 74%)
HSVhsv(81, 51%, 98%)
CMYKcmyk(17.5%, 0%, 50.6%, 1.6%)
CIE-LABlab(93.33, -33.29, 55.72)
CIE-LCHlch(93.33, 64.91, 120.86°)
OKLaboklab(93.1% -0.0934 0.1323)
OKLCHoklch(93.1% 0.162 125.2)
XYZxyz(63.8674, 83.7144, 31.8586)
Luminance0.8371 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFFB7C #A87CFB
analogous
#FBE77C #CFFB7C #8FFB7C
triadic
#CFFB7C #7CCFFB #FB7CCF
tetradic
#CFFB7C #7CFBE7 #A87CFB #FB7C8F
square
#CFFB7C #7CFBE7 #A87CFB #FB7C8F
split-complementary
#CFFB7C #7C8FFB #E77CFB
monochromatic
#A3F507 #B9F941 #CFFB7C #E5FDB7 #F4FEE1

Accessibility & contrast

On white

1.18
#CFFB7C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.74
#CFFB7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFFB7C
17.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFFB7C#FFFFFF#000000##000000
##CFFB7C1.001.1817.7417.74
#FFFFFF1.181.0021.0021.00
#00000017.7421.001.001.00
##00000017.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED70
Deuteranopia (green-blind)
#FFEB84
Tritanopia (blue-blind)
#D6F1DE
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #cffb7c;
/* rgb */ color: rgb(207, 251, 124);
/* oklch */ color: oklch(93.1% 0.162 125.2);
Tailwind
colors: {
  custom: {
    50: '#e0fca5',
    500: '#cffb7c',
    950: '#000000',
  },
}
SCSS
$custom: #cffb7c;
$custom-light: #e0fca5;
$custom-dark: #000000;
JSON
{
  "hex": "#cffb7c",
  "rgb": {
    "r": 207,
    "g": 251,
    "b": 124
  },
  "hsl": {
    "h": 80.787,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.93096,
    "c": 0.16195,
    "h": 125.2
  },
  "luminance": 0.83715
}

Semantic roles & 50–950 ramp

primary
#CFFB7C
secondary
#7743D8
accent
#00E650
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CFFB7C

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

Preview Lab → · Contrast checker → · Palette generator →

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