#CFE26C#CFE26C

#CFE26C is a very light, vivid yellow. Relative luminance 0.687; OKLCH L 87.5% C 0.145 H 117.1°. Best body text is #000000 at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#CFE26C
RGBrgb(207, 226, 108)
HSLhsl(70, 67%, 65%)
HSVhsv(70, 52%, 89%)
CMYKcmyk(8.4%, 0%, 52.2%, 11.4%)
CIE-LABlab(86.38, -23.02, 54.83)
CIE-LCHlch(86.38, 59.46, 112.77°)
OKLaboklab(87.46% -0.066 0.129)
OKLCHoklch(87.46% 0.145 117.1)
XYZxyz(55.6360, 68.7414, 24.5219)
Luminance0.6874 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE26C #7F6CE2
analogous
#E2BA6C #CFE26C #94E26C
triadic
#CFE26C #6CCFE2 #E26CCF
tetradic
#CFE26C #6CE2BA #7F6CE2 #E26C94
square
#CFE26C #6CE2BA #7F6CE2 #E26C94
split-complementary
#CFE26C #6C94E2 #BA6CE2
monochromatic
#9AB123 #BED839 #CFE26C #E0EC9F #F0F6D2

Accessibility & contrast

On white

1.42
#CFE26C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.75
#CFE26C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE26C
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE26C#FFFFFF#000000##000000
##CFE26C1.001.4214.7514.75
#FFFFFF1.421.0021.0021.00
#00000014.7521.001.001.00
##00000014.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD861
Deuteranopia (green-blind)
#EDD973
Tritanopia (blue-blind)
#DAD7C7
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #cfe26c;
/* rgb */ color: rgb(207, 226, 108);
/* oklch */ color: oklch(87.5% 0.145 117.1);
Tailwind
colors: {
  custom: {
    50: '#e0eb99',
    500: '#cfe26c',
    950: '#000000',
  },
}
SCSS
$custom: #cfe26c;
$custom-light: #e0eb99;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe26c",
  "rgb": {
    "r": 207,
    "g": 226,
    "b": 108
  },
  "hsl": {
    "h": 69.661,
    "s": 67.045,
    "l": 65.49
  },
  "oklch": {
    "l": 0.87457,
    "c": 0.14488,
    "h": 117.1
  },
  "luminance": 0.68741
}

Semantic roles & 50–950 ramp

primary
#CFE26C
secondary
#5340B2
accent
#17CF34
background
#FEFEFC
surface
#FCFDF5
border
#D5D5CF
text
#15160E
muted
#84847F

Preview Lab

Preview with #CFE26C

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

Preview Lab → · Contrast checker → · Palette generator →

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