#CFE762#CFE762

#CFE762 is a very light, vivid yellow-green. Relative luminance 0.713; OKLCH L 88.4% C 0.160 H 118.4°. Best body text is #000000 at 15.26:1 contrast (WCAG AA passes).

Color values

HEX#CFE762
RGBrgb(207, 231, 98)
HSLhsl(71, 73%, 65%)
HSVhsv(71, 58%, 91%)
CMYKcmyk(10.4%, 0%, 57.6%, 9.4%)
CIE-LABlab(87.63, -26.24, 60.72)
CIE-LCHlch(87.63, 66.14, 113.37°)
OKLaboklab(88.43% -0.076 0.1406)
OKLCHoklch(88.43% 0.16 118.4)
XYZxyz(56.5135, 71.2995, 22.3379)
Luminance0.7130 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE762 #7A62E7
analogous
#E7BD62 #CFE762 #8DE762
triadic
#CFE762 #62CFE7 #E762CF
tetradic
#CFE762 #62E7BD #7A62E7 #E7628D
square
#CFE762 #62E7BD #7A62E7 #E7628D
split-complementary
#CFE762 #628DE7 #BD62E7
monochromatic
#98B31B #BFDF2D #CFE762 #DFEF97 #EFF7CC

Accessibility & contrast

On white

1.38
#CFE762 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.26
#CFE762 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE762
15.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE762#FFFFFF#000000##000000
##CFE7621.001.3815.2615.26
#FFFFFF1.381.0021.0021.00
#00000015.2621.001.001.00
##00000015.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DB54
Deuteranopia (green-blind)
#F2DC6A
Tritanopia (blue-blind)
#DADCCA
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #cfe762;
/* rgb */ color: rgb(207, 231, 98);
/* oklch */ color: oklch(88.4% 0.160 118.4);
Tailwind
colors: {
  custom: {
    50: '#e0ee93',
    500: '#cfe762',
    950: '#000000',
  },
}
SCSS
$custom: #cfe762;
$custom-light: #e0ee93;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe762",
  "rgb": {
    "r": 207,
    "g": 231,
    "b": 98
  },
  "hsl": {
    "h": 70.827,
    "s": 73.481,
    "l": 64.51
  },
  "oklch": {
    "l": 0.88431,
    "c": 0.15983,
    "h": 118.4
  },
  "luminance": 0.71299
}

Semantic roles & 50–950 ramp

primary
#CFE762
secondary
#503AB4
accent
#10D634
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #CFE762

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

Preview Lab → · Contrast checker → · Palette generator →

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