#CFE162#CFE162

#CFE162 is a very light, vivid yellow. Relative luminance 0.680; OKLCH L 87.1% C 0.153 H 116.4°. Best body text is #000000 at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#CFE162
RGBrgb(207, 225, 98)
HSLhsl(69, 68%, 63%)
HSVhsv(69, 56%, 88%)
CMYKcmyk(8%, 0%, 56.4%, 11.8%)
CIE-LABlab(86.01, -23.37, 58.89)
CIE-LCHlch(86.01, 63.36, 111.64°)
OKLaboklab(87.13% -0.0679 0.1367)
OKLCHoklch(87.13% 0.153 116.4)
XYZxyz(54.8629, 67.9983, 21.7877)
Luminance0.6800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE162 #7462E1
analogous
#E1B362 #CFE162 #8FE162
triadic
#CFE162 #62CFE1 #E162CF
tetradic
#CFE162 #62E1B3 #7462E1 #E1628F
square
#CFE162 #62E1B3 #7462E1 #E1628F
split-complementary
#CFE162 #628FE1 #B362E1
monochromatic
#95A820 #BFD72F #CFE162 #DFEB95 #EEF5C9

Accessibility & contrast

On white

1.44
#CFE162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.60
#CFE162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE162
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE162#FFFFFF#000000##000000
##CFE1621.001.4414.6014.60
#FFFFFF1.441.0021.0021.00
#00000014.6021.001.001.00
##00000014.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD655
Deuteranopia (green-blind)
#EDD86A
Tritanopia (blue-blind)
#DAD6C5
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #cfe162;
/* rgb */ color: rgb(207, 225, 98);
/* oklch */ color: oklch(87.1% 0.153 116.4);
Tailwind
colors: {
  custom: {
    50: '#e0ea93',
    500: '#cfe162',
    950: '#000000',
  },
}
SCSS
$custom: #cfe162;
$custom-light: #e0ea93;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe162",
  "rgb": {
    "r": 207,
    "g": 225,
    "b": 98
  },
  "hsl": {
    "h": 68.504,
    "s": 67.914,
    "l": 63.333
  },
  "oklch": {
    "l": 0.87128,
    "c": 0.15266,
    "h": 116.4
  },
  "luminance": 0.67998
}

Semantic roles & 50–950 ramp

primary
#CFE162
secondary
#4C3DAB
accent
#16D030
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #CFE162

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

Preview Lab → · Contrast checker → · Palette generator →

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