#CFE45F#CFE45F

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

Color values

HEX#CFE45F
RGBrgb(207, 228, 95)
HSLhsl(69, 71%, 63%)
HSVhsv(69, 58%, 89%)
CMYKcmyk(9.2%, 0%, 58.3%, 10.6%)
CIE-LABlab(86.79, -25.04, 61.07)
CIE-LCHlch(86.79, 66.01, 112.29°)
OKLaboklab(87.75% -0.0729 0.141)
OKLCHoklch(87.75% 0.159 117.3)
XYZxyz(55.5420, 69.5790, 21.3284)
Luminance0.6958 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE45F #745FE4
analogous
#E4B75F #CFE45F #8CE45F
triadic
#CFE45F #5FCFE4 #E45FCF
tetradic
#CFE45F #5FE4B7 #745FE4 #E45F8C
square
#CFE45F #5FE4B7 #745FE4 #E45F8C
split-complementary
#CFE45F #5F8CE4 #B75FE4
monochromatic
#95AC1D #BFDB2B #CFE45F #DFED93 #EEF6C8

Accessibility & contrast

On white

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

On black

14.92
#CFE45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE45F
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE45F#FFFFFF#000000##000000
##CFE45F1.001.4114.9214.92
#FFFFFF1.411.0021.0021.00
#00000014.9221.001.001.00
##00000014.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfe45f;
/* rgb */ color: rgb(207, 228, 95);
/* oklch */ color: oklch(87.7% 0.159 117.3);
Tailwind
colors: {
  custom: {
    50: '#e0ec91',
    500: '#cfe45f',
    950: '#000000',
  },
}
SCSS
$custom: #cfe45f;
$custom-light: #e0ec91;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe45f",
  "rgb": {
    "r": 207,
    "g": 228,
    "b": 95
  },
  "hsl": {
    "h": 69.474,
    "s": 71.123,
    "l": 63.333
  },
  "oklch": {
    "l": 0.87748,
    "c": 0.15876,
    "h": 117.3
  },
  "luminance": 0.69578
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFE45F

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

Preview Lab → · Contrast checker → · Palette generator →

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