#CFE05F#CFE05F

#CFE05F is a very light, vivid yellow. Relative luminance 0.674; OKLCH L 86.9% C 0.154 H 116.0°. Best body text is #000000 at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#CFE05F
RGBrgb(207, 224, 95)
HSLhsl(68, 68%, 63%)
HSVhsv(68, 58%, 88%)
CMYKcmyk(7.6%, 0%, 57.6%, 12.2%)
CIE-LABlab(85.71, -23.12, 59.87)
CIE-LCHlch(85.71, 64.18, 111.12°)
OKLaboklab(86.88% -0.0675 0.1385)
OKLCHoklch(86.88% 0.154 116)
XYZxyz(54.4544, 67.4036, 20.9658)
Luminance0.6740 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE05F #705FE0
analogous
#E0B05F #CFE05F #8EE05F
triadic
#CFE05F #5FCFE0 #E05FCF
tetradic
#CFE05F #5FE0B0 #705FE0 #E05F8E
square
#CFE05F #5FE0B0 #705FE0 #E05F8E
split-complementary
#CFE05F #5F8EE0 #B05FE0
monochromatic
#93A520 #C0D62C #CFE05F #DEEA92 #EEF4C6

Accessibility & contrast

On white

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

On black

14.48
#CFE05F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE05F
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE05F#FFFFFF#000000##000000
##CFE05F1.001.4514.4814.48
#FFFFFF1.451.0021.0021.00
#00000014.4821.001.001.00
##00000014.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED551
Deuteranopia (green-blind)
#EDD767
Tritanopia (blue-blind)
#DBD4C4
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #cfe05f;
/* rgb */ color: rgb(207, 224, 95);
/* oklch */ color: oklch(86.9% 0.154 116.0);
Tailwind
colors: {
  custom: {
    50: '#e0e991',
    500: '#cfe05f',
    950: '#000000',
  },
}
SCSS
$custom: #cfe05f;
$custom-light: #e0e991;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe05f",
  "rgb": {
    "r": 207,
    "g": 224,
    "b": 95
  },
  "hsl": {
    "h": 67.907,
    "s": 67.539,
    "l": 62.549
  },
  "oklch": {
    "l": 0.8688,
    "c": 0.15404,
    "h": 116
  },
  "luminance": 0.67403
}

Semantic roles & 50–950 ramp

primary
#CFE05F
secondary
#4A3CA7
accent
#16CF2E
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #CFE05F

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

Preview Lab → · Contrast checker → · Palette generator →

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