#CFE956#CFE956

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

Color values

HEX#CFE956
RGBrgb(207, 233, 86)
HSLhsl(71, 77%, 63%)
HSVhsv(71, 63%, 91%)
CMYKcmyk(11.2%, 0%, 63.1%, 8.6%)
CIE-LABlab(88.07, -28.05, 66.20)
CIE-LCHlch(88.07, 71.90, 112.96°)
OKLaboklab(88.75% -0.0822 0.1508)
OKLCHoklch(88.75% 0.172 118.6)
XYZxyz(56.5517, 72.2155, 19.7621)
Luminance0.7221 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE956 #7056E9
analogous
#E9B956 #CFE956 #86E956
triadic
#CFE956 #56CFE9 #E956CF
tetradic
#CFE956 #56E9B9 #7056E9 #E95686
square
#CFE956 #56E9B9 #7056E9 #E95686
split-complementary
#CFE956 #5686E9 #B956E9
monochromatic
#93AE17 #C0E220 #CFE956 #DEF08C #EEF7C2

Accessibility & contrast

On white

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

On black

15.44
#CFE956 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE956
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE956#FFFFFF#000000##000000
##CFE9561.001.3615.4415.44
#FFFFFF1.361.0021.0021.00
#00000015.4421.001.001.00
##00000015.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfe956;
/* rgb */ color: rgb(207, 233, 86);
/* oklch */ color: oklch(88.8% 0.172 118.6);
Tailwind
colors: {
  custom: {
    50: '#e1f08c',
    500: '#cfe956',
    950: '#000000',
  },
}
SCSS
$custom: #cfe956;
$custom-light: #e1f08c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe956",
  "rgb": {
    "r": 207,
    "g": 233,
    "b": 86
  },
  "hsl": {
    "h": 70.612,
    "s": 76.963,
    "l": 62.549
  },
  "oklch": {
    "l": 0.88753,
    "c": 0.1717,
    "h": 118.6
  },
  "luminance": 0.72215
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFE956

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

Preview Lab → · Contrast checker → · Palette generator →

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