#F2F280#F2F280

#F2F280 is a very light, vivid yellow. Relative luminance 0.839; OKLCH L 93.8% C 0.137 H 108.8°. Best body text is #000000 at 17.79:1 contrast (WCAG AA passes).

Color values

HEX#F2F280
RGBrgb(242, 242, 128)
HSLhsl(60, 81%, 73%)
HSVhsv(60, 47%, 95%)
CMYKcmyk(0%, 0%, 47.1%, 5.1%)
CIE-LABlab(93.43, -15.30, 54.58)
CIE-LCHlch(93.43, 56.68, 105.66°)
OKLaboklab(93.8% -0.0441 0.1297)
OKLCHoklch(93.8% 0.137 108.8)
XYZxyz(72.2679, 83.9417, 32.8133)
Luminance0.8394 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F280 #8080F2
analogous
#F2B980 #F2F280 #B9F280
triadic
#F2F280 #80F2F2 #F280F2
tetradic
#F2F280 #80F2B9 #8080F2 #F280B9
square
#F2F280 #80F2B9 #8080F2 #F280B9
split-complementary
#F2F280 #80B9F2 #B980F2
monochromatic
#E1E117 #ECEC48 #F2F280 #F8F8B8 #FCFCE3

Accessibility & contrast

On white

1.18
#F2F280 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.79
#F2F280 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F280
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F280#FFFFFF#000000##000000
##F2F2801.001.1817.7917.79
#FFFFFF1.181.0021.0021.00
#00000017.7921.001.001.00
##00000017.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA76
Deuteranopia (green-blind)
#FFEE86
Tritanopia (blue-blind)
#FFE6D8
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f2f280;
/* rgb */ color: rgb(242, 242, 128);
/* oklch */ color: oklch(93.8% 0.137 108.8);
Tailwind
colors: {
  custom: {
    50: '#f8f6a7',
    500: '#f2f280',
    950: '#000000',
  },
}
SCSS
$custom: #f2f280;
$custom-light: #f8f6a7;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f280",
  "rgb": {
    "r": 242,
    "g": 242,
    "b": 128
  },
  "hsl": {
    "h": 60,
    "s": 81.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.938,
    "c": 0.13695,
    "h": 108.8
  },
  "luminance": 0.8394
}

Semantic roles & 50–950 ramp

primary
#F2F280
secondary
#4949CD
accent
#08DE08
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#171710
muted
#858580

Preview Lab

Preview with #F2F280

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

Preview Lab → · Contrast checker → · Palette generator →

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