#F2E379#F2E379

#F2E379 is a very light, vivid yellow. Relative luminance 0.752; OKLCH L 90.6% C 0.128 H 101.3°. Best body text is #000000 at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#F2E379
RGBrgb(242, 227, 121)
HSLhsl(53, 82%, 71%)
HSVhsv(53, 50%, 95%)
CMYKcmyk(0%, 6.2%, 50%, 5.1%)
CIE-LABlab(89.49, -8.50, 53.13)
CIE-LCHlch(89.49, 53.81, 99.09°)
OKLaboklab(90.64% -0.0253 0.1259)
OKLCHoklch(90.64% 0.128 101.3)
XYZxyz(67.5402, 75.1982, 29.0424)
Luminance0.7520 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E379 #7988F2
analogous
#F2A679 #F2E379 #C4F279
triadic
#F2E379 #79F2E3 #E379F2
tetradic
#F2E379 #79F2A6 #7988F2 #F279C4
square
#F2E379 #79F2A6 #7988F2 #F279C4
split-complementary
#F2E379 #79C4F2 #A679F2
monochromatic
#DBC315 #EDD741 #F2E379 #F7EFB1 #FCF9E3

Accessibility & contrast

On white

1.31
#F2E379 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.04
#F2E379 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E379
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E379#FFFFFF#000000##000000
##F2E3791.001.3116.0416.04
#FFFFFF1.311.0021.0021.00
#00000016.0421.001.001.00
##00000016.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DD70
Deuteranopia (green-blind)
#F9E47E
Tritanopia (blue-blind)
#FFD6CA
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f2e379;
/* rgb */ color: rgb(242, 227, 121);
/* oklch */ color: oklch(90.6% 0.128 101.3);
Tailwind
colors: {
  custom: {
    50: '#f8eba2',
    500: '#f2e379',
    950: '#000000',
  },
}
SCSS
$custom: #f2e379;
$custom-light: #f8eba2;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e379",
  "rgb": {
    "r": 242,
    "g": 227,
    "b": 121
  },
  "hsl": {
    "h": 52.562,
    "s": 82.313,
    "l": 71.176
  },
  "oklch": {
    "l": 0.90643,
    "c": 0.12843,
    "h": 101.3
  },
  "luminance": 0.75196
}

Semantic roles & 50–950 ramp

primary
#F2E379
secondary
#4354CC
accent
#22DF07
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F2E379

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

Preview Lab → · Contrast checker → · Palette generator →

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