#CFE45E#CFE45E

#CFE45E is a very light, vivid yellow. Relative luminance 0.696; OKLCH L 87.7% C 0.160 H 117.3°. Best body text is #000000 at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#CFE45E
RGBrgb(207, 228, 94)
HSLhsl(69, 71%, 63%)
HSVhsv(69, 59%, 89%)
CMYKcmyk(9.2%, 0%, 58.8%, 10.6%)
CIE-LABlab(86.78, -25.11, 61.49)
CIE-LCHlch(86.78, 66.42, 112.22°)
OKLaboklab(87.74% -0.0732 0.1418)
OKLCHoklch(87.74% 0.16 117.3)
XYZxyz(55.4969, 69.5609, 21.0905)
Luminance0.6956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE45E #735EE4
analogous
#E4B65E #CFE45E #8CE45E
triadic
#CFE45E #5ECFE4 #E45ECF
tetradic
#CFE45E #5EE4B6 #735EE4 #E45E8C
square
#CFE45E #5EE4B6 #735EE4 #E45E8C
split-complementary
#CFE45E #5E8CE4 #B65EE4
monochromatic
#95AB1D #BFDB2A #CFE45E #DFED92 #EEF6C7

Accessibility & contrast

On white

1.41
#CFE45E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.91
#CFE45E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE45E
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE45E#FFFFFF#000000##000000
##CFE45E1.001.4114.9114.91
#FFFFFF1.411.0021.0021.00
#00000014.9121.001.001.00
##00000014.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D94F
Deuteranopia (green-blind)
#F0DA67
Tritanopia (blue-blind)
#DAD8C7
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #cfe45e;
/* rgb */ color: rgb(207, 228, 94);
/* oklch */ color: oklch(87.7% 0.160 117.3);
Tailwind
colors: {
  custom: {
    50: '#e0ec91',
    500: '#cfe45e',
    950: '#000000',
  },
}
SCSS
$custom: #cfe45e;
$custom-light: #e0ec91;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe45e",
  "rgb": {
    "r": 207,
    "g": 228,
    "b": 94
  },
  "hsl": {
    "h": 69.403,
    "s": 71.277,
    "l": 63.137
  },
  "oklch": {
    "l": 0.87738,
    "c": 0.15958,
    "h": 117.3
  },
  "luminance": 0.6956
}

Semantic roles & 50–950 ramp

primary
#CFE45E
secondary
#4C3AAD
accent
#12D330
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #CFE45E

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

Preview Lab → · Contrast checker → · Palette generator →

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