#CFEC7B#CFEC7B

#CFEC7B is a very light, vivid yellow-green. Relative luminance 0.747; OKLCH L 89.8% C 0.143 H 121.2°. Best body text is #000000 at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#CFEC7B
RGBrgb(207, 236, 123)
HSLhsl(75, 75%, 70%)
HSVhsv(75, 48%, 93%)
CMYKcmyk(12.3%, 0%, 47.9%, 7.5%)
CIE-LABlab(89.25, -26.40, 51.28)
CIE-LCHlch(89.25, 57.67, 117.24°)
OKLaboklab(89.81% -0.0742 0.1225)
OKLCHoklch(89.81% 0.143 121.2)
XYZxyz(59.3030, 74.6864, 30.0268)
Luminance0.7469 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFEC7B #987BEC
analogous
#ECD07B #CFEC7B #97EC7B
triadic
#CFEC7B #7BCFEC #EC7BCF
tetradic
#CFEC7B #7BECD0 #987BEC #EC7B97
square
#CFEC7B #7BECD0 #987BEC #EC7B97
split-complementary
#CFEC7B #7B97EC #D07BEC
monochromatic
#A1CF1E #BCE446 #CFEC7B #E2F4B0 #F5FBE4

Accessibility & contrast

On white

1.32
#CFEC7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.94
#CFEC7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFEC7B
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFEC7B#FFFFFF#000000##000000
##CFEC7B1.001.3215.9415.94
#FFFFFF1.321.0021.0021.00
#00000015.9421.001.001.00
##00000015.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E171
Deuteranopia (green-blind)
#F4E081
Tritanopia (blue-blind)
#D8E2D2
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #cfec7b;
/* rgb */ color: rgb(207, 236, 123);
/* oklch */ color: oklch(89.8% 0.143 121.2);
Tailwind
colors: {
  custom: {
    50: '#dff2a3',
    500: '#cfec7b',
    950: '#000000',
  },
}
SCSS
$custom: #cfec7b;
$custom-light: #dff2a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cfec7b",
  "rgb": {
    "r": 207,
    "g": 236,
    "b": 123
  },
  "hsl": {
    "h": 75.398,
    "s": 74.834,
    "l": 70.392
  },
  "oklch": {
    "l": 0.89812,
    "c": 0.14316,
    "h": 121.2
  },
  "luminance": 0.74686
}

Semantic roles & 50–950 ramp

primary
#CFEC7B
secondary
#6746C5
accent
#0FD742
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15160F
muted
#848580

Preview Lab

Preview with #CFEC7B

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

Preview Lab → · Contrast checker → · Palette generator →

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