#CFE751#CFE751

#CFE751 is a very light, vivid yellow. Relative luminance 0.710; OKLCH L 88.3% C 0.173 H 117.9°. Best body text is #000000 at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#CFE751
RGBrgb(207, 231, 81)
HSLhsl(70, 76%, 61%)
HSVhsv(70, 65%, 91%)
CMYKcmyk(10.4%, 0%, 64.9%, 9.4%)
CIE-LABlab(87.49, -27.43, 67.56)
CIE-LCHlch(87.49, 72.91, 112.10°)
OKLaboklab(88.27% -0.0809 0.1529)
OKLCHoklch(88.27% 0.173 117.9)
XYZxyz(55.7943, 71.0118, 18.5504)
Luminance0.7101 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE751 #6951E7
analogous
#E7B451 #CFE751 #84E751
triadic
#CFE751 #51CFE7 #E751CF
tetradic
#CFE751 #51E7B4 #6951E7 #E75184
square
#CFE751 #51E7B4 #6951E7 #E75184
split-complementary
#CFE751 #5184E7 #B451E7
monochromatic
#90A717 #BEDC1E #CFE751 #DEEE87 #EDF6BD

Accessibility & contrast

On white

1.38
#CFE751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.20
#CFE751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE751
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE751#FFFFFF#000000##000000
##CFE7511.001.3815.2015.20
#FFFFFF1.381.0021.0021.00
#00000015.2021.001.001.00
##00000015.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DB3C
Deuteranopia (green-blind)
#F3DC5C
Tritanopia (blue-blind)
#DBDBC8
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #cfe751;
/* rgb */ color: rgb(207, 231, 81);
/* oklch */ color: oklch(88.3% 0.173 117.9);
Tailwind
colors: {
  custom: {
    50: '#e1ee89',
    500: '#cfe751',
    950: '#000000',
  },
}
SCSS
$custom: #cfe751;
$custom-light: #e1ee89;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe751",
  "rgb": {
    "r": 207,
    "g": 231,
    "b": 81
  },
  "hsl": {
    "h": 69.6,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.88274,
    "c": 0.17302,
    "h": 117.9
  },
  "luminance": 0.71011
}

Semantic roles & 50–950 ramp

primary
#CFE751
secondary
#4634A8
accent
#0ED82E
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160C
muted
#84857F

Preview Lab

Preview with #CFE751

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

Preview Lab → · Contrast checker → · Palette generator →

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