#CFE562#CFE562

#CFE562 is a very light, vivid yellow-green. Relative luminance 0.702; OKLCH L 88.0% C 0.157 H 117.8°. Best body text is #000000 at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#CFE562
RGBrgb(207, 229, 98)
HSLhsl(70, 72%, 64%)
HSVhsv(70, 57%, 90%)
CMYKcmyk(9.6%, 0%, 57.2%, 10.2%)
CIE-LABlab(87.09, -25.29, 60.11)
CIE-LCHlch(87.09, 65.21, 112.82°)
OKLaboklab(88% -0.0733 0.1393)
OKLCHoklch(88% 0.157 117.8)
XYZxyz(55.9569, 70.1864, 22.1524)
Luminance0.7019 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE562 #7862E5
analogous
#E5BA62 #CFE562 #8EE562
triadic
#CFE562 #62CFE5 #E562CF
tetradic
#CFE562 #62E5BA #7862E5 #E5628E
square
#CFE562 #62E5BA #7862E5 #E5628E
split-complementary
#CFE562 #628EE5 #BA62E5
monochromatic
#97B01D #BFDC2D #CFE562 #DFEE97 #EFF6CB

Accessibility & contrast

On white

1.40
#CFE562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.04
#CFE562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE562
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE562#FFFFFF#000000##000000
##CFE5621.001.4015.0415.04
#FFFFFF1.401.0021.0021.00
#00000015.0421.001.001.00
##00000015.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DA54
Deuteranopia (green-blind)
#F1DB6A
Tritanopia (blue-blind)
#DADAC9
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #cfe562;
/* rgb */ color: rgb(207, 229, 98);
/* oklch */ color: oklch(88.0% 0.157 117.8);
Tailwind
colors: {
  custom: {
    50: '#e0ed93',
    500: '#cfe562',
    950: '#000000',
  },
}
SCSS
$custom: #cfe562;
$custom-light: #e0ed93;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe562",
  "rgb": {
    "r": 207,
    "g": 229,
    "b": 98
  },
  "hsl": {
    "h": 70.076,
    "s": 71.585,
    "l": 64.118
  },
  "oklch": {
    "l": 0.87996,
    "c": 0.15743,
    "h": 117.8
  },
  "luminance": 0.70186
}

Semantic roles & 50–950 ramp

primary
#CFE562
secondary
#4E3BB1
accent
#12D432
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #CFE562

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

Preview Lab → · Contrast checker → · Palette generator →

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