#CFE462#CFE462

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

Color values

HEX#CFE462
RGBrgb(207, 228, 98)
HSLhsl(70, 71%, 64%)
HSVhsv(70, 57%, 89%)
CMYKcmyk(9.2%, 0%, 57%, 10.6%)
CIE-LABlab(86.82, -24.81, 59.80)
CIE-LCHlch(86.82, 64.75, 112.53°)
OKLaboklab(87.78% -0.072 0.1387)
OKLCHoklch(87.78% 0.156 117.4)
XYZxyz(55.6810, 69.6346, 22.0604)
Luminance0.6963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE462 #7762E4
analogous
#E4B862 #CFE462 #8EE462
triadic
#CFE462 #62CFE4 #E462CF
tetradic
#CFE462 #62E4B8 #7762E4 #E4628E
square
#CFE462 #62E4B8 #7762E4 #E4628E
split-complementary
#CFE462 #628EE4 #B862E4
monochromatic
#96AE1E #BFDB2E #CFE462 #DFED96 #EFF6CA

Accessibility & contrast

On white

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

On black

14.93
#CFE462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE462
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE462#FFFFFF#000000##000000
##CFE4621.001.4114.9314.93
#FFFFFF1.411.0021.0021.00
#00000014.9321.001.001.00
##00000014.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfe462;
/* rgb */ color: rgb(207, 228, 98);
/* oklch */ color: oklch(87.8% 0.156 117.4);
Tailwind
colors: {
  custom: {
    50: '#e0ec93',
    500: '#cfe462',
    950: '#000000',
  },
}
SCSS
$custom: #cfe462;
$custom-light: #e0ec93;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe462",
  "rgb": {
    "r": 207,
    "g": 228,
    "b": 98
  },
  "hsl": {
    "h": 69.692,
    "s": 70.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.87779,
    "c": 0.15623,
    "h": 117.4
  },
  "luminance": 0.69634
}

Semantic roles & 50–950 ramp

primary
#CFE462
secondary
#4E3BAF
accent
#13D332
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #CFE462

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

Preview Lab → · Contrast checker → · Palette generator →

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