#F2DD79#F2DD79

#F2DD79 is a very light, vivid yellow. Relative luminance 0.720; OKLCH L 89.4% C 0.123 H 97.7°. Best body text is #000000 at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#F2DD79
RGBrgb(242, 221, 121)
HSLhsl(50, 82%, 71%)
HSVhsv(50, 50%, 95%)
CMYKcmyk(0%, 8.7%, 50%, 5.1%)
CIE-LABlab(87.96, -5.48, 51.29)
CIE-LCHlch(87.96, 51.58, 96.10°)
OKLaboklab(89.43% -0.0166 0.1219)
OKLCHoklch(89.43% 0.123 97.7)
XYZxyz(65.9277, 71.9732, 28.5049)
Luminance0.7197 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DD79 #798EF2
analogous
#F2A079 #F2DD79 #CAF279
triadic
#F2DD79 #79F2DD #DD79F2
tetradic
#F2DD79 #79F2A0 #798EF2 #F279CA
square
#F2DD79 #79F2A0 #798EF2 #F279CA
split-complementary
#F2DD79 #79CAF2 #A079F2
monochromatic
#DBB915 #EDCF41 #F2DD79 #F7EBB1 #FCF8E3

Accessibility & contrast

On white

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

On black

15.39
#F2DD79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DD79
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DD79#FFFFFF#000000##000000
##F2DD791.001.3615.3915.39
#FFFFFF1.361.0021.0021.00
#00000015.3921.001.001.00
##00000015.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED870
Deuteranopia (green-blind)
#F4E07D
Tritanopia (blue-blind)
#FFD0C6
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f2dd79;
/* rgb */ color: rgb(242, 221, 121);
/* oklch */ color: oklch(89.4% 0.123 97.7);
Tailwind
colors: {
  custom: {
    50: '#f8e7a2',
    500: '#f2dd79',
    950: '#000000',
  },
}
SCSS
$custom: #f2dd79;
$custom-light: #f8e7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f2dd79",
  "rgb": {
    "r": 242,
    "g": 221,
    "b": 121
  },
  "hsl": {
    "h": 49.587,
    "s": 82.313,
    "l": 71.176
  },
  "oklch": {
    "l": 0.89431,
    "c": 0.12301,
    "h": 97.7
  },
  "luminance": 0.71971
}

Semantic roles & 50–950 ramp

primary
#F2DD79
secondary
#435BCC
accent
#2CDF07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F2DD79

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

Preview Lab → · Contrast checker → · Palette generator →

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