#CFE74F#CFE74F

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

Color values

HEX#CFE74F
RGBrgb(207, 231, 79)
HSLhsl(69, 76%, 61%)
HSVhsv(69, 66%, 91%)
CMYKcmyk(10.4%, 0%, 65.8%, 9.4%)
CIE-LABlab(87.48, -27.55, 68.31)
CIE-LCHlch(87.48, 73.66, 111.96°)
OKLaboklab(88.26% -0.0815 0.1542)
OKLCHoklch(88.26% 0.174 117.8)
XYZxyz(55.7204, 70.9823, 18.1612)
Luminance0.7098 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE74F #674FE7
analogous
#E7B34F #CFE74F #83E74F
triadic
#CFE74F #4FCFE7 #E74FCF
tetradic
#CFE74F #4FE7B3 #674FE7 #E74F83
square
#CFE74F #4FE7B3 #674FE7 #E74F83
split-complementary
#CFE74F #4F83E7 #B34FE7
monochromatic
#8FA517 #BDDB1E #CFE74F #DEEE85 #ECF6BB

Accessibility & contrast

On white

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

On black

15.20
#CFE74F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE74F
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE74F#FFFFFF#000000##000000
##CFE74F1.001.3815.2015.20
#FFFFFF1.381.0021.0021.00
#00000015.2021.001.001.00
##00000015.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfe74f;
/* rgb */ color: rgb(207, 231, 79);
/* oklch */ color: oklch(88.3% 0.174 117.8);
Tailwind
colors: {
  custom: {
    50: '#e1ee88',
    500: '#cfe74f',
    950: '#000000',
  },
}
SCSS
$custom: #cfe74f;
$custom-light: #e1ee88;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe74f",
  "rgb": {
    "r": 207,
    "g": 231,
    "b": 79
  },
  "hsl": {
    "h": 69.474,
    "s": 76,
    "l": 60.784
  },
  "oklch": {
    "l": 0.88258,
    "c": 0.17442,
    "h": 117.8
  },
  "luminance": 0.70982
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFE74F

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

Preview Lab → · Contrast checker → · Palette generator →

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