#CFE25F#CFE25F

#CFE25F is a very light, vivid yellow. Relative luminance 0.685; OKLCH L 87.3% C 0.156 H 116.7°. Best body text is #000000 at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#CFE25F
RGBrgb(207, 226, 95)
HSLhsl(69, 69%, 63%)
HSVhsv(69, 58%, 89%)
CMYKcmyk(8.4%, 0%, 58%, 11.4%)
CIE-LABlab(86.25, -24.08, 60.47)
CIE-LCHlch(86.25, 65.09, 111.71°)
OKLaboklab(87.31% -0.0702 0.1398)
OKLCHoklch(87.31% 0.156 116.7)
XYZxyz(54.9950, 68.4850, 21.1460)
Luminance0.6848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE25F #725FE2
analogous
#E2B35F #CFE25F #8EE25F
triadic
#CFE25F #5FCFE2 #E25FCF
tetradic
#CFE25F #5FE2B3 #725FE2 #E25F8E
square
#CFE25F #5FE2B3 #725FE2 #E25F8E
split-complementary
#CFE25F #5F8EE2 #B35FE2
monochromatic
#94A81E #BFD92B #CFE25F #DFEB93 #EEF5C7

Accessibility & contrast

On white

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

On black

14.70
#CFE25F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE25F
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE25F#FFFFFF#000000##000000
##CFE25F1.001.4314.7014.70
#FFFFFF1.431.0021.0021.00
#00000014.7021.001.001.00
##00000014.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D751
Deuteranopia (green-blind)
#EED967
Tritanopia (blue-blind)
#DAD6C6
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #cfe25f;
/* rgb */ color: rgb(207, 226, 95);
/* oklch */ color: oklch(87.3% 0.156 116.7);
Tailwind
colors: {
  custom: {
    50: '#e0eb91',
    500: '#cfe25f',
    950: '#000000',
  },
}
SCSS
$custom: #cfe25f;
$custom-light: #e0eb91;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe25f",
  "rgb": {
    "r": 207,
    "g": 226,
    "b": 95
  },
  "hsl": {
    "h": 68.702,
    "s": 69.312,
    "l": 62.941
  },
  "oklch": {
    "l": 0.87314,
    "c": 0.1564,
    "h": 116.7
  },
  "luminance": 0.68484
}

Semantic roles & 50–950 ramp

primary
#CFE25F
secondary
#4B3BAA
accent
#14D130
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #CFE25F

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

Preview Lab → · Contrast checker → · Palette generator →

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