#F2D779#F2D779

#F2D779 is a very light, moderate yellow. Relative luminance 0.689; OKLCH L 88.2% C 0.118 H 93.8°. Best body text is #000000 at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#F2D779
RGBrgb(242, 215, 121)
HSLhsl(47, 82%, 71%)
HSVhsv(47, 50%, 95%)
CMYKcmyk(0%, 11.2%, 50%, 5.1%)
CIE-LABlab(86.44, -2.44, 49.45)
CIE-LCHlch(86.44, 49.51, 92.82°)
OKLaboklab(88.23% -0.0078 0.1178)
OKLCHoklch(88.23% 0.118 93.8)
XYZxyz(64.3718, 68.8613, 27.9863)
Luminance0.6886 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D779 #7994F2
analogous
#F29A79 #F2D779 #D0F279
triadic
#F2D779 #79F2D7 #D779F2
tetradic
#F2D779 #79F29A #7994F2 #F279D0
square
#F2D779 #79F29A #7994F2 #F279D0
split-complementary
#F2D779 #79D0F2 #9A79F2
monochromatic
#DBAF15 #EDC641 #F2D779 #F7E8B1 #FCF7E3

Accessibility & contrast

On white

1.42
#F2D779 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.77
#F2D779 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D779
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D779#FFFFFF#000000##000000
##F2D7791.001.4214.7714.77
#FFFFFF1.421.0021.0021.00
#00000014.7721.001.001.00
##00000014.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D471
Deuteranopia (green-blind)
#F0DC7D
Tritanopia (blue-blind)
#FFCAC1
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f2d779;
/* rgb */ color: rgb(242, 215, 121);
/* oklch */ color: oklch(88.2% 0.118 93.8);
Tailwind
colors: {
  custom: {
    50: '#f9e3a1',
    500: '#f2d779',
    950: '#000000',
  },
}
SCSS
$custom: #f2d779;
$custom-light: #f9e3a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d779",
  "rgb": {
    "r": 242,
    "g": 215,
    "b": 121
  },
  "hsl": {
    "h": 46.612,
    "s": 82.313,
    "l": 71.176
  },
  "oklch": {
    "l": 0.88228,
    "c": 0.11809,
    "h": 93.8
  },
  "luminance": 0.68859
}

Semantic roles & 50–950 ramp

primary
#F2D779
secondary
#4362CC
accent
#37DF07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F2D779

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

Preview Lab → · Contrast checker → · Palette generator →

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