#CFE057#CFE057

#CFE057 is a very light, vivid yellow. Relative luminance 0.673; OKLCH L 86.8% C 0.161 H 115.8°. Best body text is #000000 at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#CFE057
RGBrgb(207, 224, 87)
HSLhsl(67, 69%, 61%)
HSVhsv(67, 61%, 88%)
CMYKcmyk(7.6%, 0%, 61.2%, 12.2%)
CIE-LABlab(85.64, -23.70, 63.19)
CIE-LCHlch(85.64, 67.48, 110.56°)
OKLaboklab(86.8% -0.0699 0.1445)
OKLCHoklch(86.8% 0.161 115.8)
XYZxyz(54.1092, 67.2656, 19.1481)
Luminance0.6726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE057 #6857E0
analogous
#E0AC57 #CFE057 #8AE057
triadic
#CFE057 #57CFE0 #E057CF
tetradic
#CFE057 #57E0AC #6857E0 #E0578A
square
#CFE057 #57E0AC #6857E0 #E0578A
split-complementary
#CFE057 #578AE0 #AC57E0
monochromatic
#8F9F1D #BED327 #CFE057 #DEEA8B #EDF3BE

Accessibility & contrast

On white

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

On black

14.45
#CFE057 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE057
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE057#FFFFFF#000000##000000
##CFE0571.001.4514.4514.45
#FFFFFF1.451.0021.0021.00
#00000014.4521.001.001.00
##00000014.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfe057;
/* rgb */ color: rgb(207, 224, 87);
/* oklch */ color: oklch(86.8% 0.161 115.8);
Tailwind
colors: {
  custom: {
    50: '#e0e98c',
    500: '#cfe057',
    950: '#000000',
  },
}
SCSS
$custom: #cfe057;
$custom-light: #e0e98c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe057",
  "rgb": {
    "r": 207,
    "g": 224,
    "b": 87
  },
  "hsl": {
    "h": 67.445,
    "s": 68.844,
    "l": 60.98
  },
  "oklch": {
    "l": 0.86802,
    "c": 0.16055,
    "h": 115.8
  },
  "luminance": 0.67265
}

Semantic roles & 50–950 ramp

primary
#CFE057
secondary
#4639A2
accent
#15D12C
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #CFE057

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

Preview Lab → · Contrast checker → · Palette generator →

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