#F2F079#F2F079

#F2F079 is a very light, vivid yellow. Relative luminance 0.826; OKLCH L 93.3% C 0.142 H 108.0°. Best body text is #000000 at 17.52:1 contrast (WCAG AA passes).

Color values

HEX#F2F079
RGBrgb(242, 240, 121)
HSLhsl(59, 82%, 71%)
HSVhsv(59, 50%, 95%)
CMYKcmyk(0%, 0.8%, 50%, 5.1%)
CIE-LABlab(92.83, -14.93, 57.10)
CIE-LCHlch(92.83, 59.02, 104.65°)
OKLaboklab(93.3% -0.0437 0.1346)
OKLCHoklch(93.3% 0.142 108)
XYZxyz(71.2310, 82.5797, 30.2727)
Luminance0.8258 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F079 #797BF2
analogous
#F2B379 #F2F079 #B7F279
triadic
#F2F079 #79F2F0 #F079F2
tetradic
#F2F079 #79F2B3 #797BF2 #F279B7
square
#F2F079 #79F2B3 #797BF2 #F279B7
split-complementary
#F2F079 #79B7F2 #B379F2
monochromatic
#DBD815 #EDEA41 #F2F079 #F7F6B1 #FCFCE3

Accessibility & contrast

On white

1.20
#F2F079 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.52
#F2F079 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F079
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F079#FFFFFF#000000##000000
##F2F0791.001.2017.5217.52
#FFFFFF1.201.0021.0021.00
#00000017.5221.001.001.00
##00000017.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE86E
Deuteranopia (green-blind)
#FFED7F
Tritanopia (blue-blind)
#FFE3D5
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f2f079;
/* rgb */ color: rgb(242, 240, 121);
/* oklch */ color: oklch(93.3% 0.142 108.0);
Tailwind
colors: {
  custom: {
    50: '#f8f4a3',
    500: '#f2f079',
    950: '#000000',
  },
}
SCSS
$custom: #f2f079;
$custom-light: #f8f4a3;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f079",
  "rgb": {
    "r": 242,
    "g": 240,
    "b": 121
  },
  "hsl": {
    "h": 59.008,
    "s": 82.313,
    "l": 71.176
  },
  "oklch": {
    "l": 0.93301,
    "c": 0.14152,
    "h": 108
  },
  "luminance": 0.82578
}

Semantic roles & 50–950 ramp

primary
#F2F079
secondary
#4345CC
accent
#0ADF07
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F2F079

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

Preview Lab → · Contrast checker → · Palette generator →

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