#F2E057#F2E057

#F2E057 is a very light, vivid yellow. Relative luminance 0.729; OKLCH L 89.7% C 0.155 H 101.8°. Best body text is #000000 at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#F2E057
RGBrgb(242, 224, 87)
HSLhsl(53, 86%, 65%)
HSVhsv(53, 64%, 95%)
CMYKcmyk(0%, 7.4%, 64%, 5.1%)
CIE-LABlab(88.39, -9.45, 66.94)
CIE-LCHlch(88.39, 67.61, 98.03°)
OKLaboklab(89.67% -0.0317 0.1516)
OKLCHoklch(89.67% 0.155 101.8)
XYZxyz(64.9965, 72.8793, 19.6584)
Luminance0.7288 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E057 #5769F2
analogous
#F29357 #F2E057 #B7F257
triadic
#F2E057 #57F2E0 #E057F2
tetradic
#F2E057 #57F293 #5769F2 #F257B7
square
#F2E057 #57F293 #5769F2 #F257B7
split-complementary
#F2E057 #57B7F2 #9357F2
monochromatic
#C0AB0F #EED61E #F2E057 #F6EA90 #FBF5C9

Accessibility & contrast

On white

1.35
#F2E057 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.58
#F2E057 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E057
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E057#FFFFFF#000000##000000
##F2E0571.001.3515.5815.58
#FFFFFF1.351.0021.0021.00
#00000015.5821.001.001.00
##00000015.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3D946
Deuteranopia (green-blind)
#F9E15F
Tritanopia (blue-blind)
#FFD1C3
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f2e057;
/* rgb */ color: rgb(242, 224, 87);
/* oklch */ color: oklch(89.7% 0.155 101.8);
Tailwind
colors: {
  custom: {
    50: '#fae98c',
    500: '#f2e057',
    950: '#000000',
  },
}
SCSS
$custom: #f2e057;
$custom-light: #fae98c;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e057",
  "rgb": {
    "r": 242,
    "g": 224,
    "b": 87
  },
  "hsl": {
    "h": 53.032,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.89668,
    "c": 0.15491,
    "h": 101.8
  },
  "luminance": 0.72877
}

Semantic roles & 50–950 ramp

primary
#F2E057
secondary
#3040BE
accent
#1DE203
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F2E057

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

Preview Lab → · Contrast checker → · Palette generator →

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