#CFE873#CFE873

#CFE873 is a very light, vivid yellow-green. Relative luminance 0.722; OKLCH L 88.8% C 0.146 H 119.4°. Best body text is #000000 at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#CFE873
RGBrgb(207, 232, 115)
HSLhsl(73, 72%, 68%)
HSVhsv(73, 50%, 91%)
CMYKcmyk(10.8%, 0%, 50.4%, 9%)
CIE-LABlab(88.07, -25.26, 53.60)
CIE-LCHlch(88.07, 59.26, 115.23°)
OKLaboklab(88.84% -0.0717 0.1269)
OKLCHoklch(88.84% 0.146 119.4)
XYZxyz(57.6838, 72.2167, 27.1167)
Luminance0.7222 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE873 #8C73E8
analogous
#E8C773 #CFE873 #94E873
triadic
#CFE873 #73CFE8 #E873CF
tetradic
#CFE873 #73E8C7 #8C73E8 #E87394
square
#CFE873 #73E8C7 #8C73E8 #E87394
split-complementary
#CFE873 #7394E8 #C773E8
monochromatic
#9EC120 #BDDF3E #CFE873 #E1F1A8 #F3F9DC

Accessibility & contrast

On white

1.36
#CFE873 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.44
#CFE873 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE873
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE873#FFFFFF#000000##000000
##CFE8731.001.3615.4415.44
#FFFFFF1.361.0021.0021.00
#00000015.4421.001.001.00
##00000015.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DD68
Deuteranopia (green-blind)
#F2DD7A
Tritanopia (blue-blind)
#D9DECD
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #cfe873;
/* rgb */ color: rgb(207, 232, 115);
/* oklch */ color: oklch(88.8% 0.146 119.4);
Tailwind
colors: {
  custom: {
    50: '#e0ef9e',
    500: '#cfe873',
    950: '#000000',
  },
}
SCSS
$custom: #cfe873;
$custom-light: #e0ef9e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe873",
  "rgb": {
    "r": 207,
    "g": 232,
    "b": 115
  },
  "hsl": {
    "h": 72.821,
    "s": 71.779,
    "l": 68.039
  },
  "oklch": {
    "l": 0.88841,
    "c": 0.14577,
    "h": 119.4
  },
  "luminance": 0.72216
}

Semantic roles & 50–950 ramp

primary
#CFE873
secondary
#5B40C0
accent
#12D43B
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15160F
muted
#848580

Preview Lab

Preview with #CFE873

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

Preview Lab → · Contrast checker → · Palette generator →

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