#CFE140#CFE140

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

Color values

HEX#CFE140
RGBrgb(207, 225, 64)
HSLhsl(67, 73%, 57%)
HSVhsv(67, 72%, 88%)
CMYKcmyk(8%, 0%, 71.6%, 11.8%)
CIE-LABlab(85.75, -25.52, 72.01)
CIE-LCHlch(85.75, 76.40, 109.52°)
OKLaboklab(86.84% -0.0772 0.1597)
OKLCHoklch(86.84% 0.177 115.8)
XYZxyz(53.5842, 67.4868, 15.0530)
Luminance0.6749 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE140 #5240E1
analogous
#E1A340 #CFE140 #7FE140
triadic
#CFE140 #40CFE1 #E140CF
tetradic
#CFE140 #40E1A3 #5240E1 #E1407F
square
#CFE140 #40E1A3 #5240E1 #E1407F
split-complementary
#CFE140 #407FE1 #A340E1
monochromatic
#829017 #B2C51F #CFE140 #DCE975 #EAF2AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFE140#FFFFFF#000000##000000
##CFE1401.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)
#F1D521
Deuteranopia (green-blind)
#EFD84D
Tritanopia (blue-blind)
#DCD4C2
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #cfe140;
/* rgb */ color: rgb(207, 225, 64);
/* oklch */ color: oklch(86.8% 0.177 115.8);
Tailwind
colors: {
  custom: {
    50: '#e1ea7f',
    500: '#cfe140',
    950: '#000000',
  },
}
SCSS
$custom: #cfe140;
$custom-light: #e1ea7f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe140",
  "rgb": {
    "r": 207,
    "g": 225,
    "b": 64
  },
  "hsl": {
    "h": 66.708,
    "s": 72.851,
    "l": 56.667
  },
  "oklch": {
    "l": 0.8684,
    "c": 0.17736,
    "h": 115.8
  },
  "luminance": 0.67486
}

Semantic roles & 50–950 ramp

primary
#CFE140
secondary
#3C3095
accent
#38F04D
background
#FEFEFB
surface
#FDFDF2
border
#D5D5CC
text
#16160B
muted
#84847E

Preview Lab

Preview with #CFE140

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

Preview Lab → · Contrast checker → · Palette generator →

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