#F2E051#F2E051

#F2E051 is a very light, vivid yellow. Relative luminance 0.728; OKLCH L 89.6% C 0.159 H 102.1°. Best body text is #000000 at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#F2E051
RGBrgb(242, 224, 81)
HSLhsl(53, 86%, 63%)
HSVhsv(53, 67%, 95%)
CMYKcmyk(0%, 7.4%, 66.5%, 5.1%)
CIE-LABlab(88.35, -9.79, 69.29)
CIE-LCHlch(88.35, 69.98, 98.04°)
OKLaboklab(89.62% -0.0333 0.1557)
OKLCHoklch(89.62% 0.159 102.1)
XYZxyz(64.7615, 72.7853, 18.4207)
Luminance0.7278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E051 #5163F2
analogous
#F28F51 #F2E051 #B3F251
triadic
#F2E051 #51F2E0 #E051F2
tetradic
#F2E051 #51F28F #5163F2 #F251B3
square
#F2E051 #51F28F #5163F2 #F251B3
split-complementary
#F2E051 #51B3F2 #8F51F2
monochromatic
#BBA70E #EED618 #F2E051 #F6EA8A #FBF4C3

Accessibility & contrast

On white

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

On black

15.56
#F2E051 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E051
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E051#FFFFFF#000000##000000
##F2E0511.001.3515.5615.56
#FFFFFF1.351.0021.0021.00
#00000015.5621.001.001.00
##00000015.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2e051;
/* rgb */ color: rgb(242, 224, 81);
/* oklch */ color: oklch(89.6% 0.159 102.1);
Tailwind
colors: {
  custom: {
    50: '#fae989',
    500: '#f2e051',
    950: '#000000',
  },
}
SCSS
$custom: #f2e051;
$custom-light: #fae989;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e051",
  "rgb": {
    "r": 242,
    "g": 224,
    "b": 81
  },
  "hsl": {
    "h": 53.292,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.89618,
    "c": 0.15919,
    "h": 102.1
  },
  "luminance": 0.72783
}

Semantic roles & 50–950 ramp

primary
#F2E051
secondary
#2E3EB9
accent
#1CE303
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160C
muted
#86847F

Preview Lab

Preview with #F2E051

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

Preview Lab → · Contrast checker → · Palette generator →

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