#CFE56A#CFE56A

#CFE56A is a very light, vivid yellow-green. Relative luminance 0.703; OKLCH L 88.1% C 0.150 H 118.0°. Best body text is #000000 at 15.07:1 contrast (WCAG AA passes).

Color values

HEX#CFE56A
RGBrgb(207, 229, 106)
HSLhsl(71, 70%, 66%)
HSVhsv(71, 54%, 90%)
CMYKcmyk(9.6%, 0%, 53.7%, 10.2%)
CIE-LABlab(87.17, -24.63, 56.65)
CIE-LCHlch(87.17, 61.78, 113.50°)
OKLaboklab(88.08% -0.0707 0.1327)
OKLCHoklch(88.08% 0.15 118)
XYZxyz(56.3537, 70.3451, 24.2421)
Luminance0.7035 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE56A #806AE5
analogous
#E5BE6A #CFE56A #91E56A
triadic
#CFE56A #6ACFE5 #E56ACF
tetradic
#CFE56A #6AE5BE #806AE5 #E56A91
square
#CFE56A #6AE5BE #806AE5 #E56A91
split-complementary
#CFE56A #6A91E5 #BE6AE5
monochromatic
#9AB520 #BEDC36 #CFE56A #E0EE9E #F1F7D2

Accessibility & contrast

On white

1.39
#CFE56A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.07
#CFE56A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE56A
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE56A#FFFFFF#000000##000000
##CFE56A1.001.3915.0715.07
#FFFFFF1.391.0021.0021.00
#00000015.0721.001.001.00
##00000015.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DA5E
Deuteranopia (green-blind)
#F0DB71
Tritanopia (blue-blind)
#DADACA
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #cfe56a;
/* rgb */ color: rgb(207, 229, 106);
/* oklch */ color: oklch(88.1% 0.150 118.0);
Tailwind
colors: {
  custom: {
    50: '#e0ed98',
    500: '#cfe56a',
    950: '#000000',
  },
}
SCSS
$custom: #cfe56a;
$custom-light: #e0ed98;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe56a",
  "rgb": {
    "r": 207,
    "g": 229,
    "b": 106
  },
  "hsl": {
    "h": 70.732,
    "s": 70.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.88083,
    "c": 0.15039,
    "h": 118
  },
  "luminance": 0.70345
}

Semantic roles & 50–950 ramp

primary
#CFE56A
secondary
#533EB5
accent
#13D235
background
#FEFEFC
surface
#FCFDF5
border
#D5D5CF
text
#15160E
muted
#84847F

Preview Lab

Preview with #CFE56A

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

Preview Lab → · Contrast checker → · Palette generator →

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