#CFE251#CFE251

#CFE251 is a very light, vivid yellow. Relative luminance 0.683; OKLCH L 87.2% C 0.167 H 116.4°. Best body text is #000000 at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#CFE251
RGBrgb(207, 226, 81)
HSLhsl(68, 71%, 60%)
HSVhsv(68, 64%, 89%)
CMYKcmyk(8.4%, 0%, 64.2%, 11.4%)
CIE-LABlab(86.13, -25.05, 66.14)
CIE-LCHlch(86.13, 70.73, 110.75°)
OKLaboklab(87.18% -0.0743 0.1499)
OKLCHoklch(87.18% 0.167 116.4)
XYZxyz(54.4149, 68.2529, 18.0906)
Luminance0.6825 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE251 #6451E2
analogous
#E2AC51 #CFE251 #86E251
triadic
#CFE251 #51CFE2 #E251CF
tetradic
#CFE251 #51E2AC #6451E2 #E25186
square
#CFE251 #51E2AC #6451E2 #E25186
split-complementary
#CFE251 #5186E2 #AC51E2
monochromatic
#8D9E1A #BCD323 #CFE251 #DDEB85 #ECF3BA

Accessibility & contrast

On white

1.43
#CFE251 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.65
#CFE251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE251
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE251#FFFFFF#000000##000000
##CFE2511.001.4314.6514.65
#FFFFFF1.431.0021.0021.00
#00000014.6521.001.001.00
##00000014.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D73E
Deuteranopia (green-blind)
#EFD85B
Tritanopia (blue-blind)
#DBD6C4
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #cfe251;
/* rgb */ color: rgb(207, 226, 81);
/* oklch */ color: oklch(87.2% 0.167 116.4);
Tailwind
colors: {
  custom: {
    50: '#e1eb89',
    500: '#cfe251',
    950: '#000000',
  },
}
SCSS
$custom: #cfe251;
$custom-light: #e1eb89;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe251",
  "rgb": {
    "r": 207,
    "g": 226,
    "b": 81
  },
  "hsl": {
    "h": 67.862,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.87184,
    "c": 0.16734,
    "h": 116.4
  },
  "luminance": 0.68252
}

Semantic roles & 50–950 ramp

primary
#CFE251
secondary
#4436A1
accent
#12D32B
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #CFE251

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

Preview Lab → · Contrast checker → · Palette generator →

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