#CFE045#CFE045

#CFE045 is a very light, vivid yellow. Relative luminance 0.670; OKLCH L 86.7% C 0.173 H 115.5°. Best body text is #000000 at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#CFE045
RGBrgb(207, 224, 69)
HSLhsl(67, 71%, 57%)
HSVhsv(67, 69%, 88%)
CMYKcmyk(7.6%, 0%, 69.2%, 12.2%)
CIE-LABlab(85.51, -24.79, 70.03)
CIE-LCHlch(85.51, 74.29, 109.50°)
OKLaboklab(86.66% -0.0747 0.1563)
OKLCHoklch(86.66% 0.173 115.5)
XYZxyz(53.4633, 67.0072, 15.7464)
Luminance0.6701 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE045 #5645E0
analogous
#E0A445 #CFE045 #81E045
triadic
#CFE045 #45CFE0 #E045CF
tetradic
#CFE045 #45E0A4 #5645E0 #E04581
square
#CFE045 #45E0A4 #5645E0 #E04581
split-complementary
#CFE045 #4581E0 #A445E0
monochromatic
#859218 #B5C721 #CFE045 #DDE979 #EAF1AE

Accessibility & contrast

On white

1.46
#CFE045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.40
#CFE045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE045
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE045#FFFFFF#000000##000000
##CFE0451.001.4614.4014.40
#FFFFFF1.461.0021.0021.00
#00000014.4021.001.001.00
##00000014.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D52B
Deuteranopia (green-blind)
#EED751
Tritanopia (blue-blind)
#DCD3C2
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #cfe045;
/* rgb */ color: rgb(207, 224, 69);
/* oklch */ color: oklch(86.7% 0.173 115.5);
Tailwind
colors: {
  custom: {
    50: '#e1e982',
    500: '#cfe045',
    950: '#000000',
  },
}
SCSS
$custom: #cfe045;
$custom-light: #e1e982;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe045",
  "rgb": {
    "r": 207,
    "g": 224,
    "b": 69
  },
  "hsl": {
    "h": 66.581,
    "s": 71.429,
    "l": 57.451
  },
  "oklch": {
    "l": 0.86656,
    "c": 0.17326,
    "h": 115.5
  },
  "luminance": 0.67006
}

Semantic roles & 50–950 ramp

primary
#CFE045
secondary
#3D3297
accent
#3AEE4D
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16160B
muted
#84847E

Preview Lab

Preview with #CFE045

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

Preview Lab → · Contrast checker → · Palette generator →

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