#F2F489#F2F489

#F2F489 is a very light, vivid yellow. Relative luminance 0.854; OKLCH L 94.3% C 0.130 H 109.6°. Best body text is #000000 at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#F2F489
RGBrgb(242, 244, 137)
HSLhsl(61, 83%, 75%)
HSVhsv(61, 44%, 96%)
CMYKcmyk(0.8%, 0%, 43.9%, 4.3%)
CIE-LABlab(94.05, -15.44, 51.10)
CIE-LCHlch(94.05, 53.38, 106.82°)
OKLaboklab(94.33% -0.0437 0.1226)
OKLCHoklch(94.33% 0.13 109.6)
XYZxyz(73.4853, 85.3863, 36.2722)
Luminance0.8538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F489 #8B89F4
analogous
#F4C089 #F2F489 #BDF489
triadic
#F2F489 #89F2F4 #F489F2
tetradic
#F2F489 #89F4C0 #8B89F4 #F489BD
square
#F2F489 #89F4C0 #8B89F4 #F489BD
split-complementary
#F2F489 #89BDF4 #C089F4
monochromatic
#E6EA19 #ECEF51 #F2F489 #F8F9C1 #FCFCE3

Accessibility & contrast

On white

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

On black

18.08
#F2F489 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F489
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F489#FFFFFF#000000##000000
##F2F4891.001.1618.0818.08
#FFFFFF1.161.0021.0021.00
#00000018.0821.001.001.00
##00000018.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC80
Deuteranopia (green-blind)
#FFF08E
Tritanopia (blue-blind)
#FFE8DB
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f2f489;
/* rgb */ color: rgb(242, 244, 137);
/* oklch */ color: oklch(94.3% 0.130 109.6);
Tailwind
colors: {
  custom: {
    50: '#f8f7ad',
    500: '#f2f489',
    950: '#000000',
  },
}
SCSS
$custom: #f2f489;
$custom-light: #f8f7ad;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f489",
  "rgb": {
    "r": 242,
    "g": 244,
    "b": 137
  },
  "hsl": {
    "h": 61.121,
    "s": 82.946,
    "l": 74.706
  },
  "oklch": {
    "l": 0.94331,
    "c": 0.13018,
    "h": 109.6
  },
  "luminance": 0.85385
}

Semantic roles & 50–950 ramp

primary
#F2F489
secondary
#5350D1
accent
#06DF0A
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171710
muted
#858581

Preview Lab

Preview with #F2F489

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

Preview Lab → · Contrast checker → · Palette generator →

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