#CFE845#CFE845

#CFE845 is a very light, vivid yellow. Relative luminance 0.714; OKLCH L 88.4% C 0.182 H 117.9°. Best body text is #000000 at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#CFE845
RGBrgb(207, 232, 69)
HSLhsl(69, 78%, 59%)
HSVhsv(69, 70%, 91%)
CMYKcmyk(10.8%, 0%, 70.3%, 9%)
CIE-LABlab(87.68, -28.58, 72.18)
CIE-LCHlch(87.68, 77.63, 111.60°)
OKLaboklab(88.4% -0.0852 0.1608)
OKLCHoklch(88.4% 0.182 117.9)
XYZxyz(55.6641, 71.4088, 16.4800)
Luminance0.7141 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE845 #5E45E8
analogous
#E8AF45 #CFE845 #7EE845
triadic
#CFE845 #45CFE8 #E845CF
tetradic
#CFE845 #45E8AF #5E45E8 #E8457E
square
#CFE845 #45E8AF #5E45E8 #E8457E
split-complementary
#CFE845 #457EE8 #AF45E8
monochromatic
#8A9F14 #B9D51A #CFE845 #DDEF7B #EBF5B2

Accessibility & contrast

On white

1.37
#CFE845 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.28
#CFE845 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE845
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE845#FFFFFF#000000##000000
##CFE8451.001.3715.2815.28
#FFFFFF1.371.0021.0021.00
#00000015.2821.001.001.00
##00000015.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DB28
Deuteranopia (green-blind)
#F5DD52
Tritanopia (blue-blind)
#DBDBC8
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #cfe845;
/* rgb */ color: rgb(207, 232, 69);
/* oklch */ color: oklch(88.4% 0.182 117.9);
Tailwind
colors: {
  custom: {
    50: '#e1ef83',
    500: '#cfe845',
    950: '#000000',
  },
}
SCSS
$custom: #cfe845;
$custom-light: #e1ef83;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe845",
  "rgb": {
    "r": 207,
    "g": 232,
    "b": 69
  },
  "hsl": {
    "h": 69.202,
    "s": 77.99,
    "l": 59.02
  },
  "oklch": {
    "l": 0.88403,
    "c": 0.18203,
    "h": 117.9
  },
  "luminance": 0.71408
}

Semantic roles & 50–950 ramp

primary
#CFE845
secondary
#412FA2
accent
#33F451
background
#FEFFFB
surface
#FDFEF2
border
#D5D6CC
text
#16160B
muted
#84857E

Preview Lab

Preview with #CFE845

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

Preview Lab → · Contrast checker → · Palette generator →

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