#CFE460#CFE460

#CFE460 is a very light, vivid yellow. Relative luminance 0.696; OKLCH L 87.8% C 0.158 H 117.4°. Best body text is #000000 at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#CFE460
RGBrgb(207, 228, 96)
HSLhsl(70, 71%, 64%)
HSVhsv(70, 58%, 89%)
CMYKcmyk(9.2%, 0%, 57.9%, 10.6%)
CIE-LABlab(86.80, -24.96, 60.65)
CIE-LCHlch(86.80, 65.59, 112.37°)
OKLaboklab(87.76% -0.0726 0.1403)
OKLCHoklch(87.76% 0.158 117.4)
XYZxyz(55.5878, 69.5973, 21.5693)
Luminance0.6960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE460 #7560E4
analogous
#E4B760 #CFE460 #8DE460
triadic
#CFE460 #60CFE4 #E460CF
tetradic
#CFE460 #60E4B7 #7560E4 #E4608D
square
#CFE460 #60E4B7 #7560E4 #E4608D
split-complementary
#CFE460 #608DE4 #B760E4
monochromatic
#96AC1D #BFDB2C #CFE460 #DFED94 #EFF6C9

Accessibility & contrast

On white

1.41
#CFE460 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.92
#CFE460 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE460
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE460#FFFFFF#000000##000000
##CFE4601.001.4114.9214.92
#FFFFFF1.411.0021.0021.00
#00000014.9221.001.001.00
##00000014.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D951
Deuteranopia (green-blind)
#F0DA68
Tritanopia (blue-blind)
#DAD9C8
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #cfe460;
/* rgb */ color: rgb(207, 228, 96);
/* oklch */ color: oklch(87.8% 0.158 117.4);
Tailwind
colors: {
  custom: {
    50: '#e0ec92',
    500: '#cfe460',
    950: '#000000',
  },
}
SCSS
$custom: #cfe460;
$custom-light: #e0ec92;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe460",
  "rgb": {
    "r": 207,
    "g": 228,
    "b": 96
  },
  "hsl": {
    "h": 69.545,
    "s": 70.968,
    "l": 63.529
  },
  "oklch": {
    "l": 0.87758,
    "c": 0.15792,
    "h": 117.4
  },
  "luminance": 0.69597
}

Semantic roles & 50–950 ramp

primary
#CFE460
secondary
#4D3AAE
accent
#13D331
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #CFE460

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

Preview Lab → · Contrast checker → · Palette generator →

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