#CFE548#CFE548

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

Color values

HEX#CFE548
RGBrgb(207, 229, 72)
HSLhsl(68, 75%, 59%)
HSVhsv(68, 69%, 90%)
CMYKcmyk(9.6%, 0%, 68.6%, 10.2%)
CIE-LABlab(86.89, -27.01, 70.32)
CIE-LCHlch(86.89, 75.33, 111.01°)
OKLaboklab(87.77% -0.0806 0.1574)
OKLCHoklch(87.77% 0.177 117.1)
XYZxyz(54.9224, 69.7725, 16.7038)
Luminance0.6977 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE548 #5E48E5
analogous
#E5AD48 #CFE548 #81E548
triadic
#CFE548 #48CFE5 #E548CF
tetradic
#CFE548 #48E5AD #5E48E5 #E54881
square
#CFE548 #48E5AD #5E48E5 #E54881
split-complementary
#CFE548 #4881E5 #AD48E5
monochromatic
#8A9C16 #B9D21E #CFE548 #DDED7E #EBF4B3

Accessibility & contrast

On white

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

On black

14.95
#CFE548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE548
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE548#FFFFFF#000000##000000
##CFE5481.001.4014.9514.95
#FFFFFF1.401.0021.0021.00
#00000014.9521.001.001.00
##00000014.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4D92F
Deuteranopia (green-blind)
#F2DB54
Tritanopia (blue-blind)
#DBD8C6
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #cfe548;
/* rgb */ color: rgb(207, 229, 72);
/* oklch */ color: oklch(87.8% 0.177 117.1);
Tailwind
colors: {
  custom: {
    50: '#e1ed84',
    500: '#cfe548',
    950: '#000000',
  },
}
SCSS
$custom: #cfe548;
$custom-light: #e1ed84;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe548",
  "rgb": {
    "r": 207,
    "g": 229,
    "b": 72
  },
  "hsl": {
    "h": 68.408,
    "s": 75.12,
    "l": 59.02
  },
  "oklch": {
    "l": 0.87768,
    "c": 0.17685,
    "h": 117.1
  },
  "luminance": 0.69772
}

Semantic roles & 50–950 ramp

primary
#CFE548
secondary
#4132A0
accent
#36F250
background
#FEFEFB
surface
#FCFDF2
border
#D5D5CC
text
#16160B
muted
#84847E

Preview Lab

Preview with #CFE548

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

Preview Lab → · Contrast checker → · Palette generator →

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