#CFEA7B#CFEA7B

#CFEA7B is a very light, vivid yellow-green. Relative luminance 0.735; OKLCH L 89.4% C 0.141 H 120.6°. Best body text is #000000 at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#CFEA7B
RGBrgb(207, 234, 123)
HSLhsl(75, 73%, 70%)
HSVhsv(75, 47%, 92%)
CMYKcmyk(11.5%, 0%, 47.4%, 8.2%)
CIE-LABlab(88.71, -25.44, 50.62)
CIE-LCHlch(88.71, 56.66, 116.69°)
OKLaboklab(89.38% -0.0715 0.121)
OKLCHoklch(89.38% 0.141 120.6)
XYZxyz(58.7304, 73.5412, 29.8359)
Luminance0.7354 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFEA7B #967BEA
analogous
#EACE7B #CFEA7B #97EA7B
triadic
#CFEA7B #7BCFEA #EA7BCF
tetradic
#CFEA7B #7BEACE #967BEA #EA7B97
square
#CFEA7B #7BEACE #967BEA #EA7B97
split-complementary
#CFEA7B #7B97EA #CE7BEA
monochromatic
#A1CA20 #BCE246 #CFEA7B #E2F2B0 #F5FBE5

Accessibility & contrast

On white

1.34
#CFEA7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.71
#CFEA7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFEA7B
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFEA7B#FFFFFF#000000##000000
##CFEA7B1.001.3415.7115.71
#FFFFFF1.341.0021.0021.00
#00000015.7121.001.001.00
##00000015.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DF71
Deuteranopia (green-blind)
#F3DF81
Tritanopia (blue-blind)
#D8E0D0
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #cfea7b;
/* rgb */ color: rgb(207, 234, 123);
/* oklch */ color: oklch(89.4% 0.141 120.6);
Tailwind
colors: {
  custom: {
    50: '#dff0a3',
    500: '#cfea7b',
    950: '#000000',
  },
}
SCSS
$custom: #cfea7b;
$custom-light: #dff0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cfea7b",
  "rgb": {
    "r": 207,
    "g": 234,
    "b": 123
  },
  "hsl": {
    "h": 74.595,
    "s": 72.549,
    "l": 70
  },
  "oklch": {
    "l": 0.89378,
    "c": 0.14054,
    "h": 120.6
  },
  "luminance": 0.73541
}

Semantic roles & 50–950 ramp

primary
#CFEA7B
secondary
#6546C3
accent
#11D540
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15160F
muted
#848580

Preview Lab

Preview with #CFEA7B

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

Preview Lab → · Contrast checker → · Palette generator →

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