#F2E482#F2E482

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

Color values

HEX#F2E482
RGBrgb(242, 228, 130)
HSLhsl(53, 81%, 73%)
HSVhsv(53, 46%, 95%)
CMYKcmyk(0%, 5.8%, 46.3%, 5.1%)
CIE-LABlab(89.85, -8.20, 49.28)
CIE-LCHlch(89.85, 49.96, 99.44°)
OKLaboklab(90.97% -0.0235 0.1181)
OKLCHoklch(90.97% 0.12 101.3)
XYZxyz(68.3924, 75.9780, 32.1773)
Luminance0.7598 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E482 #8290F2
analogous
#F2AC82 #F2E482 #C8F282
triadic
#F2E482 #82F2E4 #E482F2
tetradic
#F2E482 #82F2AC #8290F2 #F282C8
square
#F2E482 #82F2AC #8290F2 #F282C8
split-complementary
#F2E482 #82C8F2 #AC82F2
monochromatic
#E2C918 #ECD84B #F2E482 #F8F0B9 #FCF9E3

Accessibility & contrast

On white

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

On black

16.20
#F2E482 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E482
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E482#FFFFFF#000000##000000
##F2E4821.001.3016.2016.20
#FFFFFF1.301.0021.0021.00
#00000016.2021.001.001.00
##00000016.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2e482;
/* rgb */ color: rgb(242, 228, 130);
/* oklch */ color: oklch(91.0% 0.120 101.3);
Tailwind
colors: {
  custom: {
    50: '#f8eca8',
    500: '#f2e482',
    950: '#000000',
  },
}
SCSS
$custom: #f2e482;
$custom-light: #f8eca8;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e482",
  "rgb": {
    "r": 242,
    "g": 228,
    "b": 130
  },
  "hsl": {
    "h": 52.5,
    "s": 81.159,
    "l": 72.941
  },
  "oklch": {
    "l": 0.90966,
    "c": 0.12044,
    "h": 101.3
  },
  "luminance": 0.75976
}

Semantic roles & 50–950 ramp

primary
#F2E482
secondary
#4B5BCD
accent
#23DE08
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#171610
muted
#858480

Preview Lab

Preview with #F2E482

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

Preview Lab → · Contrast checker → · Palette generator →

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