#F2F490#F2F490

#F2F490 is a very light, vivid yellow. Relative luminance 0.856; OKLCH L 94.4% C 0.123 H 109.5°. Best body text is #000000 at 18.12:1 contrast (WCAG AA passes).

Color values

HEX#F2F490
RGBrgb(242, 244, 144)
HSLhsl(61, 82%, 76%)
HSVhsv(61, 41%, 96%)
CMYKcmyk(0.8%, 0%, 41%, 4.3%)
CIE-LABlab(94.14, -14.75, 47.85)
CIE-LCHlch(94.14, 50.08, 107.13°)
OKLaboklab(94.43% -0.0411 0.1158)
OKLCHoklch(94.43% 0.123 109.5)
XYZxyz(74.0038, 85.5937, 39.0030)
Luminance0.8559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F490 #9290F4
analogous
#F4C490 #F2F490 #C0F490
triadic
#F2F490 #90F2F4 #F490F2
tetradic
#F2F490 #90F4C4 #9290F4 #F490C0
square
#F2F490 #90F4C4 #9290F4 #F490C0
split-complementary
#F2F490 #90C0F4 #C490F4
monochromatic
#E5E921 #EBEE58 #F2F490 #F9FAC8 #FCFCE3

Accessibility & contrast

On white

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

On black

18.12
#F2F490 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F490
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F490#FFFFFF#000000##000000
##F2F4901.001.1618.1218.12
#FFFFFF1.161.0021.0021.00
#00000018.1221.001.001.00
##00000018.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC88
Deuteranopia (green-blind)
#FFF095
Tritanopia (blue-blind)
#FEE9DC
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f2f490;
/* rgb */ color: rgb(242, 244, 144);
/* oklch */ color: oklch(94.4% 0.123 109.5);
Tailwind
colors: {
  custom: {
    50: '#f8f7b2',
    500: '#f2f490',
    950: '#000000',
  },
}
SCSS
$custom: #f2f490;
$custom-light: #f8f7b2;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f490",
  "rgb": {
    "r": 242,
    "g": 244,
    "b": 144
  },
  "hsl": {
    "h": 61.2,
    "s": 81.967,
    "l": 76.078
  },
  "oklch": {
    "l": 0.94431,
    "c": 0.12288,
    "h": 109.5
  },
  "luminance": 0.85592
}

Semantic roles & 50–950 ramp

primary
#F2F490
secondary
#5957D1
accent
#07DE0B
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #F2F490

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

Preview Lab → · Contrast checker → · Palette generator →

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