#CFE05A#CFE05A

#CFE05A is a very light, vivid yellow. Relative luminance 0.673; OKLCH L 86.8% C 0.158 H 115.9°. Best body text is #000000 at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#CFE05A
RGBrgb(207, 224, 90)
HSLhsl(68, 68%, 62%)
HSVhsv(68, 60%, 88%)
CMYKcmyk(7.6%, 0%, 59.8%, 12.2%)
CIE-LABlab(85.66, -23.49, 61.96)
CIE-LCHlch(85.66, 66.26, 110.76°)
OKLaboklab(86.83% -0.069 0.1423)
OKLCHoklch(86.83% 0.158 115.9)
XYZxyz(54.2343, 67.3156, 19.8071)
Luminance0.6732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE05A #6B5AE0
analogous
#E0AE5A #CFE05A #8CE05A
triadic
#CFE05A #5ACFE0 #E05ACF
tetradic
#CFE05A #5AE0AE #6B5AE0 #E05A8C
square
#CFE05A #5AE0AE #6B5AE0 #E05A8C
split-complementary
#CFE05A #5A8CE0 #AE5AE0
monochromatic
#91A11E #BFD528 #CFE05A #DEEA8E #EDF3C1

Accessibility & contrast

On white

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

On black

14.46
#CFE05A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE05A
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE05A#FFFFFF#000000##000000
##CFE05A1.001.4514.4614.46
#FFFFFF1.451.0021.0021.00
#00000014.4621.001.001.00
##00000014.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfe05a;
/* rgb */ color: rgb(207, 224, 90);
/* oklch */ color: oklch(86.8% 0.158 115.9);
Tailwind
colors: {
  custom: {
    50: '#e0e98e',
    500: '#cfe05a',
    950: '#000000',
  },
}
SCSS
$custom: #cfe05a;
$custom-light: #e0e98e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe05a",
  "rgb": {
    "r": 207,
    "g": 224,
    "b": 90
  },
  "hsl": {
    "h": 67.612,
    "s": 68.367,
    "l": 61.569
  },
  "oklch": {
    "l": 0.8683,
    "c": 0.15817,
    "h": 115.9
  },
  "luminance": 0.67315
}

Semantic roles & 50–950 ramp

primary
#CFE05A
secondary
#473AA4
accent
#15D02D
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #CFE05A

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

Preview Lab → · Contrast checker → · Palette generator →

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