#CFEB7F#CFEB7F

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

Color values

HEX#CFEB7F
RGBrgb(207, 235, 127)
HSLhsl(76, 73%, 71%)
HSVhsv(76, 46%, 92%)
CMYKcmyk(11.9%, 0%, 46%, 7.8%)
CIE-LABlab(89.02, -25.51, 49.11)
CIE-LCHlch(89.02, 55.34, 117.45°)
OKLaboklab(89.65% -0.0714 0.1179)
OKLCHoklch(89.65% 0.138 121.2)
XYZxyz(59.2714, 74.2144, 31.2768)
Luminance0.7421 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFEB7F #9B7FEB
analogous
#EBD17F #CFEB7F #99EB7F
triadic
#CFEB7F #7FCFEB #EB7FCF
tetradic
#CFEB7F #7FEBD1 #9B7FEB #EB7F99
square
#CFEB7F #7FEBD1 #9B7FEB #EB7F99
split-complementary
#CFEB7F #7F99EB #D17FEB
monochromatic
#A2CF20 #BBE34A #CFEB7F #E3F3B4 #F5FBE5

Accessibility & contrast

On white

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

On black

15.84
#CFEB7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFEB7F
15.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFEB7F#FFFFFF#000000##000000
##CFEB7F1.001.3315.8415.84
#FFFFFF1.331.0021.0021.00
#00000015.8421.001.001.00
##00000015.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E076
Deuteranopia (green-blind)
#F3E085
Tritanopia (blue-blind)
#D7E1D2
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #cfeb7f;
/* rgb */ color: rgb(207, 235, 127);
/* oklch */ color: oklch(89.6% 0.138 121.2);
Tailwind
colors: {
  custom: {
    50: '#dff1a6',
    500: '#cfeb7f',
    950: '#000000',
  },
}
SCSS
$custom: #cfeb7f;
$custom-light: #dff1a6;
$custom-dark: #000000;
JSON
{
  "hex": "#cfeb7f",
  "rgb": {
    "r": 207,
    "g": 235,
    "b": 127
  },
  "hsl": {
    "h": 75.556,
    "s": 72.973,
    "l": 70.98
  },
  "oklch": {
    "l": 0.89649,
    "c": 0.13784,
    "h": 121.2
  },
  "luminance": 0.74214
}

Semantic roles & 50–950 ramp

primary
#CFEB7F
secondary
#6A4AC4
accent
#10D543
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15160F
muted
#848580

Preview Lab

Preview with #CFEB7F

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

Preview Lab → · Contrast checker → · Palette generator →

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