#CDF792#CDF792

#CDF792 is a very light, vivid yellow-green. Relative luminance 0.816; OKLCH L 92.4% C 0.135 H 127.3°. Best body text is #000000 at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#CDF792
RGBrgb(205, 247, 146)
HSLhsl(85, 86%, 77%)
HSVhsv(85, 41%, 97%)
CMYKcmyk(17%, 0%, 40.9%, 3.1%)
CIE-LABlab(92.39, -29.80, 44.14)
CIE-LCHlch(92.39, 53.25, 124.02°)
OKLaboklab(92.4% -0.0821 0.1078)
OKLCHoklch(92.4% 0.135 127.3)
XYZxyz(63.6253, 81.5753, 39.5821)
Luminance0.8158 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF792 #BC92F7
analogous
#F7EE92 #CDF792 #9BF792
triadic
#CDF792 #92CDF7 #F792CD
tetradic
#CDF792 #92F7EE #BC92F7 #F7929B
square
#CDF792 #92F7EE #BC92F7 #F7929B
split-complementary
#CDF792 #929BF7 #EE92F7
monochromatic
#99EF20 #B3F359 #CDF792 #E7FBCB #F2FDE2

Accessibility & contrast

On white

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

On black

17.32
#CDF792 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF792
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF792#FFFFFF#000000##000000
##CDF7921.001.2117.3217.32
#FFFFFF1.211.0021.0021.00
#00000017.3221.001.001.00
##00000017.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB8A
Deuteranopia (green-blind)
#FAE897
Tritanopia (blue-blind)
#D2EFDE
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #cdf792;
/* rgb */ color: rgb(205, 247, 146);
/* oklch */ color: oklch(92.4% 0.135 127.3);
Tailwind
colors: {
  custom: {
    50: '#ddfab3',
    500: '#cdf792',
    950: '#000000',
  },
}
SCSS
$custom: #cdf792;
$custom-light: #ddfab3;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf792",
  "rgb": {
    "r": 205,
    "g": 247,
    "b": 146
  },
  "hsl": {
    "h": 84.95,
    "s": 86.325,
    "l": 77.059
  },
  "oklch": {
    "l": 0.92396,
    "c": 0.13546,
    "h": 127.3
  },
  "luminance": 0.81576
}

Semantic roles & 50–950 ramp

primary
#CDF792
secondary
#8C58D6
accent
#03E360
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CDF792

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

Preview Lab → · Contrast checker → · Palette generator →

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