#CEFA7B#CEFA7B

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

Color values

HEX#CEFA7B
RGBrgb(206, 250, 123)
HSLhsl(81, 93%, 73%)
HSVhsv(81, 51%, 98%)
CMYKcmyk(17.6%, 0%, 50.8%, 2%)
CIE-LABlab(92.98, -33.30, 55.75)
CIE-LCHlch(92.98, 64.94, 120.85°)
OKLaboklab(92.8% -0.0935 0.1323)
OKLCHoklch(92.8% 0.162 125.3)
XYZxyz(63.2143, 82.9225, 31.4103)
Luminance0.8292 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEFA7B #A77BFA
analogous
#FAE67B #CEFA7B #8EFA7B
triadic
#CEFA7B #7BCEFA #FA7BCE
tetradic
#CEFA7B #7BFAE6 #A77BFA #FA7B8E
square
#CEFA7B #7BFAE6 #A77BFA #FA7B8E
split-complementary
#CEFA7B #7B8EFA #E67BFA
monochromatic
#A1F109 #B8F840 #CEFA7B #E4FCB6 #F4FEE2

Accessibility & contrast

On white

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

On black

17.58
#CEFA7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEFA7B
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEFA7B#FFFFFF#000000##000000
##CEFA7B1.001.1917.5817.58
#FFFFFF1.191.0021.0021.00
#00000017.5821.001.001.00
##00000017.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cefa7b;
/* rgb */ color: rgb(206, 250, 123);
/* oklch */ color: oklch(92.8% 0.162 125.3);
Tailwind
colors: {
  custom: {
    50: '#dffca4',
    500: '#cefa7b',
    950: '#000000',
  },
}
SCSS
$custom: #cefa7b;
$custom-light: #dffca4;
$custom-dark: #000000;
JSON
{
  "hex": "#cefa7b",
  "rgb": {
    "r": 206,
    "g": 250,
    "b": 123
  },
  "hsl": {
    "h": 80.787,
    "s": 92.701,
    "l": 73.137
  },
  "oklch": {
    "l": 0.92797,
    "c": 0.16197,
    "h": 125.3
  },
  "luminance": 0.82923
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CEFA7B

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

Preview Lab → · Contrast checker → · Palette generator →

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