#CFEC5B#CFEC5B

#CFEC5B is a very light, vivid yellow-green. Relative luminance 0.740; OKLCH L 89.5% C 0.171 H 119.6°. Best body text is #000000 at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#CFEC5B
RGBrgb(207, 236, 91)
HSLhsl(72, 79%, 64%)
HSVhsv(72, 61%, 93%)
CMYKcmyk(12.3%, 0%, 61.4%, 7.5%)
CIE-LABlab(88.93, -29.11, 65.09)
CIE-LCHlch(88.93, 71.30, 114.10°)
OKLaboklab(89.45% -0.0847 0.1491)
OKLCHoklch(89.45% 0.171 119.6)
XYZxyz(57.6168, 74.0119, 21.1459)
Luminance0.7401 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFEC5B #785BEC
analogous
#ECC15B #CFEC5B #87EC5B
triadic
#CFEC5B #5BCFEC #EC5BCF
tetradic
#CFEC5B #5BECC1 #785BEC #EC5B87
square
#CFEC5B #5BECC1 #785BEC #EC5B87
split-complementary
#CFEC5B #5B87EC #C15BEC
monochromatic
#97B715 #BFE624 #CFEC5B #DFF292 #EFF9C9

Accessibility & contrast

On white

1.33
#CFEC5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.80
#CFEC5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFEC5B
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFEC5B#FFFFFF#000000##000000
##CFEC5B1.001.3315.8015.80
#FFFFFF1.331.0021.0021.00
#00000015.8021.001.001.00
##00000015.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FADF49
Deuteranopia (green-blind)
#F7E065
Tritanopia (blue-blind)
#DAE0CE
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #cfec5b;
/* rgb */ color: rgb(207, 236, 91);
/* oklch */ color: oklch(89.5% 0.171 119.6);
Tailwind
colors: {
  custom: {
    50: '#e1f28f',
    500: '#cfec5b',
    950: '#000000',
  },
}
SCSS
$custom: #cfec5b;
$custom-light: #e1f28f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfec5b",
  "rgb": {
    "r": 207,
    "g": 236,
    "b": 91
  },
  "hsl": {
    "h": 72,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.89454,
    "c": 0.17145,
    "h": 119.6
  },
  "luminance": 0.74012
}

Semantic roles & 50–950 ramp

primary
#CFEC5B
secondary
#4E34B7
accent
#0ADC34
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #CFEC5B

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

Preview Lab → · Contrast checker → · Palette generator →

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