#CFE254#CFE254

#CFE254 is a very light, vivid yellow. Relative luminance 0.683; OKLCH L 87.2% C 0.165 H 116.4°. Best body text is #000000 at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#CFE254
RGBrgb(207, 226, 84)
HSLhsl(68, 71%, 61%)
HSVhsv(68, 63%, 89%)
CMYKcmyk(8.4%, 0%, 62.8%, 11.4%)
CIE-LABlab(86.16, -24.86, 64.97)
CIE-LCHlch(86.16, 69.56, 110.94°)
OKLaboklab(87.21% -0.0735 0.1479)
OKLCHoklch(87.21% 0.165 116.4)
XYZxyz(54.5299, 68.2989, 18.6962)
Luminance0.6830 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE254 #6754E2
analogous
#E2AE54 #CFE254 #88E254
triadic
#CFE254 #54CFE2 #E254CF
tetradic
#CFE254 #54E2AE #6754E2 #E25488
square
#CFE254 #54E2AE #6754E2 #E25488
split-complementary
#CFE254 #5488E2 #AE54E2
monochromatic
#8FA01B #BDD524 #CFE254 #DEEB88 #ECF4BD

Accessibility & contrast

On white

1.43
#CFE254 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.66
#CFE254 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE254
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE254#FFFFFF#000000##000000
##CFE2541.001.4314.6614.66
#FFFFFF1.431.0021.0021.00
#00000014.6621.001.001.00
##00000014.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D742
Deuteranopia (green-blind)
#EFD95E
Tritanopia (blue-blind)
#DBD6C5
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #cfe254;
/* rgb */ color: rgb(207, 226, 84);
/* oklch */ color: oklch(87.2% 0.165 116.4);
Tailwind
colors: {
  custom: {
    50: '#e1eb8a',
    500: '#cfe254',
    950: '#000000',
  },
}
SCSS
$custom: #cfe254;
$custom-light: #e1eb8a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe254",
  "rgb": {
    "r": 207,
    "g": 226,
    "b": 84
  },
  "hsl": {
    "h": 68.028,
    "s": 71,
    "l": 60.784
  },
  "oklch": {
    "l": 0.87209,
    "c": 0.16514,
    "h": 116.4
  },
  "luminance": 0.68298
}

Semantic roles & 50–950 ramp

primary
#CFE254
secondary
#4537A3
accent
#12D32C
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #CFE254

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

Preview Lab → · Contrast checker → · Palette generator →

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