#CFF262#CFF262

#CFF262 is a very light, vivid yellow-green. Relative luminance 0.777; OKLCH L 90.8% C 0.173 H 121.5°. Best body text is #000000 at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#CFF262
RGBrgb(207, 242, 98)
HSLhsl(75, 85%, 67%)
HSVhsv(75, 60%, 95%)
CMYKcmyk(14.5%, 0%, 59.5%, 5.1%)
CIE-LABlab(90.62, -31.39, 64.04)
CIE-LCHlch(90.62, 71.32, 116.12°)
OKLaboklab(90.84% -0.0904 0.1477)
OKLCHoklch(90.84% 0.173 121.5)
XYZxyz(59.6895, 77.6515, 23.3966)
Luminance0.7765 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFF262 #8562F2
analogous
#F2CD62 #CFF262 #87F262
triadic
#CFF262 #62CFF2 #F262CF
tetradic
#CFF262 #62F2CD #8562F2 #F26287
square
#CFF262 #62F2CD #8562F2 #F26287
split-complementary
#CFF262 #6287F2 #CD62F2
monochromatic
#9CC911 #BEED29 #CFF262 #E0F79B #F2FBD3

Accessibility & contrast

On white

1.27
#CFF262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.53
#CFF262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFF262
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFF262#FFFFFF#000000##000000
##CFF2621.001.2716.5316.53
#FFFFFF1.271.0021.0021.00
#00000016.5321.001.001.00
##00000016.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE552
Deuteranopia (green-blind)
#FBE46C
Tritanopia (blue-blind)
#D9E7D3
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #cff262;
/* rgb */ color: rgb(207, 242, 98);
/* oklch */ color: oklch(90.8% 0.173 121.5);
Tailwind
colors: {
  custom: {
    50: '#e0f694',
    500: '#cff262',
    950: '#000000',
  },
}
SCSS
$custom: #cff262;
$custom-light: #e0f694;
$custom-dark: #000000;
JSON
{
  "hex": "#cff262",
  "rgb": {
    "r": 207,
    "g": 242,
    "b": 98
  },
  "hsl": {
    "h": 74.583,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.90835,
    "c": 0.17315,
    "h": 121.5
  },
  "luminance": 0.77652
}

Semantic roles & 50–950 ramp

primary
#CFF262
secondary
#5633C6
accent
#04E13A
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#16170D
muted
#84857F

Preview Lab

Preview with #CFF262

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

Preview Lab → · Contrast checker → · Palette generator →

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