#CFEA51#CFEA51

#CFEA51 is a very light, vivid yellow-green. Relative luminance 0.727; OKLCH L 88.9% C 0.176 H 118.7°. Best body text is #000000 at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#CFEA51
RGBrgb(207, 234, 81)
HSLhsl(71, 78%, 62%)
HSVhsv(71, 65%, 92%)
CMYKcmyk(11.5%, 0%, 65.4%, 8.2%)
CIE-LABlab(88.31, -28.84, 68.41)
CIE-LCHlch(88.31, 74.24, 112.86°)
OKLaboklab(88.93% -0.0849 0.1547)
OKLCHoklch(88.93% 0.176 118.7)
XYZxyz(56.6412, 72.7055, 18.8327)
Luminance0.7270 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFEA51 #6C51EA
analogous
#EAB951 #CFEA51 #83EA51
triadic
#CFEA51 #51CFEA #EA51CF
tetradic
#CFEA51 #51EAB9 #6C51EA #EA5183
square
#CFEA51 #51EAB9 #6C51EA #EA5183
split-complementary
#CFEA51 #5183EA #B951EA
monochromatic
#91AC15 #BFE21B #CFEA51 #DEF188 #EDF7BE

Accessibility & contrast

On white

1.35
#CFEA51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.54
#CFEA51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFEA51
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFEA51#FFFFFF#000000##000000
##CFEA511.001.3515.5415.54
#FFFFFF1.351.0021.0021.00
#00000015.5421.001.001.00
##00000015.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DD3C
Deuteranopia (green-blind)
#F6DE5C
Tritanopia (blue-blind)
#DBDECB
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #cfea51;
/* rgb */ color: rgb(207, 234, 81);
/* oklch */ color: oklch(88.9% 0.176 118.7);
Tailwind
colors: {
  custom: {
    50: '#e1f089',
    500: '#cfea51',
    950: '#000000',
  },
}
SCSS
$custom: #cfea51;
$custom-light: #e1f089;
$custom-dark: #000000;
JSON
{
  "hex": "#cfea51",
  "rgb": {
    "r": 207,
    "g": 234,
    "b": 81
  },
  "hsl": {
    "h": 70.588,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.8893,
    "c": 0.17646,
    "h": 118.7
  },
  "luminance": 0.72705
}

Semantic roles & 50–950 ramp

primary
#CFEA51
secondary
#4832AD
accent
#0BDB2F
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160C
muted
#84857F

Preview Lab

Preview with #CFEA51

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

Preview Lab → · Contrast checker → · Palette generator →

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