#CFE258#CFE258

#CFE258 is a very light, vivid yellow. Relative luminance 0.684; OKLCH L 87.2% C 0.162 H 116.5°. Best body text is #000000 at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#CFE258
RGBrgb(207, 226, 88)
HSLhsl(68, 70%, 62%)
HSVhsv(68, 61%, 89%)
CMYKcmyk(8.4%, 0%, 61.1%, 11.4%)
CIE-LABlab(86.19, -24.59, 63.37)
CIE-LCHlch(86.19, 67.97, 111.21°)
OKLaboklab(87.25% -0.0723 0.145)
OKLCHoklch(87.25% 0.162 116.5)
XYZxyz(54.6910, 68.3634, 19.5450)
Luminance0.6836 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE258 #6B58E2
analogous
#E2B058 #CFE258 #8AE258
triadic
#CFE258 #58CFE2 #E258CF
tetradic
#CFE258 #58E2B0 #6B58E2 #E2588A
square
#CFE258 #58E2B0 #6B58E2 #E2588A
split-complementary
#CFE258 #588AE2 #B058E2
monochromatic
#91A31C #BFD725 #CFE258 #DEEB8C #EDF4C0

Accessibility & contrast

On white

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

On black

14.67
#CFE258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE258
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE258#FFFFFF#000000##000000
##CFE2581.001.4314.6714.67
#FFFFFF1.431.0021.0021.00
#00000014.6721.001.001.00
##00000014.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfe258;
/* rgb */ color: rgb(207, 226, 88);
/* oklch */ color: oklch(87.2% 0.162 116.5);
Tailwind
colors: {
  custom: {
    50: '#e0eb8d',
    500: '#cfe258',
    950: '#000000',
  },
}
SCSS
$custom: #cfe258;
$custom-light: #e0eb8d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe258",
  "rgb": {
    "r": 207,
    "g": 226,
    "b": 88
  },
  "hsl": {
    "h": 68.261,
    "s": 70.408,
    "l": 61.569
  },
  "oklch": {
    "l": 0.87246,
    "c": 0.16207,
    "h": 116.5
  },
  "luminance": 0.68363
}

Semantic roles & 50–950 ramp

primary
#CFE258
secondary
#4738A6
accent
#13D22D
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #CFE258

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

Preview Lab → · Contrast checker → · Palette generator →

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