#F2F57A#F2F57A

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

Color values

HEX#F2F57A
RGBrgb(242, 245, 122)
HSLhsl(61, 86%, 72%)
HSVhsv(61, 50%, 96%)
CMYKcmyk(1.2%, 0%, 50.2%, 3.9%)
CIE-LABlab(94.14, -17.28, 58.18)
CIE-LCHlch(94.14, 60.70, 106.54°)
OKLaboklab(94.35% -0.0503 0.137)
OKLCHoklch(94.35% 0.146 110.2)
XYZxyz(72.7848, 85.5888, 31.0947)
Luminance0.8559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F57A #7D7AF5
analogous
#F5BA7A #F2F57A #B5F57A
triadic
#F2F57A #7AF2F5 #F57AF2
tetradic
#F2F57A #7AF5BA #7D7AF5 #F57AB5
square
#F2F57A #7AF5BA #7D7AF5 #F57AB5
split-complementary
#F2F57A #7AB5F5 #BA7AF5
monochromatic
#DEE311 #ECF141 #F2F57A #F8F9B3 #FCFDE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2F57A#FFFFFF#000000##000000
##F2F57A1.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)
#FFEC6E
Deuteranopia (green-blind)
#FFF080
Tritanopia (blue-blind)
#FFE8D9
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f2f57a;
/* rgb */ color: rgb(242, 245, 122);
/* oklch */ color: oklch(94.3% 0.146 110.2);
Tailwind
colors: {
  custom: {
    50: '#f8f8a3',
    500: '#f2f57a',
    950: '#000000',
  },
}
SCSS
$custom: #f2f57a;
$custom-light: #f8f8a3;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f57a",
  "rgb": {
    "r": 242,
    "g": 245,
    "b": 122
  },
  "hsl": {
    "h": 61.463,
    "s": 86.014,
    "l": 71.961
  },
  "oklch": {
    "l": 0.94345,
    "c": 0.14598,
    "h": 110.2
  },
  "luminance": 0.85587
}

Semantic roles & 50–950 ramp

primary
#F2F57A
secondary
#4643D0
accent
#03E308
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F2F57A

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

Preview Lab → · Contrast checker → · Palette generator →

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