#F2DE71#F2DE71

#F2DE71 is a very light, vivid yellow. Relative luminance 0.723; OKLCH L 89.5% C 0.131 H 99.1°. Best body text is #000000 at 15.46:1 contrast (WCAG AA passes).

Color values

HEX#F2DE71
RGBrgb(242, 222, 113)
HSLhsl(51, 83%, 70%)
HSVhsv(51, 53%, 95%)
CMYKcmyk(0%, 8.3%, 53.3%, 5.1%)
CIE-LABlab(88.12, -6.65, 55.25)
CIE-LCHlch(88.12, 55.65, 96.86°)
OKLaboklab(89.53% -0.0208 0.1298)
OKLCHoklch(89.53% 0.131 99.1)
XYZxyz(65.7221, 72.3146, 26.1158)
Luminance0.7231 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DE71 #7185F2
analogous
#F29E71 #F2DE71 #C5F271
triadic
#F2DE71 #71F2DE #DE71F2
tetradic
#F2DE71 #71F29E #7185F2 #F271C5
square
#F2DE71 #71F29E #7185F2 #F271C5
split-complementary
#F2DE71 #71C5F2 #9E71F2
monochromatic
#D5B714 #EDD139 #F2DE71 #F7EBA9 #FCF8E1

Accessibility & contrast

On white

1.36
#F2DE71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.46
#F2DE71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DE71
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DE71#FFFFFF#000000##000000
##F2DE711.001.3615.4615.46
#FFFFFF1.361.0021.0021.00
#00000015.4621.001.001.00
##00000015.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D967
Deuteranopia (green-blind)
#F5E076
Tritanopia (blue-blind)
#FFD1C5
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f2de71;
/* rgb */ color: rgb(242, 222, 113);
/* oklch */ color: oklch(89.5% 0.131 99.1);
Tailwind
colors: {
  custom: {
    50: '#f9e89c',
    500: '#f2de71',
    950: '#000000',
  },
}
SCSS
$custom: #f2de71;
$custom-light: #f9e89c;
$custom-dark: #000000;
JSON
{
  "hex": "#f2de71",
  "rgb": {
    "r": 242,
    "g": 222,
    "b": 113
  },
  "hsl": {
    "h": 50.698,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.89531,
    "c": 0.13148,
    "h": 99.1
  },
  "luminance": 0.72312
}

Semantic roles & 50–950 ramp

primary
#F2DE71
secondary
#3C52CB
accent
#28E006
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2DE71

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

Preview Lab → · Contrast checker → · Palette generator →

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