#F2E351#F2E351

#F2E351 is a very light, vivid yellow. Relative luminance 0.744; OKLCH L 90.2% C 0.162 H 103.4°. Best body text is #000000 at 15.88:1 contrast (WCAG AA passes).

Color values

HEX#F2E351
RGBrgb(242, 227, 81)
HSLhsl(54, 86%, 63%)
HSVhsv(54, 67%, 95%)
CMYKcmyk(0%, 6.2%, 66.5%, 5.1%)
CIE-LABlab(89.12, -11.28, 70.08)
CIE-LCHlch(89.12, 70.98, 99.14°)
OKLaboklab(90.23% -0.0375 0.1573)
OKLCHoklch(90.23% 0.162 103.4)
XYZxyz(65.5749, 74.4121, 18.6918)
Luminance0.7441 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E351 #5160F2
analogous
#F29251 #F2E351 #B0F251
triadic
#F2E351 #51F2E3 #E351F2
tetradic
#F2E351 #51F292 #5160F2 #F251B0
square
#F2E351 #51F292 #5160F2 #F251B0
split-complementary
#F2E351 #51B0F2 #9251F2
monochromatic
#BBAB0E #EEDA18 #F2E351 #F6EC8A #FBF5C3

Accessibility & contrast

On white

1.32
#F2E351 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.88
#F2E351 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E351
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E351#FFFFFF#000000##000000
##F2E3511.001.3215.8815.88
#FFFFFF1.321.0021.0021.00
#00000015.8821.001.001.00
##00000015.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DC3D
Deuteranopia (green-blind)
#FBE35A
Tritanopia (blue-blind)
#FFD4C5
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f2e351;
/* rgb */ color: rgb(242, 227, 81);
/* oklch */ color: oklch(90.2% 0.162 103.4);
Tailwind
colors: {
  custom: {
    50: '#faeb89',
    500: '#f2e351',
    950: '#000000',
  },
}
SCSS
$custom: #f2e351;
$custom-light: #faeb89;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e351",
  "rgb": {
    "r": 242,
    "g": 227,
    "b": 81
  },
  "hsl": {
    "h": 54.41,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.90231,
    "c": 0.16175,
    "h": 103.4
  },
  "luminance": 0.74409
}

Semantic roles & 50–950 ramp

primary
#F2E351
secondary
#2E3BB9
accent
#18E303
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160C
muted
#86847F

Preview Lab

Preview with #F2E351

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

Preview Lab → · Contrast checker → · Palette generator →

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