#CFE74E#CFE74E

#CFE74E is a very light, vivid yellow. Relative luminance 0.710; OKLCH L 88.3% C 0.175 H 117.8°. Best body text is #000000 at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#CFE74E
RGBrgb(207, 231, 78)
HSLhsl(69, 76%, 61%)
HSVhsv(69, 66%, 91%)
CMYKcmyk(10.4%, 0%, 66.2%, 9.4%)
CIE-LABlab(87.47, -27.61, 68.69)
CIE-LCHlch(87.47, 74.03, 111.90°)
OKLaboklab(88.25% -0.0817 0.1549)
OKLCHoklch(88.25% 0.175 117.8)
XYZxyz(55.6843, 70.9678, 17.9710)
Luminance0.7097 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE74E #664EE7
analogous
#E7B34E #CFE74E #82E74E
triadic
#CFE74E #4ECFE7 #E74ECF
tetradic
#CFE74E #4EE7B3 #664EE7 #E74E82
square
#CFE74E #4EE7B3 #664EE7 #E74E82
split-complementary
#CFE74E #4E82E7 #B34EE7
monochromatic
#8EA416 #BDDA1E #CFE74E #DEEE84 #ECF6BA

Accessibility & contrast

On white

1.38
#CFE74E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.19
#CFE74E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE74E
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE74E#FFFFFF#000000##000000
##CFE74E1.001.3815.1915.19
#FFFFFF1.381.0021.0021.00
#00000015.1921.001.001.00
##00000015.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DB38
Deuteranopia (green-blind)
#F3DC59
Tritanopia (blue-blind)
#DBDBC8
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #cfe74e;
/* rgb */ color: rgb(207, 231, 78);
/* oklch */ color: oklch(88.3% 0.175 117.8);
Tailwind
colors: {
  custom: {
    50: '#e1ee87',
    500: '#cfe74e',
    950: '#000000',
  },
}
SCSS
$custom: #cfe74e;
$custom-light: #e1ee87;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe74e",
  "rgb": {
    "r": 207,
    "g": 231,
    "b": 78
  },
  "hsl": {
    "h": 69.412,
    "s": 76.119,
    "l": 60.588
  },
  "oklch": {
    "l": 0.8825,
    "c": 0.17512,
    "h": 117.8
  },
  "luminance": 0.70967
}

Semantic roles & 50–950 ramp

primary
#CFE74E
secondary
#4533A6
accent
#0DD82D
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160C
muted
#84857F

Preview Lab

Preview with #CFE74E

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

Preview Lab → · Contrast checker → · Palette generator →

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