#F2EA51#F2EA51

#F2EA51 is a very light, vivid yellow. Relative luminance 0.783; OKLCH L 91.7% C 0.168 H 106.3°. Best body text is #000000 at 16.66:1 contrast (WCAG AA passes).

Color values

HEX#F2EA51
RGBrgb(242, 234, 81)
HSLhsl(57, 86%, 63%)
HSVhsv(57, 67%, 95%)
CMYKcmyk(0%, 3.3%, 66.5%, 5.1%)
CIE-LABlab(90.93, -14.73, 71.92)
CIE-LCHlch(90.93, 73.42, 101.57°)
OKLaboklab(91.67% -0.0473 0.1612)
OKLCHoklch(91.67% 0.168 106.3)
XYZxyz(67.5285, 78.3193, 19.3430)
Luminance0.7832 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EA51 #5159F2
analogous
#F29A51 #F2EA51 #A9F251
triadic
#F2EA51 #51F2EA #EA51F2
tetradic
#F2EA51 #51F29A #5159F2 #F251A9
square
#F2EA51 #51F29A #5159F2 #F251A9
split-complementary
#F2EA51 #51A9F2 #9A51F2
monochromatic
#BBB20E #EEE318 #F2EA51 #F6F18A #FBF8C3

Accessibility & contrast

On white

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

On black

16.66
#F2EA51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EA51
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EA51#FFFFFF#000000##000000
##F2EA511.001.2616.6616.66
#FFFFFF1.261.0021.0021.00
#00000016.6621.001.001.00
##00000016.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE23B
Deuteranopia (green-blind)
#FFE85B
Tritanopia (blue-blind)
#FFDBCB
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f2ea51;
/* rgb */ color: rgb(242, 234, 81);
/* oklch */ color: oklch(91.7% 0.168 106.3);
Tailwind
colors: {
  custom: {
    50: '#faf08a',
    500: '#f2ea51',
    950: '#000000',
  },
}
SCSS
$custom: #f2ea51;
$custom-light: #faf08a;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ea51",
  "rgb": {
    "r": 242,
    "g": 234,
    "b": 81
  },
  "hsl": {
    "h": 57.019,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.91671,
    "c": 0.16802,
    "h": 106.3
  },
  "luminance": 0.78317
}

Semantic roles & 50–950 ramp

primary
#F2EA51
secondary
#2E35B9
accent
#0EE303
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160C
muted
#86857F

Preview Lab

Preview with #F2EA51

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

Preview Lab → · Contrast checker → · Palette generator →

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