#CFE161#CFE161

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

Color values

HEX#CFE161
RGBrgb(207, 225, 97)
HSLhsl(68, 68%, 63%)
HSVhsv(68, 57%, 88%)
CMYKcmyk(8%, 0%, 56.9%, 11.8%)
CIE-LABlab(86.00, -23.45, 59.32)
CIE-LCHlch(86.00, 63.78, 111.57°)
OKLaboklab(87.12% -0.0682 0.1375)
OKLCHoklch(87.12% 0.154 116.4)
XYZxyz(54.8160, 67.9795, 21.5406)
Luminance0.6798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE161 #7361E1
analogous
#E1B361 #CFE161 #8FE161
triadic
#CFE161 #61CFE1 #E161CF
tetradic
#CFE161 #61E1B3 #7361E1 #E1618F
square
#CFE161 #61E1B3 #7361E1 #E1618F
split-complementary
#CFE161 #618FE1 #B361E1
monochromatic
#95A820 #BFD72E #CFE161 #DFEB94 #EEF5C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFE161#FFFFFF#000000##000000
##CFE1611.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)
#EFD653
Deuteranopia (green-blind)
#EDD869
Tritanopia (blue-blind)
#DAD6C5
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #cfe161;
/* rgb */ color: rgb(207, 225, 97);
/* oklch */ color: oklch(87.1% 0.154 116.4);
Tailwind
colors: {
  custom: {
    50: '#e0ea92',
    500: '#cfe161',
    950: '#000000',
  },
}
SCSS
$custom: #cfe161;
$custom-light: #e0ea92;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe161",
  "rgb": {
    "r": 207,
    "g": 225,
    "b": 97
  },
  "hsl": {
    "h": 68.438,
    "s": 68.085,
    "l": 63.137
  },
  "oklch": {
    "l": 0.87117,
    "c": 0.15352,
    "h": 116.4
  },
  "luminance": 0.67979
}

Semantic roles & 50–950 ramp

primary
#CFE161
secondary
#4C3CAA
accent
#15D030
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #CFE161

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

Preview Lab → · Contrast checker → · Palette generator →

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