#F2E481#F2E481

#F2E481 is a very light, vivid yellow. Relative luminance 0.759; OKLCH L 91.0% C 0.121 H 101.3°. Best body text is #000000 at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#F2E481
RGBrgb(242, 228, 129)
HSLhsl(53, 81%, 73%)
HSVhsv(53, 47%, 95%)
CMYKcmyk(0%, 5.8%, 46.7%, 5.1%)
CIE-LABlab(89.84, -8.29, 49.75)
CIE-LCHlch(89.84, 50.43, 99.46°)
OKLaboklab(90.95% -0.0239 0.1191)
OKLCHoklch(90.95% 0.121 101.3)
XYZxyz(68.3256, 75.9512, 31.8255)
Luminance0.7595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E481 #818FF2
analogous
#F2AB81 #F2E481 #C8F281
triadic
#F2E481 #81F2E4 #E481F2
tetradic
#F2E481 #81F2AB #818FF2 #F281C8
square
#F2E481 #81F2AB #818FF2 #F281C8
split-complementary
#F2E481 #81C8F2 #AB81F2
monochromatic
#E1C817 #ECD84A #F2E481 #F8F0B8 #FCF9E3

Accessibility & contrast

On white

1.30
#F2E481 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.19
#F2E481 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E481
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E481#FFFFFF#000000##000000
##F2E4811.001.3016.1916.19
#FFFFFF1.301.0021.0021.00
#00000016.1921.001.001.00
##00000016.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DE79
Deuteranopia (green-blind)
#F9E585
Tritanopia (blue-blind)
#FFD8CD
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f2e481;
/* rgb */ color: rgb(242, 228, 129);
/* oklch */ color: oklch(91.0% 0.121 101.3);
Tailwind
colors: {
  custom: {
    50: '#f8eca7',
    500: '#f2e481',
    950: '#000000',
  },
}
SCSS
$custom: #f2e481;
$custom-light: #f8eca7;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e481",
  "rgb": {
    "r": 242,
    "g": 228,
    "b": 129
  },
  "hsl": {
    "h": 52.566,
    "s": 81.295,
    "l": 72.745
  },
  "oklch": {
    "l": 0.90952,
    "c": 0.12146,
    "h": 101.3
  },
  "luminance": 0.75949
}

Semantic roles & 50–950 ramp

primary
#F2E481
secondary
#4A5ACD
accent
#22DE08
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#171610
muted
#858480

Preview Lab

Preview with #F2E481

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

Preview Lab → · Contrast checker → · Palette generator →

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