#F2F481#F2F481

#F2F481 is a very light, vivid yellow. Relative luminance 0.852; OKLCH L 94.2% C 0.138 H 109.7°. Best body text is #000000 at 18.03:1 contrast (WCAG AA passes).

Color values

HEX#F2F481
RGBrgb(242, 244, 129)
HSLhsl(61, 84%, 73%)
HSVhsv(61, 47%, 96%)
CMYKcmyk(0.8%, 0%, 47.1%, 4.3%)
CIE-LABlab(93.95, -16.19, 54.75)
CIE-LCHlch(93.95, 57.09, 106.47°)
OKLaboklab(94.23% -0.0465 0.1301)
OKLCHoklch(94.23% 0.138 109.7)
XYZxyz(72.9326, 85.1652, 33.3612)
Luminance0.8516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F481 #8381F4
analogous
#F4BC81 #F2F481 #B9F481
triadic
#F2F481 #81F2F4 #F481F2
tetradic
#F2F481 #81F4BC #8381F4 #F481B9
square
#F2F481 #81F4BC #8381F4 #F481B9
split-complementary
#F2F481 #81B9F4 #BC81F4
monochromatic
#E3E614 #ECEF49 #F2F481 #F8F9B9 #FCFDE3

Accessibility & contrast

On white

1.16
#F2F481 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.03
#F2F481 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F481
18.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F481#FFFFFF#000000##000000
##F2F4811.001.1618.0318.03
#FFFFFF1.161.0021.0021.00
#00000018.0321.001.001.00
##00000018.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB77
Deuteranopia (green-blind)
#FFF087
Tritanopia (blue-blind)
#FFE8D9
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f2f481;
/* rgb */ color: rgb(242, 244, 129);
/* oklch */ color: oklch(94.2% 0.138 109.7);
Tailwind
colors: {
  custom: {
    50: '#f8f7a8',
    500: '#f2f481',
    950: '#000000',
  },
}
SCSS
$custom: #f2f481;
$custom-light: #f8f7a8;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f481",
  "rgb": {
    "r": 242,
    "g": 244,
    "b": 129
  },
  "hsl": {
    "h": 61.043,
    "s": 83.942,
    "l": 73.137
  },
  "oklch": {
    "l": 0.94225,
    "c": 0.13818,
    "h": 109.7
  },
  "luminance": 0.85164
}

Semantic roles & 50–950 ramp

primary
#F2F481
secondary
#4C49D0
accent
#05E009
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171710
muted
#858581

Preview Lab

Preview with #F2F481

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

Preview Lab → · Contrast checker → · Palette generator →

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