#CFE142#CFE142

#CFE142 is a very light, vivid yellow. Relative luminance 0.675; OKLCH L 86.9% C 0.176 H 115.8°. Best body text is #000000 at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#CFE142
RGBrgb(207, 225, 66)
HSLhsl(67, 73%, 57%)
HSVhsv(67, 71%, 88%)
CMYKcmyk(8%, 0%, 70.7%, 11.8%)
CIE-LABlab(85.76, -25.43, 71.34)
CIE-LCHlch(85.76, 75.74, 109.62°)
OKLaboklab(86.85% -0.0767 0.1586)
OKLCHoklch(86.85% 0.176 115.8)
XYZxyz(53.6421, 67.5100, 15.3581)
Luminance0.6751 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE142 #5442E1
analogous
#E1A342 #CFE142 #80E142
triadic
#CFE142 #42CFE1 #E142CF
tetradic
#CFE142 #42E1A3 #5442E1 #E14280
square
#CFE142 #42E1A3 #5442E1 #E14280
split-complementary
#CFE142 #4280E1 #A342E1
monochromatic
#849217 #B3C61F #CFE142 #DCE977 #EAF2AC

Accessibility & contrast

On white

1.45
#CFE142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.50
#CFE142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE142
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE142#FFFFFF#000000##000000
##CFE1421.001.4514.5014.50
#FFFFFF1.451.0021.0021.00
#00000014.5021.001.001.00
##00000014.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D525
Deuteranopia (green-blind)
#EFD84F
Tritanopia (blue-blind)
#DCD4C2
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #cfe142;
/* rgb */ color: rgb(207, 225, 66);
/* oklch */ color: oklch(86.9% 0.176 115.8);
Tailwind
colors: {
  custom: {
    50: '#e1ea80',
    500: '#cfe142',
    950: '#000000',
  },
}
SCSS
$custom: #cfe142;
$custom-light: #e1ea80;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe142",
  "rgb": {
    "r": 207,
    "g": 225,
    "b": 66
  },
  "hsl": {
    "h": 66.792,
    "s": 72.603,
    "l": 57.059
  },
  "oklch": {
    "l": 0.86853,
    "c": 0.17619,
    "h": 115.8
  },
  "luminance": 0.67509
}

Semantic roles & 50–950 ramp

primary
#CFE142
secondary
#3C3196
accent
#38EF4D
background
#FEFEFB
surface
#FDFDF2
border
#D5D5CC
text
#16160B
muted
#84847E

Preview Lab

Preview with #CFE142

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

Preview Lab → · Contrast checker → · Palette generator →

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