#CFEF7C#CFEF7C

#CFEF7C is a very light, vivid yellow-green. Relative luminance 0.765; OKLCH L 90.5% C 0.146 H 122.2°. Best body text is #000000 at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#CFEF7C
RGBrgb(207, 239, 124)
HSLhsl(77, 78%, 71%)
HSVhsv(77, 48%, 94%)
CMYKcmyk(13.4%, 0%, 48.1%, 6.3%)
CIE-LABlab(90.07, -27.71, 51.81)
CIE-LCHlch(90.07, 58.75, 118.15°)
OKLaboklab(90.48% -0.0778 0.1237)
OKLCHoklch(90.48% 0.146 122.2)
XYZxyz(60.2369, 76.4536, 30.6485)
Luminance0.7645 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFEF7C #9C7CEF
analogous
#EFD57C #CFEF7C #95EF7C
triadic
#CFEF7C #7CCFEF #EF7CCF
tetradic
#CFEF7C #7CEFD5 #9C7CEF #EF7C95
square
#CFEF7C #7CEFD5 #9C7CEF #EF7C95
split-complementary
#CFEF7C #7C95EF #D57CEF
monochromatic
#A2D61A #BBE845 #CFEF7C #E3F6B3 #F5FCE4

Accessibility & contrast

On white

1.29
#CFEF7C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.29
#CFEF7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFEF7C
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFEF7C#FFFFFF#000000##000000
##CFEF7C1.001.2916.2916.29
#FFFFFF1.291.0021.0021.00
#00000016.2921.001.001.00
##00000016.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE372
Deuteranopia (green-blind)
#F7E382
Tritanopia (blue-blind)
#D7E5D4
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #cfef7c;
/* rgb */ color: rgb(207, 239, 124);
/* oklch */ color: oklch(90.5% 0.146 122.2);
Tailwind
colors: {
  custom: {
    50: '#dff4a4',
    500: '#cfef7c',
    950: '#000000',
  },
}
SCSS
$custom: #cfef7c;
$custom-light: #dff4a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cfef7c",
  "rgb": {
    "r": 207,
    "g": 239,
    "b": 124
  },
  "hsl": {
    "h": 76.696,
    "s": 78.231,
    "l": 71.176
  },
  "oklch": {
    "l": 0.90477,
    "c": 0.14612,
    "h": 122.2
  },
  "luminance": 0.76454
}

Semantic roles & 50–950 ramp

primary
#CFEF7C
secondary
#6B46C9
accent
#0BDA45
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CFEF7C

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

Preview Lab → · Contrast checker → · Palette generator →

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