#CFE957#CFE957

#CFE957 is a very light, vivid yellow-green. Relative luminance 0.722; OKLCH L 88.8% C 0.171 H 118.6°. Best body text is #000000 at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#CFE957
RGBrgb(207, 233, 87)
HSLhsl(71, 77%, 63%)
HSVhsv(71, 63%, 91%)
CMYKcmyk(11.2%, 0%, 62.7%, 8.6%)
CIE-LABlab(88.08, -27.98, 65.80)
CIE-LCHlch(88.08, 71.51, 113.04°)
OKLaboklab(88.76% -0.0819 0.1501)
OKLCHoklch(88.76% 0.171 118.6)
XYZxyz(56.5923, 72.2318, 19.9758)
Luminance0.7223 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE957 #7157E9
analogous
#E9BA57 #CFE957 #86E957
triadic
#CFE957 #57CFE9 #E957CF
tetradic
#CFE957 #57E9BA #7157E9 #E95786
square
#CFE957 #57E9BA #7157E9 #E95786
split-complementary
#CFE957 #5786E9 #BA57E9
monochromatic
#94AF17 #C0E221 #CFE957 #DEF08D #EEF7C3

Accessibility & contrast

On white

1.36
#CFE957 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.45
#CFE957 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE957
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE957#FFFFFF#000000##000000
##CFE9571.001.3615.4515.45
#FFFFFF1.361.0021.0021.00
#00000015.4521.001.001.00
##00000015.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DD44
Deuteranopia (green-blind)
#F4DE61
Tritanopia (blue-blind)
#DADDCB
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #cfe957;
/* rgb */ color: rgb(207, 233, 87);
/* oklch */ color: oklch(88.8% 0.171 118.6);
Tailwind
colors: {
  custom: {
    50: '#e1f08d',
    500: '#cfe957',
    950: '#000000',
  },
}
SCSS
$custom: #cfe957;
$custom-light: #e1f08d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe957",
  "rgb": {
    "r": 207,
    "g": 233,
    "b": 87
  },
  "hsl": {
    "h": 70.685,
    "s": 76.842,
    "l": 62.745
  },
  "oklch": {
    "l": 0.88762,
    "c": 0.17096,
    "h": 118.6
  },
  "luminance": 0.72231
}

Semantic roles & 50–950 ramp

primary
#CFE957
secondary
#4B35AF
accent
#0CD931
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #CFE957

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

Preview Lab → · Contrast checker → · Palette generator →

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