#CFEC5A#CFEC5A

#CFEC5A is a very light, vivid yellow-green. Relative luminance 0.740; OKLCH L 89.4% C 0.172 H 119.6°. Best body text is #000000 at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#CFEC5A
RGBrgb(207, 236, 90)
HSLhsl(72, 79%, 64%)
HSVhsv(72, 62%, 93%)
CMYKcmyk(12.3%, 0%, 61.9%, 7.5%)
CIE-LABlab(88.92, -29.18, 65.49)
CIE-LCHlch(88.92, 71.70, 114.02°)
OKLaboklab(89.45% -0.085 0.1498)
OKLCHoklch(89.45% 0.172 119.6)
XYZxyz(57.5739, 73.9948, 20.9202)
Luminance0.7399 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFEC5A #775AEC
analogous
#ECC05A #CFEC5A #86EC5A
triadic
#CFEC5A #5ACFEC #EC5ACF
tetradic
#CFEC5A #5AECC0 #775AEC #EC5A86
square
#CFEC5A #5AECC0 #775AEC #EC5A86
split-complementary
#CFEC5A #5A86EC #C05AEC
monochromatic
#96B715 #BFE623 #CFEC5A #DFF291 #EFF9C8

Accessibility & contrast

On white

1.33
#CFEC5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.80
#CFEC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFEC5A
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFEC5A#FFFFFF#000000##000000
##CFEC5A1.001.3315.8015.80
#FFFFFF1.331.0021.0021.00
#00000015.8021.001.001.00
##00000015.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FADF48
Deuteranopia (green-blind)
#F7E064
Tritanopia (blue-blind)
#DAE0CE
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #cfec5a;
/* rgb */ color: rgb(207, 236, 90);
/* oklch */ color: oklch(89.4% 0.172 119.6);
Tailwind
colors: {
  custom: {
    50: '#e1f28f',
    500: '#cfec5a',
    950: '#000000',
  },
}
SCSS
$custom: #cfec5a;
$custom-light: #e1f28f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfec5a",
  "rgb": {
    "r": 207,
    "g": 236,
    "b": 90
  },
  "hsl": {
    "h": 71.918,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.89445,
    "c": 0.17221,
    "h": 119.6
  },
  "luminance": 0.73994
}

Semantic roles & 50–950 ramp

primary
#CFEC5A
secondary
#4E34B6
accent
#0ADC34
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #CFEC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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