#CFE851#CFE851

#CFE851 is a very light, vivid yellow. Relative luminance 0.716; OKLCH L 88.5% C 0.174 H 118.2°. Best body text is #000000 at 15.31:1 contrast (WCAG AA passes).

Color values

HEX#CFE851
RGBrgb(207, 232, 81)
HSLhsl(70, 77%, 61%)
HSVhsv(70, 65%, 91%)
CMYKcmyk(10.8%, 0%, 65.1%, 9%)
CIE-LABlab(87.76, -27.90, 67.84)
CIE-LCHlch(87.76, 73.35, 112.35°)
OKLaboklab(88.49% -0.0822 0.1535)
OKLCHoklch(88.49% 0.174 118.2)
XYZxyz(56.0750, 71.5732, 18.6439)
Luminance0.7157 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE851 #6A51E8
analogous
#E8B651 #CFE851 #84E851
triadic
#CFE851 #51CFE8 #E851CF
tetradic
#CFE851 #51E8B6 #6A51E8 #E85184
square
#CFE851 #51E8B6 #6A51E8 #E85184
split-complementary
#CFE851 #5184E8 #B651E8
monochromatic
#90A816 #BEDE1D #CFE851 #DEEF87 #EDF6BD

Accessibility & contrast

On white

1.37
#CFE851 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.31
#CFE851 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE851
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE851#FFFFFF#000000##000000
##CFE8511.001.3715.3115.31
#FFFFFF1.371.0021.0021.00
#00000015.3121.001.001.00
##00000015.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DC3C
Deuteranopia (green-blind)
#F4DD5C
Tritanopia (blue-blind)
#DBDCC9
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #cfe851;
/* rgb */ color: rgb(207, 232, 81);
/* oklch */ color: oklch(88.5% 0.174 118.2);
Tailwind
colors: {
  custom: {
    50: '#e1ef89',
    500: '#cfe851',
    950: '#000000',
  },
}
SCSS
$custom: #cfe851;
$custom-light: #e1ef89;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe851",
  "rgb": {
    "r": 207,
    "g": 232,
    "b": 81
  },
  "hsl": {
    "h": 69.934,
    "s": 76.65,
    "l": 61.373
  },
  "oklch": {
    "l": 0.88493,
    "c": 0.17417,
    "h": 118.2
  },
  "luminance": 0.71573
}

Semantic roles & 50–950 ramp

primary
#CFE851
secondary
#4733AA
accent
#0DD92E
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160C
muted
#84857F

Preview Lab

Preview with #CFE851

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

Preview Lab → · Contrast checker → · Palette generator →

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