#CFE862#CFE862

#CFE862 is a very light, vivid yellow-green. Relative luminance 0.719; OKLCH L 88.6% C 0.161 H 118.7°. Best body text is #000000 at 15.37:1 contrast (WCAG AA passes).

Color values

HEX#CFE862
RGBrgb(207, 232, 98)
HSLhsl(71, 74%, 65%)
HSVhsv(71, 58%, 91%)
CMYKcmyk(10.8%, 0%, 57.8%, 9%)
CIE-LABlab(87.90, -26.71, 61.02)
CIE-LCHlch(87.90, 66.61, 113.64°)
OKLaboklab(88.65% -0.0773 0.1413)
OKLCHoklch(88.65% 0.161 118.7)
XYZxyz(56.7942, 71.8609, 22.4315)
Luminance0.7186 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE862 #7B62E8
analogous
#E8BE62 #CFE862 #8CE862
triadic
#CFE862 #62CFE8 #E862CF
tetradic
#CFE862 #62E8BE #7B62E8 #E8628C
square
#CFE862 #62E8BE #7B62E8 #E8628C
split-complementary
#CFE862 #628CE8 #BE62E8
monochromatic
#98B51B #BFE02D #CFE862 #DFF097 #F0F8CD

Accessibility & contrast

On white

1.37
#CFE862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.37
#CFE862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE862
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE862#FFFFFF#000000##000000
##CFE8621.001.3715.3715.37
#FFFFFF1.371.0021.0021.00
#00000015.3721.001.001.00
##00000015.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DC53
Deuteranopia (green-blind)
#F3DD6B
Tritanopia (blue-blind)
#DADDCB
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #cfe862;
/* rgb */ color: rgb(207, 232, 98);
/* oklch */ color: oklch(88.6% 0.161 118.7);
Tailwind
colors: {
  custom: {
    50: '#e0ef93',
    500: '#cfe862',
    950: '#000000',
  },
}
SCSS
$custom: #cfe862;
$custom-light: #e0ef93;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe862",
  "rgb": {
    "r": 207,
    "g": 232,
    "b": 98
  },
  "hsl": {
    "h": 71.194,
    "s": 74.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.88649,
    "c": 0.16103,
    "h": 118.7
  },
  "luminance": 0.7186
}

Semantic roles & 50–950 ramp

primary
#CFE862
secondary
#5039B5
accent
#0FD734
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #CFE862

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

Preview Lab → · Contrast checker → · Palette generator →

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