#CFEF7B#CFEF7B

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

Color values

HEX#CFEF7B
RGBrgb(207, 239, 123)
HSLhsl(77, 78%, 71%)
HSVhsv(77, 49%, 94%)
CMYKcmyk(13.4%, 0%, 48.5%, 6.3%)
CIE-LABlab(90.06, -27.81, 52.26)
CIE-LCHlch(90.06, 59.20, 118.02°)
OKLaboklab(90.46% -0.0782 0.1246)
OKLCHoklch(90.46% 0.147 122.1)
XYZxyz(60.1740, 76.4284, 30.3171)
Luminance0.7643 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFEF7B #9B7BEF
analogous
#EFD57B #CFEF7B #95EF7B
triadic
#CFEF7B #7BCFEF #EF7BCF
tetradic
#CFEF7B #7BEFD5 #9B7BEF #EF7B95
square
#CFEF7B #7BEFD5 #9B7BEF #EF7B95
split-complementary
#CFEF7B #7B95EF #D57BEF
monochromatic
#A2D61A #BBE844 #CFEF7B #E3F6B2 #F5FCE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFEF7B#FFFFFF#000000##000000
##CFEF7B1.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)
#FBE371
Deuteranopia (green-blind)
#F7E382
Tritanopia (blue-blind)
#D7E5D4
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #cfef7b;
/* rgb */ color: rgb(207, 239, 123);
/* oklch */ color: oklch(90.5% 0.147 122.1);
Tailwind
colors: {
  custom: {
    50: '#dff4a4',
    500: '#cfef7b',
    950: '#000000',
  },
}
SCSS
$custom: #cfef7b;
$custom-light: #dff4a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cfef7b",
  "rgb": {
    "r": 207,
    "g": 239,
    "b": 123
  },
  "hsl": {
    "h": 76.552,
    "s": 78.378,
    "l": 70.98
  },
  "oklch": {
    "l": 0.90464,
    "c": 0.14709,
    "h": 122.1
  },
  "luminance": 0.76428
}

Semantic roles & 50–950 ramp

primary
#CFEF7B
secondary
#6A45C9
accent
#0BDB44
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CFEF7B

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

Preview Lab → · Contrast checker → · Palette generator →

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