#CEFA7C#CEFA7C

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

Color values

HEX#CEFA7C
RGBrgb(206, 250, 124)
HSLhsl(81, 93%, 73%)
HSVhsv(81, 50%, 98%)
CMYKcmyk(17.6%, 0%, 50.4%, 2%)
CIE-LABlab(92.99, -33.20, 55.30)
CIE-LCHlch(92.99, 64.50, 120.98°)
OKLaboklab(92.81% -0.0931 0.1314)
OKLCHoklch(92.81% 0.161 125.3)
XYZxyz(63.2772, 82.9477, 31.7417)
Luminance0.8295 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEFA7C #A87CFA
analogous
#FAE77C #CEFA7C #8FFA7C
triadic
#CEFA7C #7CCEFA #FA7CCE
tetradic
#CEFA7C #7CFAE7 #A87CFA #FA7C8F
square
#CEFA7C #7CFAE7 #A87CFA #FA7C8F
split-complementary
#CEFA7C #7C8FFA #E77CFA
monochromatic
#A1F209 #B8F841 #CEFA7C #E4FCB7 #F4FEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEFA7C#FFFFFF#000000##000000
##CEFA7C1.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)
#FFEC71
Deuteranopia (green-blind)
#FFEA84
Tritanopia (blue-blind)
#D5F0DD
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #cefa7c;
/* rgb */ color: rgb(206, 250, 124);
/* oklch */ color: oklch(92.8% 0.161 125.3);
Tailwind
colors: {
  custom: {
    50: '#dffca5',
    500: '#cefa7c',
    950: '#000000',
  },
}
SCSS
$custom: #cefa7c;
$custom-light: #dffca5;
$custom-dark: #000000;
JSON
{
  "hex": "#cefa7c",
  "rgb": {
    "r": 206,
    "g": 250,
    "b": 124
  },
  "hsl": {
    "h": 80.952,
    "s": 92.647,
    "l": 73.333
  },
  "oklch": {
    "l": 0.9281,
    "c": 0.16104,
    "h": 125.3
  },
  "luminance": 0.82948
}

Semantic roles & 50–950 ramp

primary
#CEFA7C
secondary
#7743D7
accent
#00E650
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CEFA7C

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

Preview Lab → · Contrast checker → · Palette generator →

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