#CFE051#CFE051

#CFE051 is a very light, vivid yellow. Relative luminance 0.672; OKLCH L 86.7% C 0.165 H 115.7°. Best body text is #000000 at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#CFE051
RGBrgb(207, 224, 81)
HSLhsl(67, 70%, 60%)
HSVhsv(67, 64%, 88%)
CMYKcmyk(7.6%, 0%, 63.8%, 12.2%)
CIE-LABlab(85.59, -24.10, 65.57)
CIE-LCHlch(85.59, 69.86, 110.18°)
OKLaboklab(86.75% -0.0716 0.1488)
OKLCHoklch(86.75% 0.165 115.7)
XYZxyz(53.8742, 67.1716, 17.9103)
Luminance0.6717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE051 #6251E0
analogous
#E0AA51 #CFE051 #87E051
triadic
#CFE051 #51CFE0 #E051CF
tetradic
#CFE051 #51E0AA #6251E0 #E05187
square
#CFE051 #51E0AA #6251E0 #E05187
split-complementary
#CFE051 #5187E0 #AA51E0
monochromatic
#8C9B1C #BBCF25 #CFE051 #DDE985 #ECF3B9

Accessibility & contrast

On white

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

On black

14.43
#CFE051 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE051
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE051#FFFFFF#000000##000000
##CFE0511.001.4514.4314.43
#FFFFFF1.451.0021.0021.00
#00000014.4321.001.001.00
##00000014.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD53E
Deuteranopia (green-blind)
#EED75B
Tritanopia (blue-blind)
#DBD4C3
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #cfe051;
/* rgb */ color: rgb(207, 224, 81);
/* oklch */ color: oklch(86.7% 0.165 115.7);
Tailwind
colors: {
  custom: {
    50: '#e1e989',
    500: '#cfe051',
    950: '#000000',
  },
}
SCSS
$custom: #cfe051;
$custom-light: #e1e989;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe051",
  "rgb": {
    "r": 207,
    "g": 224,
    "b": 81
  },
  "hsl": {
    "h": 67.133,
    "s": 69.756,
    "l": 59.804
  },
  "oklch": {
    "l": 0.86749,
    "c": 0.1651,
    "h": 115.7
  },
  "luminance": 0.67171
}

Semantic roles & 50–950 ramp

primary
#CFE051
secondary
#43379F
accent
#3BED50
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #CFE051

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

Preview Lab → · Contrast checker → · Palette generator →

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