#CFE57F#CFE57F

#CFE57F is a very light, vivid yellow-green. Relative luminance 0.708; OKLCH L 88.4% C 0.130 H 119.1°. Best body text is #000000 at 15.17:1 contrast (WCAG AA passes).

Color values

HEX#CFE57F
RGBrgb(207, 229, 127)
HSLhsl(73, 66%, 70%)
HSVhsv(73, 45%, 90%)
CMYKcmyk(9.6%, 0%, 44.5%, 10.2%)
CIE-LABlab(87.41, -22.64, 47.12)
CIE-LCHlch(87.41, 52.27, 115.66°)
OKLaboklab(88.35% -0.0632 0.1135)
OKLCHoklch(88.35% 0.13 119.1)
XYZxyz(57.5825, 70.8366, 30.7139)
Luminance0.7084 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE57F #957FE5
analogous
#E5C87F #CFE57F #9CE57F
triadic
#CFE57F #7FCFE5 #E57FCF
tetradic
#CFE57F #7FE5C8 #957FE5 #E57F9C
square
#CFE57F #7FE5C8 #957FE5 #E57F9C
split-complementary
#CFE57F #7F9CE5 #C87FE5
monochromatic
#A1C227 #BCDB4C #CFE57F #E2EFB2 #F5FAE5

Accessibility & contrast

On white

1.38
#CFE57F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.17
#CFE57F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE57F
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE57F#FFFFFF#000000##000000
##CFE57F1.001.3815.1715.17
#FFFFFF1.381.0021.0021.00
#00000015.1721.001.001.00
##00000015.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DB77
Deuteranopia (green-blind)
#EEDB84
Tritanopia (blue-blind)
#D8DBCD
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #cfe57f;
/* rgb */ color: rgb(207, 229, 127);
/* oklch */ color: oklch(88.4% 0.130 119.1);
Tailwind
colors: {
  custom: {
    50: '#dfeda6',
    500: '#cfe57f',
    950: '#000000',
  },
}
SCSS
$custom: #cfe57f;
$custom-light: #dfeda6;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe57f",
  "rgb": {
    "r": 207,
    "g": 229,
    "b": 127
  },
  "hsl": {
    "h": 72.941,
    "s": 66.234,
    "l": 69.804
  },
  "oklch": {
    "l": 0.88353,
    "c": 0.12992,
    "h": 119.1
  },
  "luminance": 0.70836
}

Semantic roles & 50–950 ramp

primary
#CFE57F
secondary
#644BBD
accent
#17CE3F
background
#FEFEFC
surface
#FCFDF6
border
#D5D5D0
text
#15160F
muted
#848480

Preview Lab

Preview with #CFE57F

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

Preview Lab → · Contrast checker → · Palette generator →

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