#F2EA57#F2EA57

#F2EA57 is a very light, vivid yellow. Relative luminance 0.784; OKLCH L 91.7% C 0.164 H 106.2°. Best body text is #000000 at 16.68:1 contrast (WCAG AA passes).

Color values

HEX#F2EA57
RGBrgb(242, 234, 87)
HSLhsl(57, 86%, 65%)
HSVhsv(57, 64%, 95%)
CMYKcmyk(0%, 3.3%, 64%, 5.1%)
CIE-LABlab(90.97, -14.40, 69.65)
CIE-LCHlch(90.97, 71.12, 101.68°)
OKLaboklab(91.72% -0.0457 0.1574)
OKLCHoklch(91.72% 0.164 106.2)
XYZxyz(67.7635, 78.4133, 20.5808)
Luminance0.7841 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EA57 #575FF2
analogous
#F29C57 #F2EA57 #ADF257
triadic
#F2EA57 #57F2EA #EA57F2
tetradic
#F2EA57 #57F29C #575FF2 #F257AD
square
#F2EA57 #57F29C #575FF2 #F257AD
split-complementary
#F2EA57 #57ADF2 #9C57F2
monochromatic
#C0B70F #EEE31E #F2EA57 #F6F190 #FBF8C9

Accessibility & contrast

On white

1.26
#F2EA57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.68
#F2EA57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EA57
16.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EA57#FFFFFF#000000##000000
##F2EA571.001.2616.6816.68
#FFFFFF1.261.0021.0021.00
#00000016.6821.001.001.00
##00000016.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE244
Deuteranopia (green-blind)
#FFE860
Tritanopia (blue-blind)
#FFDBCC
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f2ea57;
/* rgb */ color: rgb(242, 234, 87);
/* oklch */ color: oklch(91.7% 0.164 106.2);
Tailwind
colors: {
  custom: {
    50: '#faf08d',
    500: '#f2ea57',
    950: '#000000',
  },
}
SCSS
$custom: #f2ea57;
$custom-light: #faf08d;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ea57",
  "rgb": {
    "r": 242,
    "g": 234,
    "b": 87
  },
  "hsl": {
    "h": 56.903,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.91718,
    "c": 0.16386,
    "h": 106.2
  },
  "luminance": 0.78411
}

Semantic roles & 50–950 ramp

primary
#F2EA57
secondary
#3037BE
accent
#0FE203
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F2EA57

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

Preview Lab → · Contrast checker → · Palette generator →

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