#F2DC71#F2DC71

#F2DC71 is a very light, vivid yellow. Relative luminance 0.713; OKLCH L 89.1% C 0.130 H 97.9°. Best body text is #000000 at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#F2DC71
RGBrgb(242, 220, 113)
HSLhsl(50, 83%, 70%)
HSVhsv(50, 53%, 95%)
CMYKcmyk(0%, 9.1%, 53.3%, 5.1%)
CIE-LABlab(87.61, -5.64, 54.65)
CIE-LCHlch(87.61, 54.95, 95.89°)
OKLaboklab(89.13% -0.0179 0.1285)
OKLCHoklch(89.13% 0.13 97.9)
XYZxyz(65.1941, 71.2585, 25.9398)
Luminance0.7126 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DC71 #7187F2
analogous
#F29B71 #F2DC71 #C8F271
triadic
#F2DC71 #71F2DC #DC71F2
tetradic
#F2DC71 #71F29B #7187F2 #F271C8
square
#F2DC71 #71F29B #7187F2 #F271C8
split-complementary
#F2DC71 #71C8F2 #9B71F2
monochromatic
#D5B414 #EDCE39 #F2DC71 #F7EAA9 #FCF8E1

Accessibility & contrast

On white

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

On black

15.25
#F2DC71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DC71
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DC71#FFFFFF#000000##000000
##F2DC711.001.3815.2515.25
#FFFFFF1.381.0021.0021.00
#00000015.2521.001.001.00
##00000015.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED767
Deuteranopia (green-blind)
#F4DF76
Tritanopia (blue-blind)
#FFCFC4
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f2dc71;
/* rgb */ color: rgb(242, 220, 113);
/* oklch */ color: oklch(89.1% 0.130 97.9);
Tailwind
colors: {
  custom: {
    50: '#f9e69c',
    500: '#f2dc71',
    950: '#000000',
  },
}
SCSS
$custom: #f2dc71;
$custom-light: #f9e69c;
$custom-dark: #000000;
JSON
{
  "hex": "#f2dc71",
  "rgb": {
    "r": 242,
    "g": 220,
    "b": 113
  },
  "hsl": {
    "h": 49.767,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.89128,
    "c": 0.12977,
    "h": 97.9
  },
  "luminance": 0.71256
}

Semantic roles & 50–950 ramp

primary
#F2DC71
secondary
#3C54CB
accent
#2BE006
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F2DC71

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

Preview Lab → · Contrast checker → · Palette generator →

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