#F2DD71#F2DD71

#F2DD71 is a very light, vivid yellow. Relative luminance 0.718; OKLCH L 89.3% C 0.131 H 98.5°. Best body text is #000000 at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#F2DD71
RGBrgb(242, 221, 113)
HSLhsl(50, 83%, 70%)
HSVhsv(50, 53%, 95%)
CMYKcmyk(0%, 8.7%, 53.3%, 5.1%)
CIE-LABlab(87.86, -6.15, 54.95)
CIE-LCHlch(87.86, 55.30, 96.38°)
OKLaboklab(89.33% -0.0193 0.1292)
OKLCHoklch(89.33% 0.131 98.5)
XYZxyz(65.4573, 71.7850, 26.0275)
Luminance0.7178 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DD71 #7186F2
analogous
#F29D71 #F2DD71 #C6F271
triadic
#F2DD71 #71F2DD #DD71F2
tetradic
#F2DD71 #71F29D #7186F2 #F271C6
square
#F2DD71 #71F29D #7186F2 #F271C6
split-complementary
#F2DD71 #71C6F2 #9D71F2
monochromatic
#D5B614 #EDD039 #F2DD71 #F7EAA9 #FCF8E1

Accessibility & contrast

On white

1.37
#F2DD71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.36
#F2DD71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DD71
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DD71#FFFFFF#000000##000000
##F2DD711.001.3715.3615.36
#FFFFFF1.371.0021.0021.00
#00000015.3621.001.001.00
##00000015.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD867
Deuteranopia (green-blind)
#F5E076
Tritanopia (blue-blind)
#FFD0C4
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f2dd71;
/* rgb */ color: rgb(242, 221, 113);
/* oklch */ color: oklch(89.3% 0.131 98.5);
Tailwind
colors: {
  custom: {
    50: '#f9e79c',
    500: '#f2dd71',
    950: '#000000',
  },
}
SCSS
$custom: #f2dd71;
$custom-light: #f9e79c;
$custom-dark: #000000;
JSON
{
  "hex": "#f2dd71",
  "rgb": {
    "r": 242,
    "g": 221,
    "b": 113
  },
  "hsl": {
    "h": 50.233,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.89329,
    "c": 0.13062,
    "h": 98.5
  },
  "luminance": 0.71782
}

Semantic roles & 50–950 ramp

primary
#F2DD71
secondary
#3C53CB
accent
#29E006
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2DD71

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

Preview Lab → · Contrast checker → · Palette generator →

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