#CFE54C#CFE54C

#CFE54C is a very light, vivid yellow. Relative luminance 0.698; OKLCH L 87.8% C 0.174 H 117.2°. Best body text is #000000 at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#CFE54C
RGBrgb(207, 229, 76)
HSLhsl(69, 75%, 60%)
HSVhsv(69, 67%, 90%)
CMYKcmyk(9.6%, 0%, 66.8%, 10.2%)
CIE-LABlab(86.91, -26.78, 68.87)
CIE-LCHlch(86.91, 73.90, 111.25°)
OKLaboklab(87.8% -0.0796 0.155)
OKLCHoklch(87.8% 0.174 117.2)
XYZxyz(55.0571, 69.8264, 17.4135)
Luminance0.6983 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE54C #624CE5
analogous
#E5AE4C #CFE54C #83E54C
triadic
#CFE54C #4CCFE5 #E54CCF
tetradic
#CFE54C #4CE5AE #624CE5 #E54C83
square
#CFE54C #4CE5AE #624CE5 #E54C83
split-complementary
#CFE54C #4C83E5 #AE4CE5
monochromatic
#8C9F17 #BBD51F #CFE54C #DDED81 #ECF5B7

Accessibility & contrast

On white

1.40
#CFE54C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.97
#CFE54C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE54C
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE54C#FFFFFF#000000##000000
##CFE54C1.001.4014.9714.97
#FFFFFF1.401.0021.0021.00
#00000014.9721.001.001.00
##00000014.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4D935
Deuteranopia (green-blind)
#F2DB57
Tritanopia (blue-blind)
#DBD9C6
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #cfe54c;
/* rgb */ color: rgb(207, 229, 76);
/* oklch */ color: oklch(87.8% 0.174 117.2);
Tailwind
colors: {
  custom: {
    50: '#e1ed86',
    500: '#cfe54c',
    950: '#000000',
  },
}
SCSS
$custom: #cfe54c;
$custom-light: #e1ed86;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe54c",
  "rgb": {
    "r": 207,
    "g": 229,
    "b": 76
  },
  "hsl": {
    "h": 68.627,
    "s": 74.634,
    "l": 59.804
  },
  "oklch": {
    "l": 0.87798,
    "c": 0.17422,
    "h": 117.2
  },
  "luminance": 0.69826
}

Semantic roles & 50–950 ramp

primary
#CFE54C
secondary
#4333A2
accent
#37F151
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #CFE54C

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

Preview Lab → · Contrast checker → · Palette generator →

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