#F2E079#F2E079

#F2E079 is a very light, vivid yellow. Relative luminance 0.736; OKLCH L 90.0% C 0.126 H 99.6°. Best body text is #000000 at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#F2E079
RGBrgb(242, 224, 121)
HSLhsl(51, 82%, 71%)
HSVhsv(51, 50%, 95%)
CMYKcmyk(0%, 7.4%, 50%, 5.1%)
CIE-LABlab(88.72, -6.99, 52.21)
CIE-LCHlch(88.72, 52.68, 97.63°)
OKLaboklab(90.04% -0.0209 0.1239)
OKLCHoklch(90.04% 0.126 99.6)
XYZxyz(66.7268, 73.5715, 28.7713)
Luminance0.7357 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E079 #798BF2
analogous
#F2A379 #F2E079 #C7F279
triadic
#F2E079 #79F2E0 #E079F2
tetradic
#F2E079 #79F2A3 #798BF2 #F279C7
square
#F2E079 #79F2A3 #798BF2 #F279C7
split-complementary
#F2E079 #79C7F2 #A379F2
monochromatic
#DBBE15 #EDD341 #F2E079 #F7EDB1 #FCF9E3

Accessibility & contrast

On white

1.34
#F2E079 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.71
#F2E079 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E079
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E079#FFFFFF#000000##000000
##F2E0791.001.3415.7115.71
#FFFFFF1.341.0021.0021.00
#00000015.7121.001.001.00
##00000015.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DB70
Deuteranopia (green-blind)
#F6E27D
Tritanopia (blue-blind)
#FFD3C8
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f2e079;
/* rgb */ color: rgb(242, 224, 121);
/* oklch */ color: oklch(90.0% 0.126 99.6);
Tailwind
colors: {
  custom: {
    50: '#f8e9a2',
    500: '#f2e079',
    950: '#000000',
  },
}
SCSS
$custom: #f2e079;
$custom-light: #f8e9a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e079",
  "rgb": {
    "r": 242,
    "g": 224,
    "b": 121
  },
  "hsl": {
    "h": 51.074,
    "s": 82.313,
    "l": 71.176
  },
  "oklch": {
    "l": 0.90036,
    "c": 0.12567,
    "h": 99.6
  },
  "luminance": 0.73569
}

Semantic roles & 50–950 ramp

primary
#F2E079
secondary
#4357CC
accent
#27DF07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F2E079

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

Preview Lab → · Contrast checker → · Palette generator →

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