#CEF870#CEF870

#CEF870 is a very light, vivid yellow-green. Relative luminance 0.814; OKLCH L 92.2% C 0.169 H 124.0°. Best body text is #000000 at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#CEF870
RGBrgb(206, 248, 112)
HSLhsl(79, 91%, 71%)
HSVhsv(79, 55%, 97%)
CMYKcmyk(16.9%, 0%, 54.8%, 2.7%)
CIE-LABlab(92.32, -33.40, 59.91)
CIE-LCHlch(92.32, 68.59, 119.14°)
OKLaboklab(92.23% -0.0947 0.1404)
OKLCHoklch(92.23% 0.169 124)
XYZxyz(61.9459, 81.4261, 27.7794)
Luminance0.8143 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF870 #9A70F8
analogous
#F8DE70 #CEF870 #8AF870
triadic
#CEF870 #70CEF8 #F870CE
tetradic
#CEF870 #70F8DE #9A70F8 #F8708A
square
#CEF870 #70F8DE #9A70F8 #F8708A
split-complementary
#CEF870 #708AF8 #DE70F8
monochromatic
#A0E30B #BAF536 #CEF870 #E2FBAA #F5FEE2

Accessibility & contrast

On white

1.21
#CEF870 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.29
#CEF870 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEF870
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEF870#FFFFFF#000000##000000
##CEF8701.001.2117.2917.29
#FFFFFF1.211.0021.0021.00
#00000017.2921.001.001.00
##00000017.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA62
Deuteranopia (green-blind)
#FFE979
Tritanopia (blue-blind)
#D6EDDA
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #cef870;
/* rgb */ color: rgb(206, 248, 112);
/* oklch */ color: oklch(92.2% 0.169 124.0);
Tailwind
colors: {
  custom: {
    50: '#dffa9d',
    500: '#cef870',
    950: '#000000',
  },
}
SCSS
$custom: #cef870;
$custom-light: #dffa9d;
$custom-dark: #000000;
JSON
{
  "hex": "#cef870",
  "rgb": {
    "r": 206,
    "g": 248,
    "b": 112
  },
  "hsl": {
    "h": 78.529,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.92229,
    "c": 0.1693,
    "h": 124
  },
  "luminance": 0.81426
}

Semantic roles & 50–950 ramp

primary
#CEF870
secondary
#6939D3
accent
#00E647
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CEF870

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

Preview Lab → · Contrast checker → · Palette generator →

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