#CFEB7D#CFEB7D

#CFEB7D is a very light, vivid yellow-green. Relative luminance 0.742; OKLCH L 89.6% C 0.140 H 121.0°. Best body text is #000000 at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#CFEB7D
RGBrgb(207, 235, 125)
HSLhsl(75, 73%, 71%)
HSVhsv(75, 47%, 92%)
CMYKcmyk(11.9%, 0%, 46.8%, 7.8%)
CIE-LABlab(89.00, -25.72, 50.03)
CIE-LCHlch(89.00, 56.26, 117.20°)
OKLaboklab(89.62% -0.0721 0.1198)
OKLCHoklch(89.62% 0.14 121)
XYZxyz(59.1424, 74.1628, 30.5972)
Luminance0.7416 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFEB7D #997DEB
analogous
#EBD07D #CFEB7D #98EB7D
triadic
#CFEB7D #7DCFEB #EB7DCF
tetradic
#CFEB7D #7DEBD0 #997DEB #EB7D98
square
#CFEB7D #7DEBD0 #997DEB #EB7D98
split-complementary
#CFEB7D #7D98EB #D07DEB
monochromatic
#A2CE20 #BBE348 #CFEB7D #E3F3B2 #F5FBE4

Accessibility & contrast

On white

1.33
#CFEB7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.83
#CFEB7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFEB7D
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFEB7D#FFFFFF#000000##000000
##CFEB7D1.001.3315.8315.83
#FFFFFF1.331.0021.0021.00
#00000015.8321.001.001.00
##00000015.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E074
Deuteranopia (green-blind)
#F3E083
Tritanopia (blue-blind)
#D7E1D1
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #cfeb7d;
/* rgb */ color: rgb(207, 235, 125);
/* oklch */ color: oklch(89.6% 0.140 121.0);
Tailwind
colors: {
  custom: {
    50: '#dff1a5',
    500: '#cfeb7d',
    950: '#000000',
  },
}
SCSS
$custom: #cfeb7d;
$custom-light: #dff1a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cfeb7d",
  "rgb": {
    "r": 207,
    "g": 235,
    "b": 125
  },
  "hsl": {
    "h": 75.273,
    "s": 73.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.89622,
    "c": 0.13986,
    "h": 121
  },
  "luminance": 0.74163
}

Semantic roles & 50–950 ramp

primary
#CFEB7D
secondary
#6848C4
accent
#10D542
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15160F
muted
#848580

Preview Lab

Preview with #CFEB7D

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

Preview Lab → · Contrast checker → · Palette generator →

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