#CFEB5A#CFEB5A

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

Color values

HEX#CFEB5A
RGBrgb(207, 235, 90)
HSLhsl(72, 78%, 64%)
HSVhsv(72, 62%, 92%)
CMYKcmyk(11.9%, 0%, 61.7%, 7.8%)
CIE-LABlab(88.65, -28.72, 65.20)
CIE-LCHlch(88.65, 71.24, 113.77°)
OKLaboklab(89.23% -0.0837 0.1492)
OKLCHoklch(89.23% 0.171 119.3)
XYZxyz(57.2868, 73.4206, 20.8245)
Luminance0.7342 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFEB5A #765AEB
analogous
#EBBE5A #CFEB5A #86EB5A
triadic
#CFEB5A #5ACFEB #EB5ACF
tetradic
#CFEB5A #5AEBBE #765AEB #EB5A86
square
#CFEB5A #5AEBBE #765AEB #EB5A86
split-complementary
#CFEB5A #5A86EB #BE5AEB
monochromatic
#96B516 #BFE423 #CFEB5A #DFF291 #EFF8C7

Accessibility & contrast

On white

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

On black

15.68
#CFEB5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFEB5A
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFEB5A#FFFFFF#000000##000000
##CFEB5A1.001.3415.6815.68
#FFFFFF1.341.0021.0021.00
#00000015.6821.001.001.00
##00000015.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfeb5a;
/* rgb */ color: rgb(207, 235, 90);
/* oklch */ color: oklch(89.2% 0.171 119.3);
Tailwind
colors: {
  custom: {
    50: '#e1f18f',
    500: '#cfeb5a',
    950: '#000000',
  },
}
SCSS
$custom: #cfeb5a;
$custom-light: #e1f18f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfeb5a",
  "rgb": {
    "r": 207,
    "g": 235,
    "b": 90
  },
  "hsl": {
    "h": 71.586,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.89226,
    "c": 0.17102,
    "h": 119.3
  },
  "luminance": 0.7342
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFEB5A

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

Preview Lab → · Contrast checker → · Palette generator →

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