#F2DE79#F2DE79

#F2DE79 is a very light, vivid yellow. Relative luminance 0.725; OKLCH L 89.6% C 0.124 H 98.4°. Best body text is #000000 at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#F2DE79
RGBrgb(242, 222, 121)
HSLhsl(50, 82%, 71%)
HSVhsv(50, 50%, 95%)
CMYKcmyk(0%, 8.3%, 50%, 5.1%)
CIE-LABlab(88.21, -5.99, 51.60)
CIE-LCHlch(88.21, 51.94, 96.62°)
OKLaboklab(89.63% -0.018 0.1226)
OKLCHoklch(89.63% 0.124 98.4)
XYZxyz(66.1925, 72.5028, 28.5932)
Luminance0.7250 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DE79 #798DF2
analogous
#F2A179 #F2DE79 #C9F279
triadic
#F2DE79 #79F2DE #DE79F2
tetradic
#F2DE79 #79F2A1 #798DF2 #F279C9
square
#F2DE79 #79F2A1 #798DF2 #F279C9
split-complementary
#F2DE79 #79C9F2 #A179F2
monochromatic
#DBBB15 #EDD041 #F2DE79 #F7ECB1 #FCF8E3

Accessibility & contrast

On white

1.35
#F2DE79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.50
#F2DE79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DE79
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DE79#FFFFFF#000000##000000
##F2DE791.001.3515.5015.50
#FFFFFF1.351.0021.0021.00
#00000015.5021.001.001.00
##00000015.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD970
Deuteranopia (green-blind)
#F5E07D
Tritanopia (blue-blind)
#FFD1C6
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f2de79;
/* rgb */ color: rgb(242, 222, 121);
/* oklch */ color: oklch(89.6% 0.124 98.4);
Tailwind
colors: {
  custom: {
    50: '#f8e8a2',
    500: '#f2de79',
    950: '#000000',
  },
}
SCSS
$custom: #f2de79;
$custom-light: #f8e8a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f2de79",
  "rgb": {
    "r": 242,
    "g": 222,
    "b": 121
  },
  "hsl": {
    "h": 50.083,
    "s": 82.313,
    "l": 71.176
  },
  "oklch": {
    "l": 0.89632,
    "c": 0.12388,
    "h": 98.4
  },
  "luminance": 0.725
}

Semantic roles & 50–950 ramp

primary
#F2DE79
secondary
#435ACC
accent
#2ADF07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F2DE79

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

Preview Lab → · Contrast checker → · Palette generator →

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