#F2DA79#F2DA79

#F2DA79 is a very light, vivid yellow. Relative luminance 0.704; OKLCH L 88.8% C 0.120 H 95.8°. Best body text is #000000 at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#F2DA79
RGBrgb(242, 218, 121)
HSLhsl(48, 82%, 71%)
HSVhsv(48, 50%, 95%)
CMYKcmyk(0%, 9.9%, 50%, 5.1%)
CIE-LABlab(87.19, -3.96, 50.37)
CIE-LCHlch(87.19, 50.53, 94.50°)
OKLaboklab(88.83% -0.0122 0.1199)
OKLCHoklch(88.83% 0.12 95.8)
XYZxyz(65.1427, 70.4032, 28.2432)
Luminance0.7040 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DA79 #7991F2
analogous
#F29D79 #F2DA79 #CDF279
triadic
#F2DA79 #79F2DA #DA79F2
tetradic
#F2DA79 #79F29D #7991F2 #F279CD
square
#F2DA79 #79F29D #7991F2 #F279CD
split-complementary
#F2DA79 #79CDF2 #9D79F2
monochromatic
#DBB415 #EDCB41 #F2DA79 #F7E9B1 #FCF7E3

Accessibility & contrast

On white

1.39
#F2DA79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.08
#F2DA79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DA79
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DA79#FFFFFF#000000##000000
##F2DA791.001.3915.0815.08
#FFFFFF1.391.0021.0021.00
#00000015.0821.001.001.00
##00000015.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD671
Deuteranopia (green-blind)
#F2DE7D
Tritanopia (blue-blind)
#FFCDC3
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f2da79;
/* rgb */ color: rgb(242, 218, 121);
/* oklch */ color: oklch(88.8% 0.120 95.8);
Tailwind
colors: {
  custom: {
    50: '#f8e5a2',
    500: '#f2da79',
    950: '#000000',
  },
}
SCSS
$custom: #f2da79;
$custom-light: #f8e5a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f2da79",
  "rgb": {
    "r": 242,
    "g": 218,
    "b": 121
  },
  "hsl": {
    "h": 48.099,
    "s": 82.313,
    "l": 71.176
  },
  "oklch": {
    "l": 0.88828,
    "c": 0.12048,
    "h": 95.8
  },
  "luminance": 0.70401
}

Semantic roles & 50–950 ramp

primary
#F2DA79
secondary
#435ECC
accent
#32DF07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F2DA79

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

Preview Lab → · Contrast checker → · Palette generator →

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