#CFEC7A#CFEC7A

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

Color values

HEX#CFEC7A
RGBrgb(207, 236, 122)
HSLhsl(75, 75%, 70%)
HSVhsv(75, 48%, 93%)
CMYKcmyk(12.3%, 0%, 48.3%, 7.5%)
CIE-LABlab(89.23, -26.49, 51.73)
CIE-LCHlch(89.23, 58.12, 117.12°)
OKLaboklab(89.8% -0.0745 0.1234)
OKLCHoklch(89.8% 0.144 121.1)
XYZxyz(59.2407, 74.6615, 29.6988)
Luminance0.7466 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFEC7A #977AEC
analogous
#ECD07A #CFEC7A #96EC7A
triadic
#CFEC7A #7ACFEC #EC7ACF
tetradic
#CFEC7A #7AECD0 #977AEC #EC7A96
square
#CFEC7A #7AECD0 #977AEC #EC7A96
split-complementary
#CFEC7A #7A96EC #D07AEC
monochromatic
#A1CE1D #BCE444 #CFEC7A #E2F4B0 #F5FBE4

Accessibility & contrast

On white

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

On black

15.93
#CFEC7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFEC7A
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFEC7A#FFFFFF#000000##000000
##CFEC7A1.001.3215.9315.93
#FFFFFF1.321.0021.0021.00
#00000015.9321.001.001.00
##00000015.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfec7a;
/* rgb */ color: rgb(207, 236, 122);
/* oklch */ color: oklch(89.8% 0.144 121.1);
Tailwind
colors: {
  custom: {
    50: '#dff2a3',
    500: '#cfec7a',
    950: '#000000',
  },
}
SCSS
$custom: #cfec7a;
$custom-light: #dff2a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cfec7a",
  "rgb": {
    "r": 207,
    "g": 236,
    "b": 122
  },
  "hsl": {
    "h": 75.263,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.89799,
    "c": 0.14414,
    "h": 121.1
  },
  "luminance": 0.74661
}

Semantic roles & 50–950 ramp

primary
#CFEC7A
secondary
#6645C5
accent
#0ED741
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15160F
muted
#848580

Preview Lab

Preview with #CFEC7A

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

Preview Lab → · Contrast checker → · Palette generator →

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