#CFE25B#CFE25B

#CFE25B is a very light, vivid yellow. Relative luminance 0.684; OKLCH L 87.3% C 0.160 H 116.6°. Best body text is #000000 at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#CFE25B
RGBrgb(207, 226, 91)
HSLhsl(68, 70%, 62%)
HSVhsv(68, 60%, 89%)
CMYKcmyk(8.4%, 0%, 59.7%, 11.4%)
CIE-LABlab(86.21, -24.38, 62.14)
CIE-LCHlch(86.21, 66.75, 111.42°)
OKLaboklab(87.27% -0.0714 0.1428)
OKLCHoklch(87.27% 0.16 116.6)
XYZxyz(54.8179, 68.4141, 20.2129)
Luminance0.6841 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE25B #6E5BE2
analogous
#E2B15B #CFE25B #8CE25B
triadic
#CFE25B #5BCFE2 #E25BCF
tetradic
#CFE25B #5BE2B1 #6E5BE2 #E25B8C
square
#CFE25B #5BE2B1 #6E5BE2 #E25B8C
split-complementary
#CFE25B #5B8CE2 #B15BE2
monochromatic
#92A51D #C0D927 #CFE25B #DEEB8F #EDF4C3

Accessibility & contrast

On white

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

On black

14.68
#CFE25B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE25B
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE25B#FFFFFF#000000##000000
##CFE25B1.001.4314.6814.68
#FFFFFF1.431.0021.0021.00
#00000014.6821.001.001.00
##00000014.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D74B
Deuteranopia (green-blind)
#EFD964
Tritanopia (blue-blind)
#DBD6C5
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #cfe25b;
/* rgb */ color: rgb(207, 226, 91);
/* oklch */ color: oklch(87.3% 0.160 116.6);
Tailwind
colors: {
  custom: {
    50: '#e0eb8f',
    500: '#cfe25b',
    950: '#000000',
  },
}
SCSS
$custom: #cfe25b;
$custom-light: #e0eb8f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe25b",
  "rgb": {
    "r": 207,
    "g": 226,
    "b": 91
  },
  "hsl": {
    "h": 68.444,
    "s": 69.948,
    "l": 62.157
  },
  "oklch": {
    "l": 0.87274,
    "c": 0.15968,
    "h": 116.6
  },
  "luminance": 0.68413
}

Semantic roles & 50–950 ramp

primary
#CFE25B
secondary
#4939A8
accent
#14D22E
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #CFE25B

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

Preview Lab → · Contrast checker → · Palette generator →

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