#F2F05A#F2F05A

#F2F05A is a very light, vivid yellow. Relative luminance 0.819; OKLCH L 93.0% C 0.167 H 108.5°. Best body text is #000000 at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#F2F05A
RGBrgb(242, 240, 90)
HSLhsl(59, 85%, 65%)
HSVhsv(59, 63%, 95%)
CMYKcmyk(0%, 0.8%, 62.8%, 5.1%)
CIE-LABlab(92.55, -17.15, 70.11)
CIE-LCHlch(92.55, 72.18, 103.74°)
OKLaboklab(92.98% -0.0532 0.1588)
OKLCHoklch(92.98% 0.167 108.5)
XYZxyz(69.6258, 81.9377, 21.8188)
Luminance0.8194 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F05A #5A5CF2
analogous
#F2A45A #F2F05A #A8F25A
triadic
#F2F05A #5AF2F0 #F05AF2
tetradic
#F2F05A #5AF2A4 #5A5CF2 #F25AA8
square
#F2F05A #5AF2A4 #5A5CF2 #F25AA8
split-complementary
#F2F05A #5AA8F2 #A45AF2
monochromatic
#C2C00F #EEEB21 #F2F05A #F6F593 #FBFACB

Accessibility & contrast

On white

1.21
#F2F05A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.39
#F2F05A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F05A
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F05A#FFFFFF#000000##000000
##F2F05A1.001.2117.3917.39
#FFFFFF1.211.0021.0021.00
#00000017.3921.001.001.00
##00000017.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE747
Deuteranopia (green-blind)
#FFEC63
Tritanopia (blue-blind)
#FFE1D1
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f2f05a;
/* rgb */ color: rgb(242, 240, 90);
/* oklch */ color: oklch(93.0% 0.167 108.5);
Tailwind
colors: {
  custom: {
    50: '#faf48f',
    500: '#f2f05a',
    950: '#000000',
  },
}
SCSS
$custom: #f2f05a;
$custom-light: #faf48f;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f05a",
  "rgb": {
    "r": 242,
    "g": 240,
    "b": 90
  },
  "hsl": {
    "h": 59.211,
    "s": 85.393,
    "l": 65.098
  },
  "oklch": {
    "l": 0.92984,
    "c": 0.16745,
    "h": 108.5
  },
  "luminance": 0.81936
}

Semantic roles & 50–950 ramp

primary
#F2F05A
secondary
#3032C0
accent
#07E204
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F2F05A

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

Preview Lab → · Contrast checker → · Palette generator →

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