#CFE37C#CFE37C

#CFE37C is a very light, vivid yellow-green. Relative luminance 0.697; OKLCH L 87.9% C 0.130 H 118.2°. Best body text is #000000 at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#CFE37C
RGBrgb(207, 227, 124)
HSLhsl(72, 65%, 69%)
HSVhsv(72, 45%, 89%)
CMYKcmyk(8.8%, 0%, 45.4%, 11%)
CIE-LABlab(86.83, -21.98, 47.85)
CIE-LCHlch(86.83, 52.66, 114.67°)
OKLaboklab(87.88% -0.0616 0.1149)
OKLCHoklch(87.88% 0.13 118.2)
XYZxyz(56.8397, 69.6592, 29.5161)
Luminance0.6966 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE37C #907CE3
analogous
#E3C47C #CFE37C #9CE37C
triadic
#CFE37C #7CCFE3 #E37CCF
tetradic
#CFE37C #7CE3C4 #907CE3 #E37C9C
square
#CFE37C #7CE3C4 #907CE3 #E37C9C
split-complementary
#CFE37C #7C9CE3 #C47CE3
monochromatic
#A0BC28 #BDD84A #CFE37C #E1EEAE #F4F9E1

Accessibility & contrast

On white

1.41
#CFE37C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.93
#CFE37C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE37C
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE37C#FFFFFF#000000##000000
##CFE37C1.001.4114.9314.93
#FFFFFF1.411.0021.0021.00
#00000014.9321.001.001.00
##00000014.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD973
Deuteranopia (green-blind)
#EDDA81
Tritanopia (blue-blind)
#D8D9CB
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #cfe37c;
/* rgb */ color: rgb(207, 227, 124);
/* oklch */ color: oklch(87.9% 0.130 118.2);
Tailwind
colors: {
  custom: {
    50: '#dfeba4',
    500: '#cfe37c',
    950: '#000000',
  },
}
SCSS
$custom: #cfe37c;
$custom-light: #dfeba4;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe37c",
  "rgb": {
    "r": 207,
    "g": 227,
    "b": 124
  },
  "hsl": {
    "h": 71.65,
    "s": 64.78,
    "l": 68.824
  },
  "oklch": {
    "l": 0.8788,
    "c": 0.13042,
    "h": 118.2
  },
  "luminance": 0.69659
}

Semantic roles & 50–950 ramp

primary
#CFE37C
secondary
#5F49BA
accent
#19CD3C
background
#FEFEFC
surface
#FCFDF6
border
#D5D5D0
text
#15160F
muted
#848480

Preview Lab

Preview with #CFE37C

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

Preview Lab → · Contrast checker → · Palette generator →

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