#F2F790#F2F790

#F2F790 is a very light, vivid yellow. Relative luminance 0.874; OKLCH L 95.0% C 0.126 H 111.0°. Best body text is #000000 at 18.48:1 contrast (WCAG AA passes).

Color values

HEX#F2F790
RGBrgb(242, 247, 144)
HSLhsl(63, 87%, 77%)
HSVhsv(63, 42%, 97%)
CMYKcmyk(2%, 0%, 41.7%, 3.1%)
CIE-LABlab(94.91, -16.21, 48.82)
CIE-LCHlch(94.91, 51.45, 108.37°)
OKLaboklab(95.05% -0.0453 0.118)
OKLCHoklch(95.05% 0.126 111)
XYZxyz(74.9138, 87.4137, 39.3063)
Luminance0.8741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F790 #9590F7
analogous
#F7C990 #F2F790 #BFF790
triadic
#F2F790 #90F2F7 #F790F2
tetradic
#F2F790 #90F7C9 #9590F7 #F790BF
square
#F2F790 #90F7C9 #9590F7 #F790BF
split-complementary
#F2F790 #90BFF7 #C990F7
monochromatic
#E5EF1E #EBF357 #F2F790 #F9FBC9 #FCFDE2

Accessibility & contrast

On white

1.14
#F2F790 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.48
#F2F790 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F790
18.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F790#FFFFFF#000000##000000
##F2F7901.001.1418.4818.48
#FFFFFF1.141.0021.0021.00
#00000018.4821.001.001.00
##00000018.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF88
Deuteranopia (green-blind)
#FFF295
Tritanopia (blue-blind)
#FEECDE
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f2f790;
/* rgb */ color: rgb(242, 247, 144);
/* oklch */ color: oklch(95.0% 0.126 111.0);
Tailwind
colors: {
  custom: {
    50: '#f8f9b2',
    500: '#f2f790',
    950: '#000000',
  },
}
SCSS
$custom: #f2f790;
$custom-light: #f8f9b2;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f790",
  "rgb": {
    "r": 242,
    "g": 247,
    "b": 144
  },
  "hsl": {
    "h": 62.913,
    "s": 86.555,
    "l": 76.667
  },
  "oklch": {
    "l": 0.95048,
    "c": 0.12638,
    "h": 111
  },
  "luminance": 0.87412
}

Semantic roles & 50–950 ramp

primary
#F2F790
secondary
#5C56D5
accent
#02E30D
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #F2F790

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

Preview Lab → · Contrast checker → · Palette generator →

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