#CEFA7D#CEFA7D

#CEFA7D is a very light, vivid yellow-green. Relative luminance 0.830; OKLCH L 92.8% C 0.160 H 125.4°. Best body text is #000000 at 17.59:1 contrast (WCAG AA passes).

Color values

HEX#CEFA7D
RGBrgb(206, 250, 125)
HSLhsl(81, 93%, 74%)
HSVhsv(81, 50%, 98%)
CMYKcmyk(17.6%, 0%, 50%, 2%)
CIE-LABlab(93.00, -33.10, 54.86)
CIE-LCHlch(93.00, 64.07, 121.11°)
OKLaboklab(92.82% -0.0928 0.1305)
OKLCHoklch(92.82% 0.16 125.4)
XYZxyz(63.3408, 82.9731, 32.0765)
Luminance0.8297 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEFA7D #A97DFA
analogous
#FAE77D #CEFA7D #8FFA7D
triadic
#CEFA7D #7DCEFA #FA7DCE
tetradic
#CEFA7D #7DFAE7 #A97DFA #FA7D8F
square
#CEFA7D #7DFAE7 #A97DFA #FA7D8F
split-complementary
#CEFA7D #7D8FFA #E77DFA
monochromatic
#A1F309 #B8F842 #CEFA7D #E4FCB8 #F4FEE2

Accessibility & contrast

On white

1.19
#CEFA7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.59
#CEFA7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEFA7D
17.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEFA7D#FFFFFF#000000##000000
##CEFA7D1.001.1917.5917.59
#FFFFFF1.191.0021.0021.00
#00000017.5921.001.001.00
##00000017.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC72
Deuteranopia (green-blind)
#FFEA84
Tritanopia (blue-blind)
#D5F0DD
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #cefa7d;
/* rgb */ color: rgb(206, 250, 125);
/* oklch */ color: oklch(92.8% 0.160 125.4);
Tailwind
colors: {
  custom: {
    50: '#dffca5',
    500: '#cefa7d',
    950: '#000000',
  },
}
SCSS
$custom: #cefa7d;
$custom-light: #dffca5;
$custom-dark: #000000;
JSON
{
  "hex": "#cefa7d",
  "rgb": {
    "r": 206,
    "g": 250,
    "b": 125
  },
  "hsl": {
    "h": 81.12,
    "s": 92.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.92822,
    "c": 0.1601,
    "h": 125.4
  },
  "luminance": 0.82974
}

Semantic roles & 50–950 ramp

primary
#CEFA7D
secondary
#7844D7
accent
#00E651
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CEFA7D

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

Preview Lab → · Contrast checker → · Palette generator →

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