#CFE785#CFE785

#CFE785 is a very light, vivid yellow-green. Relative luminance 0.721; OKLCH L 88.9% C 0.126 H 120.3°. Best body text is #000000 at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#CFE785
RGBrgb(207, 231, 133)
HSLhsl(75, 67%, 71%)
HSVhsv(75, 42%, 91%)
CMYKcmyk(10.4%, 0%, 42.4%, 9.4%)
CIE-LABlab(88.02, -22.96, 44.98)
CIE-LCHlch(88.02, 50.50, 117.04°)
OKLaboklab(88.87% -0.0637 0.109)
OKLCHoklch(88.87% 0.126 120.3)
XYZxyz(58.5418, 72.1108, 33.0205)
Luminance0.7211 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE785 #9D85E7
analogous
#E7CE85 #CFE785 #9EE785
triadic
#CFE785 #85CFE7 #E785CF
tetradic
#CFE785 #85E7CE #9D85E7 #E7859E
square
#CFE785 #85E7CE #9D85E7 #E7859E
split-complementary
#CFE785 #859EE7 #CE85E7
monochromatic
#A2CA28 #BBDD52 #CFE785 #E3F1B8 #F5FAE5

Accessibility & contrast

On white

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

On black

15.42
#CFE785 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE785
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE785#FFFFFF#000000##000000
##CFE7851.001.3615.4215.42
#FFFFFF1.361.0021.0021.00
#00000015.4221.001.001.00
##00000015.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DD7D
Deuteranopia (green-blind)
#EFDD8A
Tritanopia (blue-blind)
#D7DECF
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #cfe785;
/* rgb */ color: rgb(207, 231, 133);
/* oklch */ color: oklch(88.9% 0.126 120.3);
Tailwind
colors: {
  custom: {
    50: '#dfeeaa',
    500: '#cfe785',
    950: '#000000',
  },
}
SCSS
$custom: #cfe785;
$custom-light: #dfeeaa;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe785",
  "rgb": {
    "r": 207,
    "g": 231,
    "b": 133
  },
  "hsl": {
    "h": 74.694,
    "s": 67.123,
    "l": 71.373
  },
  "oklch": {
    "l": 0.88872,
    "c": 0.12627,
    "h": 120.3
  },
  "luminance": 0.72111
}

Semantic roles & 50–950 ramp

primary
#CFE785
secondary
#6C50C0
accent
#16CF44
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151610
muted
#848581

Preview Lab

Preview with #CFE785

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

Preview Lab → · Contrast checker → · Palette generator →

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