#CFEB5F#CFEB5F

#CFEB5F is a very light, vivid yellow-green. Relative luminance 0.735; OKLCH L 89.3% C 0.167 H 119.5°. Best body text is #000000 at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#CFEB5F
RGBrgb(207, 235, 95)
HSLhsl(72, 78%, 65%)
HSVhsv(72, 60%, 92%)
CMYKcmyk(11.9%, 0%, 59.6%, 7.8%)
CIE-LABlab(88.69, -28.36, 63.17)
CIE-LCHlch(88.69, 69.24, 114.17°)
OKLaboklab(89.27% -0.0822 0.1455)
OKLCHoklch(89.27% 0.167 119.5)
XYZxyz(57.5068, 73.5086, 21.9833)
Luminance0.7351 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFEB5F #7B5FEB
analogous
#EBC15F #CFEB5F #89EB5F
triadic
#CFEB5F #5FCFEB #EB5FCF
tetradic
#CFEB5F #5FEBC1 #7B5FEB #EB5F89
square
#CFEB5F #5FEBC1 #7B5FEB #EB5F89
split-complementary
#CFEB5F #5F89EB #C15FEB
monochromatic
#98B917 #BFE429 #CFEB5F #DFF295 #F0F9CC

Accessibility & contrast

On white

1.34
#CFEB5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.70
#CFEB5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFEB5F
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFEB5F#FFFFFF#000000##000000
##CFEB5F1.001.3415.7015.70
#FFFFFF1.341.0021.0021.00
#00000015.7021.001.001.00
##00000015.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DF4F
Deuteranopia (green-blind)
#F6DF68
Tritanopia (blue-blind)
#DADFCD
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #cfeb5f;
/* rgb */ color: rgb(207, 235, 95);
/* oklch */ color: oklch(89.3% 0.167 119.5);
Tailwind
colors: {
  custom: {
    50: '#e0f192',
    500: '#cfeb5f',
    950: '#000000',
  },
}
SCSS
$custom: #cfeb5f;
$custom-light: #e0f192;
$custom-dark: #000000;
JSON
{
  "hex": "#cfeb5f",
  "rgb": {
    "r": 207,
    "g": 235,
    "b": 95
  },
  "hsl": {
    "h": 72,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.89273,
    "c": 0.1671,
    "h": 119.5
  },
  "luminance": 0.73508
}

Semantic roles & 50–950 ramp

primary
#CFEB5F
secondary
#5036B8
accent
#0BDA35
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #CFEB5F

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

Preview Lab → · Contrast checker → · Palette generator →

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