#CDF274#CDF274

#CDF274 is a very light, vivid yellow-green. Relative luminance 0.777; OKLCH L 90.9% C 0.158 H 123.1°. Best body text is #000000 at 16.55:1 contrast (WCAG AA passes).

Color values

HEX#CDF274
RGBrgb(205, 242, 116)
HSLhsl(78, 83%, 70%)
HSVhsv(78, 52%, 95%)
CMYKcmyk(15.3%, 0%, 52.1%, 5.1%)
CIE-LABlab(90.66, -30.64, 56.18)
CIE-LCHlch(90.66, 63.99, 118.61°)
OKLaboklab(90.89% -0.0866 0.1327)
OKLCHoklch(90.89% 0.158 123.1)
XYZxyz(60.0816, 77.7441, 28.3605)
Luminance0.7774 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF274 #9974F2
analogous
#F2D874 #CDF274 #8EF274
triadic
#CDF274 #74CDF2 #F274CD
tetradic
#CDF274 #74F2D8 #9974F2 #F2748E
square
#CDF274 #74F2D8 #9974F2 #F2748E
split-complementary
#CDF274 #748EF2 #D874F2
monochromatic
#9ED714 #B9ED3C #CDF274 #E1F7AC #F5FCE3

Accessibility & contrast

On white

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

On black

16.55
#CDF274 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF274
16.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF274#FFFFFF#000000##000000
##CDF2741.001.2716.5516.55
#FFFFFF1.271.0021.0021.00
#00000016.5521.001.001.00
##00000016.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE568
Deuteranopia (green-blind)
#F9E47C
Tritanopia (blue-blind)
#D5E8D6
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #cdf274;
/* rgb */ color: rgb(205, 242, 116);
/* oklch */ color: oklch(90.9% 0.158 123.1);
Tailwind
colors: {
  custom: {
    50: '#def69f',
    500: '#cdf274',
    950: '#000000',
  },
}
SCSS
$custom: #cdf274;
$custom-light: #def69f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf274",
  "rgb": {
    "r": 205,
    "g": 242,
    "b": 116
  },
  "hsl": {
    "h": 77.619,
    "s": 82.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.90891,
    "c": 0.1584,
    "h": 123.1
  },
  "luminance": 0.77744
}

Semantic roles & 50–950 ramp

primary
#CDF274
secondary
#683ECC
accent
#06DF46
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CDF274

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

Preview Lab → · Contrast checker → · Palette generator →

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