#CEF273#CEF273

#CEF273 is a very light, vivid yellow-green. Relative luminance 0.779; OKLCH L 90.9% C 0.159 H 122.7°. Best body text is #000000 at 16.57:1 contrast (WCAG AA passes).

Color values

HEX#CEF273
RGBrgb(206, 242, 115)
HSLhsl(77, 83%, 70%)
HSVhsv(77, 52%, 95%)
CMYKcmyk(14.9%, 0%, 52.5%, 5.1%)
CIE-LABlab(90.72, -30.36, 56.71)
CIE-LCHlch(90.72, 64.32, 118.16°)
OKLaboklab(90.95% -0.0859 0.1337)
OKLCHoklch(90.95% 0.159 122.7)
XYZxyz(60.3005, 77.8637, 28.0688)
Luminance0.7786 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF273 #9773F2
analogous
#F2D773 #CEF273 #8EF273
triadic
#CEF273 #73CEF2 #F273CE
tetradic
#CEF273 #73F2D7 #9773F2 #F2738E
square
#CEF273 #73F2D7 #9773F2 #F2738E
split-complementary
#CEF273 #738EF2 #D773F2
monochromatic
#9FD714 #BAED3B #CEF273 #E2F7AB #F5FCE3

Accessibility & contrast

On white

1.27
#CEF273 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.57
#CEF273 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEF273
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEF273#FFFFFF#000000##000000
##CEF2731.001.2716.5716.57
#FFFFFF1.271.0021.0021.00
#00000016.5721.001.001.00
##00000016.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE567
Deuteranopia (green-blind)
#FAE47B
Tritanopia (blue-blind)
#D7E8D5
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #cef273;
/* rgb */ color: rgb(206, 242, 115);
/* oklch */ color: oklch(90.9% 0.159 122.7);
Tailwind
colors: {
  custom: {
    50: '#dff69e',
    500: '#cef273',
    950: '#000000',
  },
}
SCSS
$custom: #cef273;
$custom-light: #dff69e;
$custom-dark: #000000;
JSON
{
  "hex": "#cef273",
  "rgb": {
    "r": 206,
    "g": 242,
    "b": 115
  },
  "hsl": {
    "h": 77.008,
    "s": 83.007,
    "l": 70
  },
  "oklch": {
    "l": 0.90948,
    "c": 0.15893,
    "h": 122.7
  },
  "luminance": 0.77864
}

Semantic roles & 50–950 ramp

primary
#CEF273
secondary
#663DCC
accent
#06DF44
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CEF273

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

Preview Lab → · Contrast checker → · Palette generator →

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