#CFE981#CFE981

#CFE981 is a very light, vivid yellow-green. Relative luminance 0.731; OKLCH L 89.2% C 0.133 H 120.7°. Best body text is #000000 at 15.63:1 contrast (WCAG AA passes).

Color values

HEX#CFE981
RGBrgb(207, 233, 129)
HSLhsl(75, 70%, 71%)
HSVhsv(75, 45%, 91%)
CMYKcmyk(11.2%, 0%, 44.6%, 8.6%)
CIE-LABlab(88.51, -24.35, 47.52)
CIE-LCHlch(88.51, 53.40, 117.13°)
OKLaboklab(89.24% -0.0679 0.1145)
OKLCHoklch(89.24% 0.133 120.7)
XYZxyz(58.8337, 73.1283, 31.7803)
Luminance0.7313 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE981 #9B81E9
analogous
#E9CF81 #CFE981 #9BE981
triadic
#CFE981 #81CFE9 #E981CF
tetradic
#CFE981 #81E9CF #9B81E9 #E9819B
square
#CFE981 #81E9CF #9B81E9 #E9819B
split-complementary
#CFE981 #819BE9 #CF81E9
monochromatic
#A2CC24 #BBE04D #CFE981 #E3F2B5 #F5FAE5

Accessibility & contrast

On white

1.34
#CFE981 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.63
#CFE981 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE981
15.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE981#FFFFFF#000000##000000
##CFE9811.001.3415.6315.63
#FFFFFF1.341.0021.0021.00
#00000015.6321.001.001.00
##00000015.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DE78
Deuteranopia (green-blind)
#F1DE86
Tritanopia (blue-blind)
#D7E0D0
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #cfe981;
/* rgb */ color: rgb(207, 233, 129);
/* oklch */ color: oklch(89.2% 0.133 120.7);
Tailwind
colors: {
  custom: {
    50: '#dff0a7',
    500: '#cfe981',
    950: '#000000',
  },
}
SCSS
$custom: #cfe981;
$custom-light: #dff0a7;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe981",
  "rgb": {
    "r": 207,
    "g": 233,
    "b": 129
  },
  "hsl": {
    "h": 75,
    "s": 70.27,
    "l": 70.98
  },
  "oklch": {
    "l": 0.89245,
    "c": 0.13314,
    "h": 120.7
  },
  "luminance": 0.73128
}

Semantic roles & 50–950 ramp

primary
#CFE981
secondary
#6A4CC2
accent
#13D243
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#151610
muted
#848580

Preview Lab

Preview with #CFE981

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

Preview Lab → · Contrast checker → · Palette generator →

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