#CFE989#CFE989

#CFE989 is a very light, vivid yellow-green. Relative luminance 0.733; OKLCH L 89.4% C 0.125 H 121.4°. Best body text is #000000 at 15.67:1 contrast (WCAG AA passes).

Color values

HEX#CFE989
RGBrgb(207, 233, 137)
HSLhsl(76, 69%, 73%)
HSVhsv(76, 41%, 91%)
CMYKcmyk(11.2%, 0%, 41.2%, 8.6%)
CIE-LABlab(88.61, -23.47, 43.77)
CIE-LCHlch(88.61, 49.67, 118.20°)
OKLaboklab(89.36% -0.0649 0.1065)
OKLCHoklch(89.36% 0.125 121.4)
XYZxyz(59.3864, 73.3494, 34.6913)
Luminance0.7335 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE989 #A389E9
analogous
#E9D389 #CFE989 #9FE989
triadic
#CFE989 #89CFE9 #E989CF
tetradic
#CFE989 #89E9D3 #A389E9 #E9899F
square
#CFE989 #89E9D3 #A389E9 #E9899F
split-complementary
#CFE989 #899FE9 #D389E9
monochromatic
#A3D127 #BADF55 #CFE989 #E4F3BD #F5FAE5

Accessibility & contrast

On white

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

On black

15.67
#CFE989 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE989
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE989#FFFFFF#000000##000000
##CFE9891.001.3415.6715.67
#FFFFFF1.341.0021.0021.00
#00000015.6721.001.001.00
##00000015.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DF82
Deuteranopia (green-blind)
#F0DF8E
Tritanopia (blue-blind)
#D7E0D2
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #cfe989;
/* rgb */ color: rgb(207, 233, 137);
/* oklch */ color: oklch(89.4% 0.125 121.4);
Tailwind
colors: {
  custom: {
    50: '#dff0ad',
    500: '#cfe989',
    950: '#000000',
  },
}
SCSS
$custom: #cfe989;
$custom-light: #dff0ad;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe989",
  "rgb": {
    "r": 207,
    "g": 233,
    "b": 137
  },
  "hsl": {
    "h": 76.25,
    "s": 68.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.89363,
    "c": 0.12472,
    "h": 121.4
  },
  "luminance": 0.73349
}

Semantic roles & 50–950 ramp

primary
#CFE989
secondary
#7253C3
accent
#15D148
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151610
muted
#848581

Preview Lab

Preview with #CFE989

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

Preview Lab → · Contrast checker → · Palette generator →

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