#CFE229#CFE229

#CFE229 is a very light, vivid yellow. Relative luminance 0.678; OKLCH L 86.9% C 0.189 H 115.9°. Best body text is #000000 at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#CFE229
RGBrgb(207, 226, 41)
HSLhsl(66, 76%, 52%)
HSVhsv(66, 82%, 89%)
CMYKcmyk(8.4%, 0%, 81.9%, 11.4%)
CIE-LABlab(85.92, -26.90, 78.83)
CIE-LCHlch(85.92, 83.29, 108.84°)
OKLaboklab(86.94% -0.0827 0.1704)
OKLCHoklch(86.94% 0.189 115.9)
XYZxyz(53.3303, 67.8191, 12.3784)
Luminance0.6782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE229 #3C29E2
analogous
#E29829 #CFE229 #73E229
triadic
#CFE229 #29CFE2 #E229CF
tetradic
#CFE229 #29E298 #3C29E2 #E22973
square
#CFE229 #29E298 #3C29E2 #E22973
split-complementary
#CFE229 #2973E2 #9829E2
monochromatic
#747F11 #A5B519 #CFE229 #DBE95F #E7F195

Accessibility & contrast

On white

1.44
#CFE229 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.56
#CFE229 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE229
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE229#FFFFFF#000000##000000
##CFE2291.001.4414.5614.56
#FFFFFF1.441.0021.0021.00
#00000014.5621.001.001.00
##00000014.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D600
Deuteranopia (green-blind)
#F1D83D
Tritanopia (blue-blind)
#DDD5C1
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #cfe229;
/* rgb */ color: rgb(207, 226, 41);
/* oklch */ color: oklch(86.9% 0.189 115.9);
Tailwind
colors: {
  custom: {
    50: '#e2eb76',
    500: '#cfe229',
    950: '#000000',
  },
}
SCSS
$custom: #cfe229;
$custom-light: #e2eb76;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe229",
  "rgb": {
    "r": 207,
    "g": 226,
    "b": 41
  },
  "hsl": {
    "h": 66.162,
    "s": 76.132,
    "l": 52.353
  },
  "oklch": {
    "l": 0.8694,
    "c": 0.18937,
    "h": 115.9
  },
  "luminance": 0.67818
}

Semantic roles & 50–950 ramp

primary
#CFE229
secondary
#332986
accent
#35F349
background
#FEFEFB
surface
#FDFDF2
border
#D5D5CC
text
#16160A
muted
#84847D

Preview Lab

Preview with #CFE229

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

Preview Lab → · Contrast checker → · Palette generator →

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