#CFE457#CFE457

#CFE457 is a very light, vivid yellow. Relative luminance 0.694; OKLCH L 87.7% C 0.165 H 117.1°. Best body text is #000000 at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#CFE457
RGBrgb(207, 228, 87)
HSLhsl(69, 72%, 62%)
HSVhsv(69, 62%, 89%)
CMYKcmyk(9.2%, 0%, 61.8%, 10.6%)
CIE-LABlab(86.72, -25.61, 64.35)
CIE-LCHlch(86.72, 69.26, 111.70°)
OKLaboklab(87.67% -0.0753 0.147)
OKLCHoklch(87.67% 0.165 117.1)
XYZxyz(55.1969, 69.4409, 19.5106)
Luminance0.6944 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE457 #6C57E4
analogous
#E4B357 #CFE457 #89E457
triadic
#CFE457 #57CFE4 #E457CF
tetradic
#CFE457 #57E4B3 #6C57E4 #E45789
square
#CFE457 #57E4B3 #6C57E4 #E45789
split-complementary
#CFE457 #5789E4 #B357E4
monochromatic
#91A61B #BFDB23 #CFE457 #DEEC8C #EDF5C0

Accessibility & contrast

On white

1.41
#CFE457 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.89
#CFE457 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE457
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE457#FFFFFF#000000##000000
##CFE4571.001.4114.8914.89
#FFFFFF1.411.0021.0021.00
#00000014.8921.001.001.00
##00000014.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3D946
Deuteranopia (green-blind)
#F0DA61
Tritanopia (blue-blind)
#DBD8C7
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #cfe457;
/* rgb */ color: rgb(207, 228, 87);
/* oklch */ color: oklch(87.7% 0.165 117.1);
Tailwind
colors: {
  custom: {
    50: '#e1ec8c',
    500: '#cfe457',
    950: '#000000',
  },
}
SCSS
$custom: #cfe457;
$custom-light: #e1ec8c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe457",
  "rgb": {
    "r": 207,
    "g": 228,
    "b": 87
  },
  "hsl": {
    "h": 68.936,
    "s": 72.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.87671,
    "c": 0.16515,
    "h": 117.1
  },
  "luminance": 0.6944
}

Semantic roles & 50–950 ramp

primary
#CFE457
secondary
#4837A8
accent
#11D42E
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #CFE457

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

Preview Lab → · Contrast checker → · Palette generator →

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