#F2DC73#F2DC73

#F2DC73 is a very light, vivid yellow. Relative luminance 0.713; OKLCH L 89.2% C 0.128 H 97.7°. Best body text is #000000 at 15.26:1 contrast (WCAG AA passes).

Color values

HEX#F2DC73
RGBrgb(242, 220, 115)
HSLhsl(50, 83%, 70%)
HSVhsv(50, 52%, 95%)
CMYKcmyk(0%, 9.1%, 52.5%, 5.1%)
CIE-LABlab(87.63, -5.48, 53.74)
CIE-LCHlch(87.63, 54.02, 95.82°)
OKLaboklab(89.15% -0.0172 0.1267)
OKLCHoklch(89.15% 0.128 97.7)
XYZxyz(65.3079, 71.3041, 26.5393)
Luminance0.7130 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DC73 #7389F2
analogous
#F29C73 #F2DC73 #C9F273
triadic
#F2DC73 #73F2DC #DC73F2
tetradic
#F2DC73 #73F29C #7389F2 #F273C9
square
#F2DC73 #73F29C #7389F2 #F273C9
split-complementary
#F2DC73 #73C9F2 #9C73F2
monochromatic
#D7B514 #EDCE3B #F2DC73 #F7EAAB #FCF8E3

Accessibility & contrast

On white

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

On black

15.26
#F2DC73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DC73
15.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DC73#FFFFFF#000000##000000
##F2DC731.001.3815.2615.26
#FFFFFF1.381.0021.0021.00
#00000015.2621.001.001.00
##00000015.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2dc73;
/* rgb */ color: rgb(242, 220, 115);
/* oklch */ color: oklch(89.2% 0.128 97.7);
Tailwind
colors: {
  custom: {
    50: '#f9e69e',
    500: '#f2dc73',
    950: '#000000',
  },
}
SCSS
$custom: #f2dc73;
$custom-light: #f9e69e;
$custom-dark: #000000;
JSON
{
  "hex": "#f2dc73",
  "rgb": {
    "r": 242,
    "g": 220,
    "b": 115
  },
  "hsl": {
    "h": 49.606,
    "s": 83.007,
    "l": 70
  },
  "oklch": {
    "l": 0.89153,
    "c": 0.1279,
    "h": 97.7
  },
  "luminance": 0.71301
}

Semantic roles & 50–950 ramp

primary
#F2DC73
secondary
#3D56CC
accent
#2CDF06
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F2DC73

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

Preview Lab → · Contrast checker → · Palette generator →

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