#CFE285#CFE285

#CFE285 is a very light, moderate yellow-green. Relative luminance 0.694; OKLCH L 87.8% C 0.120 H 118.4°. Best body text is #000000 at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#CFE285
RGBrgb(207, 226, 133)
HSLhsl(72, 62%, 70%)
HSVhsv(72, 41%, 89%)
CMYKcmyk(8.4%, 0%, 41.2%, 11.4%)
CIE-LABlab(86.68, -20.53, 43.29)
CIE-LCHlch(86.68, 47.91, 115.37°)
OKLaboklab(87.8% -0.0568 0.1052)
OKLCHoklch(87.8% 0.12 118.4)
XYZxyz(57.1624, 69.3519, 32.5606)
Luminance0.6935 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE285 #9885E2
analogous
#E2C685 #CFE285 #A0E285
triadic
#CFE285 #85CFE2 #E285CF
tetradic
#CFE285 #85E2C6 #9885E2 #E285A0
square
#CFE285 #85E2C6 #9885E2 #E285A0
split-complementary
#CFE285 #85A0E2 #C685E2
monochromatic
#A1BF2D #BCD654 #CFE285 #E2EEB6 #F5F9E6

Accessibility & contrast

On white

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

On black

14.87
#CFE285 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE285
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE285#FFFFFF#000000##000000
##CFE2851.001.4114.8714.87
#FFFFFF1.411.0021.0021.00
#00000014.8721.001.001.00
##00000014.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD97E
Deuteranopia (green-blind)
#EBD98A
Tritanopia (blue-blind)
#D7D9CB
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #cfe285;
/* rgb */ color: rgb(207, 226, 133);
/* oklch */ color: oklch(87.8% 0.120 118.4);
Tailwind
colors: {
  custom: {
    50: '#dfebaa',
    500: '#cfe285',
    950: '#000000',
  },
}
SCSS
$custom: #cfe285;
$custom-light: #dfebaa;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe285",
  "rgb": {
    "r": 207,
    "g": 226,
    "b": 133
  },
  "hsl": {
    "h": 72.258,
    "s": 61.589,
    "l": 70.392
  },
  "oklch": {
    "l": 0.87797,
    "c": 0.11959,
    "h": 118.4
  },
  "luminance": 0.69352
}

Semantic roles & 50–950 ramp

primary
#CFE285
secondary
#6751BA
accent
#1CC940
background
#FEFEFD
surface
#FCFDF7
border
#D5D5D0
text
#151610
muted
#848481

Preview Lab

Preview with #CFE285

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

Preview Lab → · Contrast checker → · Palette generator →

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