#F2F45A#F2F45A

#F2F45A is a very light, vivid yellow. Relative luminance 0.843; OKLCH L 93.8% C 0.171 H 110.0°. Best body text is #000000 at 17.86:1 contrast (WCAG AA passes).

Color values

HEX#F2F45A
RGBrgb(242, 244, 90)
HSLhsl(61, 88%, 65%)
HSVhsv(61, 63%, 96%)
CMYKcmyk(0.8%, 0%, 63.1%, 4.3%)
CIE-LABlab(93.59, -19.08, 71.20)
CIE-LCHlch(93.59, 73.72, 105.00°)
OKLaboklab(93.82% -0.0586 0.1611)
OKLCHoklch(93.82% 0.171 110)
XYZxyz(70.8163, 84.3187, 22.2156)
Luminance0.8432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F45A #5C5AF4
analogous
#F4A95A #F2F45A #A5F45A
triadic
#F2F45A #5AF2F4 #F45AF2
tetradic
#F2F45A #5AF4A9 #5C5AF4 #F45AA5
square
#F2F45A #5AF4A9 #5C5AF4 #F45AA5
split-complementary
#F2F45A #5AA5F4 #A95AF4
monochromatic
#C4C60D #EDF021 #F2F45A #F7F893 #FBFCCD

Accessibility & contrast

On white

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

On black

17.86
#F2F45A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F45A
17.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F45A#FFFFFF#000000##000000
##F2F45A1.001.1817.8617.86
#FFFFFF1.181.0021.0021.00
#00000017.8621.001.001.00
##00000017.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA46
Deuteranopia (green-blind)
#FFEF64
Tritanopia (blue-blind)
#FFE6D4
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f2f45a;
/* rgb */ color: rgb(242, 244, 90);
/* oklch */ color: oklch(93.8% 0.171 110.0);
Tailwind
colors: {
  custom: {
    50: '#faf790',
    500: '#f2f45a',
    950: '#000000',
  },
}
SCSS
$custom: #f2f45a;
$custom-light: #faf790;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f45a",
  "rgb": {
    "r": 242,
    "g": 244,
    "b": 90
  },
  "hsl": {
    "h": 60.779,
    "s": 87.5,
    "l": 65.49
  },
  "oklch": {
    "l": 0.93815,
    "c": 0.17142,
    "h": 110
  },
  "luminance": 0.84317
}

Semantic roles & 50–950 ramp

primary
#F2F45A
secondary
#312FC3
accent
#01E404
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F2F45A

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

Preview Lab → · Contrast checker → · Palette generator →

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