#CFEA56#CFEA56

#CFEA56 is a very light, vivid yellow-green. Relative luminance 0.728; OKLCH L 89.0% C 0.173 H 118.9°. Best body text is #000000 at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#CFEA56
RGBrgb(207, 234, 86)
HSLhsl(71, 78%, 63%)
HSVhsv(71, 63%, 92%)
CMYKcmyk(11.5%, 0%, 63.2%, 8.2%)
CIE-LABlab(88.34, -28.52, 66.49)
CIE-LCHlch(88.34, 72.34, 113.22°)
OKLaboklab(88.97% -0.0835 0.1514)
OKLCHoklch(88.97% 0.173 118.9)
XYZxyz(56.8356, 72.7833, 19.8567)
Luminance0.7278 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFEA56 #7156EA
analogous
#EABB56 #CFEA56 #85EA56
triadic
#CFEA56 #56CFEA #EA56CF
tetradic
#CFEA56 #56EABB #7156EA #EA5685
square
#CFEA56 #56EABB #7156EA #EA5685
split-complementary
#CFEA56 #5685EA #BB56EA
monochromatic
#94B016 #C0E320 #CFEA56 #DEF18C #EEF8C3

Accessibility & contrast

On white

1.35
#CFEA56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.56
#CFEA56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFEA56
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFEA56#FFFFFF#000000##000000
##CFEA561.001.3515.5615.56
#FFFFFF1.351.0021.0021.00
#00000015.5621.001.001.00
##00000015.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DE43
Deuteranopia (green-blind)
#F5DE60
Tritanopia (blue-blind)
#DADECB
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #cfea56;
/* rgb */ color: rgb(207, 234, 86);
/* oklch */ color: oklch(89.0% 0.173 118.9);
Tailwind
colors: {
  custom: {
    50: '#e1f08c',
    500: '#cfea56',
    950: '#000000',
  },
}
SCSS
$custom: #cfea56;
$custom-light: #e1f08c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfea56",
  "rgb": {
    "r": 207,
    "g": 234,
    "b": 86
  },
  "hsl": {
    "h": 70.946,
    "s": 77.895,
    "l": 62.745
  },
  "oklch": {
    "l": 0.88972,
    "c": 0.17286,
    "h": 118.9
  },
  "luminance": 0.72783
}

Semantic roles & 50–950 ramp

primary
#CFEA56
secondary
#4B34B0
accent
#0BDA31
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #CFEA56

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

Preview Lab → · Contrast checker → · Palette generator →

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