#CFEB97#CFEB97

#CFEB97 is a very light, moderate yellow-green. Relative luminance 0.749; OKLCH L 90.0% C 0.112 H 123.6°. Best body text is #000000 at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#CFEB97
RGBrgb(207, 235, 151)
HSLhsl(80, 68%, 76%)
HSVhsv(80, 36%, 92%)
CMYKcmyk(11.9%, 0%, 35.7%, 7.8%)
CIE-LABlab(89.35, -22.76, 37.79)
CIE-LCHlch(89.35, 44.12, 121.06°)
OKLaboklab(90.02% -0.0621 0.0934)
OKLCHoklch(90.02% 0.112 123.6)
XYZxyz(61.0260, 74.9162, 40.5174)
Luminance0.7492 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFEB97 #B397EB
analogous
#EBDD97 #CFEB97 #A5EB97
triadic
#CFEB97 #97CFEB #EB97CF
tetradic
#CFEB97 #97EBDD #B397EB #EB97A5
square
#CFEB97 #97EBDD #B397EB #EB97A5
split-complementary
#CFEB97 #97A5EB #DD97EB
monochromatic
#A0D730 #B7E164 #CFEB97 #E7F5CA #F3FAE5

Accessibility & contrast

On white

1.31
#CFEB97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.98
#CFEB97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFEB97
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFEB97#FFFFFF#000000##000000
##CFEB971.001.3115.9815.98
#FFFFFF1.311.0021.0021.00
#00000015.9821.001.001.00
##00000015.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4E191
Deuteranopia (green-blind)
#F0E09B
Tritanopia (blue-blind)
#D5E3D6
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #cfeb97;
/* rgb */ color: rgb(207, 235, 151);
/* oklch */ color: oklch(90.0% 0.112 123.6);
Tailwind
colors: {
  custom: {
    50: '#def1b6',
    500: '#cfeb97',
    950: '#000000',
  },
}
SCSS
$custom: #cfeb97;
$custom-light: #def1b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cfeb97",
  "rgb": {
    "r": 207,
    "g": 235,
    "b": 151
  },
  "hsl": {
    "h": 80,
    "s": 67.742,
    "l": 75.686
  },
  "oklch": {
    "l": 0.90021,
    "c": 0.11213,
    "h": 123.6
  },
  "luminance": 0.74916
}

Semantic roles & 50–950 ramp

primary
#CFEB97
secondary
#8260C6
accent
#16D054
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151611
muted
#848581

Preview Lab

Preview with #CFEB97

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

Preview Lab → · Contrast checker → · Palette generator →

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