#CFEB5B#CFEB5B

#CFEB5B is a very light, vivid yellow-green. Relative luminance 0.734; OKLCH L 89.2% C 0.170 H 119.3°. Best body text is #000000 at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#CFEB5B
RGBrgb(207, 235, 91)
HSLhsl(72, 78%, 64%)
HSVhsv(72, 61%, 92%)
CMYKcmyk(11.9%, 0%, 61.3%, 7.8%)
CIE-LABlab(88.66, -28.65, 64.80)
CIE-LCHlch(88.66, 70.85, 113.85°)
OKLaboklab(89.24% -0.0834 0.1484)
OKLCHoklch(89.24% 0.17 119.3)
XYZxyz(57.3297, 73.4377, 21.0502)
Luminance0.7344 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFEB5B #775BEB
analogous
#EBBF5B #CFEB5B #87EB5B
triadic
#CFEB5B #5BCFEB #EB5BCF
tetradic
#CFEB5B #5BEBBF #775BEB #EB5B87
square
#CFEB5B #5BEBBF #775BEB #EB5B87
split-complementary
#CFEB5B #5B87EB #BF5BEB
monochromatic
#96B516 #BFE424 #CFEB5B #DFF292 #EFF8C8

Accessibility & contrast

On white

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

On black

15.69
#CFEB5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFEB5B
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFEB5B#FFFFFF#000000##000000
##CFEB5B1.001.3415.6915.69
#FFFFFF1.341.0021.0021.00
#00000015.6921.001.001.00
##00000015.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfeb5b;
/* rgb */ color: rgb(207, 235, 91);
/* oklch */ color: oklch(89.2% 0.170 119.3);
Tailwind
colors: {
  custom: {
    50: '#e1f18f',
    500: '#cfeb5b',
    950: '#000000',
  },
}
SCSS
$custom: #cfeb5b;
$custom-light: #e1f18f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfeb5b",
  "rgb": {
    "r": 207,
    "g": 235,
    "b": 91
  },
  "hsl": {
    "h": 71.667,
    "s": 78.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.89235,
    "c": 0.17025,
    "h": 119.3
  },
  "luminance": 0.73437
}

Semantic roles & 50–950 ramp

primary
#CFEB5B
secondary
#4E35B5
accent
#0BDB33
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #CFEB5B

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

Preview Lab → · Contrast checker → · Palette generator →

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