#CFE23E#CFE23E

#CFE23E is a very light, vivid yellow. Relative luminance 0.680; OKLCH L 87.0% C 0.180 H 116.1°. Best body text is #000000 at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#CFE23E
RGBrgb(207, 226, 62)
HSLhsl(67, 74%, 56%)
HSVhsv(67, 73%, 89%)
CMYKcmyk(8.4%, 0%, 72.6%, 11.4%)
CIE-LABlab(86.01, -26.09, 72.93)
CIE-LCHlch(86.01, 77.46, 109.69°)
OKLaboklab(87.05% -0.0789 0.1613)
OKLCHoklch(87.05% 0.18 116.1)
XYZxyz(53.7994, 68.0067, 14.8490)
Luminance0.6801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE23E #513EE2
analogous
#E2A33E #CFE23E #7DE23E
triadic
#CFE23E #3ECFE2 #E23ECF
tetradic
#CFE23E #3EE2A3 #513EE2 #E23E7D
square
#CFE23E #3EE2A3 #513EE2 #E23E7D
split-complementary
#CFE23E #3E7DE2 #A33EE2
monochromatic
#829016 #B2C51E #CFE23E #DCEA73 #E9F2A8

Accessibility & contrast

On white

1.44
#CFE23E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.60
#CFE23E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE23E
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE23E#FFFFFF#000000##000000
##CFE23E1.001.4414.6014.60
#FFFFFF1.441.0021.0021.00
#00000014.6021.001.001.00
##00000014.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D61C
Deuteranopia (green-blind)
#F0D84C
Tritanopia (blue-blind)
#DCD5C3
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #cfe23e;
/* rgb */ color: rgb(207, 226, 62);
/* oklch */ color: oklch(87.0% 0.180 116.1);
Tailwind
colors: {
  custom: {
    50: '#e1eb7f',
    500: '#cfe23e',
    950: '#000000',
  },
}
SCSS
$custom: #cfe23e;
$custom-light: #e1eb7f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe23e",
  "rgb": {
    "r": 207,
    "g": 226,
    "b": 62
  },
  "hsl": {
    "h": 66.951,
    "s": 73.874,
    "l": 56.471
  },
  "oklch": {
    "l": 0.87046,
    "c": 0.17958,
    "h": 116.1
  },
  "luminance": 0.68006
}

Semantic roles & 50–950 ramp

primary
#CFE23E
secondary
#3B2F95
accent
#37F14D
background
#FEFEFB
surface
#FDFDF2
border
#D5D5CC
text
#16160B
muted
#84847E

Preview Lab

Preview with #CFE23E

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

Preview Lab → · Contrast checker → · Palette generator →

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