#CFE951#CFE951

#CFE951 is a very light, vivid yellow-green. Relative luminance 0.721; OKLCH L 88.7% C 0.175 H 118.5°. Best body text is #000000 at 15.43:1 contrast (WCAG AA passes).

Color values

HEX#CFE951
RGBrgb(207, 233, 81)
HSLhsl(70, 78%, 62%)
HSVhsv(70, 65%, 91%)
CMYKcmyk(11.2%, 0%, 65.2%, 8.6%)
CIE-LABlab(88.03, -28.37, 68.12)
CIE-LCHlch(88.03, 73.80, 112.61°)
OKLaboklab(88.71% -0.0835 0.1541)
OKLCHoklch(88.71% 0.175 118.5)
XYZxyz(56.3573, 72.1378, 18.7380)
Luminance0.7214 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE951 #6B51E9
analogous
#E9B751 #CFE951 #83E951
triadic
#CFE951 #51CFE9 #E951CF
tetradic
#CFE951 #51E9B7 #6B51E9 #E95183
square
#CFE951 #51E9B7 #6B51E9 #E95183
split-complementary
#CFE951 #5183E9 #B751E9
monochromatic
#91AA16 #BFE01C #CFE951 #DEF087 #EDF7BE

Accessibility & contrast

On white

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

On black

15.43
#CFE951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE951
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE951#FFFFFF#000000##000000
##CFE9511.001.3615.4315.43
#FFFFFF1.361.0021.0021.00
#00000015.4321.001.001.00
##00000015.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DD3C
Deuteranopia (green-blind)
#F5DD5C
Tritanopia (blue-blind)
#DBDDCA
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #cfe951;
/* rgb */ color: rgb(207, 233, 81);
/* oklch */ color: oklch(88.7% 0.175 118.5);
Tailwind
colors: {
  custom: {
    50: '#e1f089',
    500: '#cfe951',
    950: '#000000',
  },
}
SCSS
$custom: #cfe951;
$custom-light: #e1f089;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe951",
  "rgb": {
    "r": 207,
    "g": 233,
    "b": 81
  },
  "hsl": {
    "h": 70.263,
    "s": 77.551,
    "l": 61.569
  },
  "oklch": {
    "l": 0.88711,
    "c": 0.17531,
    "h": 118.5
  },
  "luminance": 0.72137
}

Semantic roles & 50–950 ramp

primary
#CFE951
secondary
#4733AB
accent
#0CDA2F
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160C
muted
#84857F

Preview Lab

Preview with #CFE951

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

Preview Lab → · Contrast checker → · Palette generator →

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