#F2F282#F2F282

#F2F282 is a very light, vivid yellow. Relative luminance 0.840; OKLCH L 93.8% C 0.135 H 108.7°. Best body text is #000000 at 17.80:1 contrast (WCAG AA passes).

Color values

HEX#F2F282
RGBrgb(242, 242, 130)
HSLhsl(60, 81%, 73%)
HSVhsv(60, 46%, 95%)
CMYKcmyk(0%, 0%, 46.3%, 5.1%)
CIE-LABlab(93.45, -15.12, 53.67)
CIE-LCHlch(93.45, 55.76, 105.74°)
OKLaboklab(93.83% -0.0434 0.1278)
OKLCHoklch(93.83% 0.135 108.7)
XYZxyz(72.4008, 83.9949, 33.5135)
Luminance0.8399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F282 #8282F2
analogous
#F2BA82 #F2F282 #BAF282
triadic
#F2F282 #82F2F2 #F282F2
tetradic
#F2F282 #82F2BA #8282F2 #F282BA
square
#F2F282 #82F2BA #8282F2 #F282BA
split-complementary
#F2F282 #82BAF2 #BA82F2
monochromatic
#E2E218 #ECEC4B #F2F282 #F8F8B9 #FCFCE3

Accessibility & contrast

On white

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

On black

17.80
#F2F282 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F282
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F282#FFFFFF#000000##000000
##F2F2821.001.1817.8017.80
#FFFFFF1.181.0021.0021.00
#00000017.8021.001.001.00
##00000017.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2f282;
/* rgb */ color: rgb(242, 242, 130);
/* oklch */ color: oklch(93.8% 0.135 108.7);
Tailwind
colors: {
  custom: {
    50: '#f8f6a8',
    500: '#f2f282',
    950: '#000000',
  },
}
SCSS
$custom: #f2f282;
$custom-light: #f8f6a8;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f282",
  "rgb": {
    "r": 242,
    "g": 242,
    "b": 130
  },
  "hsl": {
    "h": 60,
    "s": 81.159,
    "l": 72.941
  },
  "oklch": {
    "l": 0.93825,
    "c": 0.13499,
    "h": 108.7
  },
  "luminance": 0.83993
}

Semantic roles & 50–950 ramp

primary
#F2F282
secondary
#4B4BCD
accent
#08DE08
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171710
muted
#858581

Preview Lab

Preview with #F2F282

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

Preview Lab → · Contrast checker → · Palette generator →

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