#CFE54D#CFE54D

#CFE54D 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#CFE54D
RGBrgb(207, 229, 77)
HSLhsl(69, 75%, 60%)
HSVhsv(69, 66%, 90%)
CMYKcmyk(9.6%, 0%, 66.4%, 10.2%)
CIE-LABlab(86.92, -26.73, 68.50)
CIE-LCHlch(86.92, 73.53, 111.31°)
OKLaboklab(87.81% -0.0793 0.1543)
OKLCHoklch(87.81% 0.174 117.2)
XYZxyz(55.0922, 69.8405, 17.5980)
Luminance0.6984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE54D #634DE5
analogous
#E5AF4D #CFE54D #83E54D
triadic
#CFE54D #4DCFE5 #E54DCF
tetradic
#CFE54D #4DE5AF #634DE5 #E54D83
square
#CFE54D #4DE5AF #634DE5 #E54D83
split-complementary
#CFE54D #4D83E5 #AF4DE5
monochromatic
#8CA017 #BBD61F #CFE54D #DDED82 #ECF5B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFE54D#FFFFFF#000000##000000
##CFE54D1.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)
#F4D937
Deuteranopia (green-blind)
#F2DB58
Tritanopia (blue-blind)
#DBD9C6
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #cfe54d;
/* rgb */ color: rgb(207, 229, 77);
/* oklch */ color: oklch(87.8% 0.174 117.2);
Tailwind
colors: {
  custom: {
    50: '#e1ed87',
    500: '#cfe54d',
    950: '#000000',
  },
}
SCSS
$custom: #cfe54d;
$custom-light: #e1ed87;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe54d",
  "rgb": {
    "r": 207,
    "g": 229,
    "b": 77
  },
  "hsl": {
    "h": 68.684,
    "s": 74.51,
    "l": 60
  },
  "oklch": {
    "l": 0.87805,
    "c": 0.17354,
    "h": 117.2
  },
  "luminance": 0.6984
}

Semantic roles & 50–950 ramp

primary
#CFE54D
secondary
#4333A3
accent
#37F152
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #CFE54D

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

Preview Lab → · Contrast checker → · Palette generator →

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