#F2F58D#F2F58D

#F2F58D is a very light, vivid yellow. Relative luminance 0.861; OKLCH L 94.6% C 0.127 H 110.0°. Best body text is #000000 at 18.22:1 contrast (WCAG AA passes).

Color values

HEX#F2F58D
RGBrgb(242, 245, 141)
HSLhsl(62, 84%, 76%)
HSVhsv(62, 42%, 96%)
CMYKcmyk(1.2%, 0%, 42.4%, 3.9%)
CIE-LABlab(94.36, -15.54, 49.57)
CIE-LCHlch(94.36, 51.95, 107.41°)
OKLaboklab(94.59% -0.0436 0.1195)
OKLCHoklch(94.59% 0.127 110)
XYZxyz(74.0792, 86.1066, 37.9120)
Luminance0.8610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F58D #908DF5
analogous
#F5C48D #F2F58D #BEF58D
triadic
#F2F58D #8DF2F5 #F58DF2
tetradic
#F2F58D #8DF5C4 #908DF5 #F58DBE
square
#F2F58D #8DF5C4 #908DF5 #F58DBE
split-complementary
#F2F58D #8DBEF5 #C48DF5
monochromatic
#E5EB1C #ECF055 #F2F58D #F8FAC5 #FCFDE3

Accessibility & contrast

On white

1.15
#F2F58D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.22
#F2F58D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F58D
18.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F58D#FFFFFF#000000##000000
##F2F58D1.001.1518.2218.22
#FFFFFF1.151.0021.0021.00
#00000018.2221.001.001.00
##00000018.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED85
Deuteranopia (green-blind)
#FFF092
Tritanopia (blue-blind)
#FFEADC
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f2f58d;
/* rgb */ color: rgb(242, 245, 141);
/* oklch */ color: oklch(94.6% 0.127 110.0);
Tailwind
colors: {
  custom: {
    50: '#f8f8b0',
    500: '#f2f58d',
    950: '#000000',
  },
}
SCSS
$custom: #f2f58d;
$custom-light: #f8f8b0;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f58d",
  "rgb": {
    "r": 242,
    "g": 245,
    "b": 141
  },
  "hsl": {
    "h": 61.731,
    "s": 83.871,
    "l": 75.686
  },
  "oklch": {
    "l": 0.94593,
    "c": 0.1272,
    "h": 110
  },
  "luminance": 0.86105
}

Semantic roles & 50–950 ramp

primary
#F2F58D
secondary
#5754D2
accent
#05E00C
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171711
muted
#858581

Preview Lab

Preview with #F2F58D

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

Preview Lab → · Contrast checker → · Palette generator →

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