#CFE45A#CFE45A

#CFE45A is a very light, vivid yellow. Relative luminance 0.695; OKLCH L 87.7% C 0.163 H 117.2°. Best body text is #000000 at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#CFE45A
RGBrgb(207, 228, 90)
HSLhsl(69, 72%, 62%)
HSVhsv(69, 61%, 89%)
CMYKcmyk(9.2%, 0%, 60.5%, 10.6%)
CIE-LABlab(86.75, -25.41, 63.14)
CIE-LCHlch(86.75, 68.06, 111.92°)
OKLaboklab(87.7% -0.0744 0.1448)
OKLCHoklch(87.7% 0.163 117.2)
XYZxyz(55.3220, 69.4910, 20.1696)
Luminance0.6949 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE45A #6F5AE4
analogous
#E4B45A #CFE45A #8AE45A
triadic
#CFE45A #5ACFE4 #E45ACF
tetradic
#CFE45A #5AE4B4 #6F5AE4 #E45A8A
square
#CFE45A #5AE4B4 #6F5AE4 #E45A8A
split-complementary
#CFE45A #5A8AE4 #B45AE4
monochromatic
#93A81C #C0DB25 #CFE45A #DEED8F #EEF5C3

Accessibility & contrast

On white

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

On black

14.90
#CFE45A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE45A
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE45A#FFFFFF#000000##000000
##CFE45A1.001.4114.9014.90
#FFFFFF1.411.0021.0021.00
#00000014.9021.001.001.00
##00000014.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D94A
Deuteranopia (green-blind)
#F0DA63
Tritanopia (blue-blind)
#DBD8C7
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #cfe45a;
/* rgb */ color: rgb(207, 228, 90);
/* oklch */ color: oklch(87.7% 0.163 117.2);
Tailwind
colors: {
  custom: {
    50: '#e0ec8e',
    500: '#cfe45a',
    950: '#000000',
  },
}
SCSS
$custom: #cfe45a;
$custom-light: #e0ec8e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe45a",
  "rgb": {
    "r": 207,
    "g": 228,
    "b": 90
  },
  "hsl": {
    "h": 69.13,
    "s": 71.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.87699,
    "c": 0.16281,
    "h": 117.2
  },
  "luminance": 0.6949
}

Semantic roles & 50–950 ramp

primary
#CFE45A
secondary
#4A38AA
accent
#12D42F
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #CFE45A

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

Preview Lab → · Contrast checker → · Palette generator →

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