#CFE062#CFE062

#CFE062 is a very light, vivid yellow. Relative luminance 0.675; OKLCH L 86.9% C 0.151 H 116.1°. Best body text is #000000 at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#CFE062
RGBrgb(207, 224, 98)
HSLhsl(68, 67%, 63%)
HSVhsv(68, 56%, 88%)
CMYKcmyk(7.6%, 0%, 56.3%, 12.2%)
CIE-LABlab(85.74, -22.89, 58.59)
CIE-LCHlch(85.74, 62.90, 111.34°)
OKLaboklab(86.91% -0.0666 0.1361)
OKLCHoklch(86.91% 0.151 116.1)
XYZxyz(54.5934, 67.4592, 21.6979)
Luminance0.6746 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE062 #7362E0
analogous
#E0B262 #CFE062 #90E062
triadic
#CFE062 #62CFE0 #E062CF
tetradic
#CFE062 #62E0B2 #7362E0 #E06290
square
#CFE062 #62E0B2 #7362E0 #E06290
split-complementary
#CFE062 #6290E0 #B262E0
monochromatic
#95A721 #BFD62F #CFE062 #DFEA95 #EEF4C8

Accessibility & contrast

On white

1.45
#CFE062 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.49
#CFE062 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE062
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE062#FFFFFF#000000##000000
##CFE0621.001.4514.4914.49
#FFFFFF1.451.0021.0021.00
#00000014.4921.001.001.00
##00000014.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED655
Deuteranopia (green-blind)
#EDD76A
Tritanopia (blue-blind)
#DAD5C5
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #cfe062;
/* rgb */ color: rgb(207, 224, 98);
/* oklch */ color: oklch(86.9% 0.151 116.1);
Tailwind
colors: {
  custom: {
    50: '#e0e993',
    500: '#cfe062',
    950: '#000000',
  },
}
SCSS
$custom: #cfe062;
$custom-light: #e0e993;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe062",
  "rgb": {
    "r": 207,
    "g": 224,
    "b": 98
  },
  "hsl": {
    "h": 68.095,
    "s": 67.021,
    "l": 63.137
  },
  "oklch": {
    "l": 0.86911,
    "c": 0.15147,
    "h": 116.1
  },
  "luminance": 0.67459
}

Semantic roles & 50–950 ramp

primary
#CFE062
secondary
#4C3DA9
accent
#17CF2F
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #CFE062

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

Preview Lab → · Contrast checker → · Palette generator →

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