#CFE74D#CFE74D

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

Color values

HEX#CFE74D
RGBrgb(207, 231, 77)
HSLhsl(69, 76%, 60%)
HSVhsv(69, 67%, 91%)
CMYKcmyk(10.4%, 0%, 66.7%, 9.4%)
CIE-LABlab(87.46, -27.67, 69.06)
CIE-LCHlch(87.46, 74.40, 111.83°)
OKLaboklab(88.24% -0.082 0.1555)
OKLCHoklch(88.24% 0.176 117.8)
XYZxyz(55.6487, 70.9536, 17.7836)
Luminance0.7095 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE74D #654DE7
analogous
#E7B24D #CFE74D #82E74D
triadic
#CFE74D #4DCFE7 #E74DCF
tetradic
#CFE74D #4DE7B2 #654DE7 #E74D82
square
#CFE74D #4DE7B2 #654DE7 #E74D82
split-complementary
#CFE74D #4D82E7 #B24DE7
monochromatic
#8DA416 #BCD91D #CFE74D #DEEE83 #ECF6B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFE74D#FFFFFF#000000##000000
##CFE74D1.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)
#F6DB36
Deuteranopia (green-blind)
#F3DC59
Tritanopia (blue-blind)
#DBDBC8
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #cfe74d;
/* rgb */ color: rgb(207, 231, 77);
/* oklch */ color: oklch(88.2% 0.176 117.8);
Tailwind
colors: {
  custom: {
    50: '#e1ee87',
    500: '#cfe74d',
    950: '#000000',
  },
}
SCSS
$custom: #cfe74d;
$custom-light: #e1ee87;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe74d",
  "rgb": {
    "r": 207,
    "g": 231,
    "b": 77
  },
  "hsl": {
    "h": 69.351,
    "s": 76.238,
    "l": 60.392
  },
  "oklch": {
    "l": 0.88242,
    "c": 0.1758,
    "h": 117.8
  },
  "luminance": 0.70953
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFE74D

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

Preview Lab → · Contrast checker → · Palette generator →

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