#CFED40#CFED40

#CFED40 is a very light, vivid yellow-green. Relative luminance 0.742; OKLCH L 89.5% C 0.190 H 119.2°. Best body text is #000000 at 15.84:1 contrast (WCAG AA passes).

Color values

HEX#CFED40
RGBrgb(207, 237, 64)
HSLhsl(70, 83%, 59%)
HSVhsv(70, 73%, 93%)
CMYKcmyk(12.7%, 0%, 73%, 7.1%)
CIE-LABlab(89.02, -31.16, 75.15)
CIE-LCHlch(89.02, 81.35, 112.52°)
OKLaboklab(89.47% -0.0928 0.1663)
OKLCHoklch(89.47% 0.19 119.2)
XYZxyz(56.9429, 74.2043, 16.1726)
Luminance0.7420 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFED40 #5E40ED
analogous
#EDB540 #CFED40 #79ED40
triadic
#CFED40 #40CFED #ED40CF
tetradic
#CFED40 #40EDB5 #5E40ED #ED4079
square
#CFED40 #40EDB5 #5E40ED #ED4079
split-complementary
#CFED40 #4079ED #B540ED
monochromatic
#8AA30F #B9DB15 #CFED40 #DDF278 #EBF8B0

Accessibility & contrast

On white

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

On black

15.84
#CFED40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFED40
15.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFED40#FFFFFF#000000##000000
##CFED401.001.3315.8415.84
#FFFFFF1.331.0021.0021.00
#00000015.8421.001.001.00
##00000015.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE01B
Deuteranopia (green-blind)
#F9E04F
Tritanopia (blue-blind)
#DBE0CC
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #cfed40;
/* rgb */ color: rgb(207, 237, 64);
/* oklch */ color: oklch(89.5% 0.190 119.2);
Tailwind
colors: {
  custom: {
    50: '#e2f281',
    500: '#cfed40',
    950: '#000000',
  },
}
SCSS
$custom: #cfed40;
$custom-light: #e2f281;
$custom-dark: #000000;
JSON
{
  "hex": "#cfed40",
  "rgb": {
    "r": 207,
    "g": 237,
    "b": 64
  },
  "hsl": {
    "h": 70.405,
    "s": 82.775,
    "l": 59.02
  },
  "oklch": {
    "l": 0.89469,
    "c": 0.19043,
    "h": 119.2
  },
  "luminance": 0.74204
}

Semantic roles & 50–950 ramp

primary
#CFED40
secondary
#412CA5
accent
#2FF952
background
#FEFFFB
surface
#FDFEF2
border
#D5D6CC
text
#16170B
muted
#84857E

Preview Lab

Preview with #CFED40

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

Preview Lab → · Contrast checker → · Palette generator →

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