#CFE397#CFE397

#CFE397 is a very light, moderate yellow-green. Relative luminance 0.704; OKLCH L 88.3% C 0.101 H 120.5°. Best body text is #000000 at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#CFE397
RGBrgb(207, 227, 151)
HSLhsl(76, 58%, 74%)
HSVhsv(76, 33%, 89%)
CMYKcmyk(8.8%, 0%, 33.5%, 11%)
CIE-LABlab(87.21, -18.87, 34.98)
CIE-LCHlch(87.21, 39.75, 118.34°)
OKLaboklab(88.31% -0.0511 0.0868)
OKLCHoklch(88.31% 0.101 120.5)
XYZxyz(58.7869, 70.4380, 39.7711)
Luminance0.7044 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE397 #AB97E3
analogous
#E3D197 #CFE397 #A9E397
triadic
#CFE397 #97CFE3 #E397CF
tetradic
#CFE397 #97E3D1 #AB97E3 #E397A9
square
#CFE397 #97E3D1 #AB97E3 #E397A9
split-complementary
#CFE397 #97A9E3 #D197E3
monochromatic
#A2C937 #B9D667 #CFE397 #E5F0C7 #F4F9E7

Accessibility & contrast

On white

1.39
#CFE397 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.09
#CFE397 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE397
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE397#FFFFFF#000000##000000
##CFE3971.001.3915.0915.09
#FFFFFF1.391.0021.0021.00
#00000015.0921.001.001.00
##00000015.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECDB92
Deuteranopia (green-blind)
#EADB9A
Tritanopia (blue-blind)
#D6DBD0
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #cfe397;
/* rgb */ color: rgb(207, 227, 151);
/* oklch */ color: oklch(88.3% 0.101 120.5);
Tailwind
colors: {
  custom: {
    50: '#deebb6',
    500: '#cfe397',
    950: '#000000',
  },
}
SCSS
$custom: #cfe397;
$custom-light: #deebb6;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe397",
  "rgb": {
    "r": 207,
    "g": 227,
    "b": 151
  },
  "hsl": {
    "h": 75.789,
    "s": 57.576,
    "l": 74.118
  },
  "oklch": {
    "l": 0.88309,
    "c": 0.10075,
    "h": 120.5
  },
  "luminance": 0.70438
}

Semantic roles & 50–950 ramp

primary
#CFE397
secondary
#7A62BC
accent
#20C54C
background
#FEFEFD
surface
#FCFDF8
border
#D5D5D1
text
#151611
muted
#848481

Preview Lab

Preview with #CFE397

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

Preview Lab → · Contrast checker → · Palette generator →

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