#CFE84B#CFE84B

#CFE84B is a very light, vivid yellow. Relative luminance 0.715; OKLCH L 88.4% C 0.178 H 118.0°. Best body text is #000000 at 15.30:1 contrast (WCAG AA passes).

Color values

HEX#CFE84B
RGBrgb(207, 232, 75)
HSLhsl(70, 77%, 60%)
HSVhsv(70, 68%, 91%)
CMYKcmyk(10.8%, 0%, 67.7%, 9%)
CIE-LABlab(87.72, -28.26, 70.07)
CIE-LCHlch(87.72, 75.55, 111.96°)
OKLaboklab(88.45% -0.0838 0.1573)
OKLCHoklch(88.45% 0.178 118)
XYZxyz(55.8599, 71.4871, 17.5109)
Luminance0.7149 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE84B #644BE8
analogous
#E8B24B #CFE84B #81E84B
triadic
#CFE84B #4BCFE8 #E84BCF
tetradic
#CFE84B #4BE8B2 #644BE8 #E84B81
square
#CFE84B #4BE8B2 #644BE8 #E84B81
split-complementary
#CFE84B #4B81E8 #B24BE8
monochromatic
#8DA415 #BCDA1C #CFE84B #DDEF81 #ECF6B8

Accessibility & contrast

On white

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

On black

15.30
#CFE84B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE84B
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE84B#FFFFFF#000000##000000
##CFE84B1.001.3715.3015.30
#FFFFFF1.371.0021.0021.00
#00000015.3021.001.001.00
##00000015.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DC33
Deuteranopia (green-blind)
#F4DD57
Tritanopia (blue-blind)
#DBDCC9
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #cfe84b;
/* rgb */ color: rgb(207, 232, 75);
/* oklch */ color: oklch(88.4% 0.178 118.0);
Tailwind
colors: {
  custom: {
    50: '#e1ef86',
    500: '#cfe84b',
    950: '#000000',
  },
}
SCSS
$custom: #cfe84b;
$custom-light: #e1ef86;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe84b",
  "rgb": {
    "r": 207,
    "g": 232,
    "b": 75
  },
  "hsl": {
    "h": 69.554,
    "s": 77.34,
    "l": 60.196
  },
  "oklch": {
    "l": 0.88446,
    "c": 0.17825,
    "h": 118
  },
  "luminance": 0.71487
}

Semantic roles & 50–950 ramp

primary
#CFE84B
secondary
#4431A6
accent
#0CDA2D
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160C
muted
#84857F

Preview Lab

Preview with #CFE84B

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

Preview Lab → · Contrast checker → · Palette generator →

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