#F2F588#F2F588

#F2F588 is a very light, vivid yellow. Relative luminance 0.860; OKLCH L 94.5% C 0.132 H 110.1°. Best body text is #000000 at 18.19:1 contrast (WCAG AA passes).

Color values

HEX#F2F588
RGBrgb(242, 245, 136)
HSLhsl(62, 84%, 75%)
HSVhsv(62, 44%, 96%)
CMYKcmyk(1.2%, 0%, 44.5%, 3.9%)
CIE-LABlab(94.30, -16.03, 51.87)
CIE-LCHlch(94.30, 54.29, 107.17°)
OKLaboklab(94.52% -0.0454 0.1243)
OKLCHoklch(94.52% 0.132 110.1)
XYZxyz(73.7156, 85.9611, 35.9967)
Luminance0.8596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F588 #8B88F5
analogous
#F5C188 #F2F588 #BCF588
triadic
#F2F588 #88F2F5 #F588F2
tetradic
#F2F588 #88F5C1 #8B88F5 #F588BC
square
#F2F588 #88F5C1 #8B88F5 #F588BC
split-complementary
#F2F588 #88BCF5 #C188F5
monochromatic
#E6EC17 #ECF050 #F2F588 #F8FAC0 #FCFDE3

Accessibility & contrast

On white

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

On black

18.19
#F2F588 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F588
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F588#FFFFFF#000000##000000
##F2F5881.001.1518.1918.19
#FFFFFF1.151.0021.0021.00
#00000018.1921.001.001.00
##00000018.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED7F
Deuteranopia (green-blind)
#FFF08D
Tritanopia (blue-blind)
#FFE9DB
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f2f588;
/* rgb */ color: rgb(242, 245, 136);
/* oklch */ color: oklch(94.5% 0.132 110.1);
Tailwind
colors: {
  custom: {
    50: '#f8f8ad',
    500: '#f2f588',
    950: '#000000',
  },
}
SCSS
$custom: #f2f588;
$custom-light: #f8f8ad;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f588",
  "rgb": {
    "r": 242,
    "g": 245,
    "b": 136
  },
  "hsl": {
    "h": 61.651,
    "s": 84.496,
    "l": 74.706
  },
  "oklch": {
    "l": 0.94523,
    "c": 0.13234,
    "h": 110.1
  },
  "luminance": 0.8596
}

Semantic roles & 50–950 ramp

primary
#F2F588
secondary
#534FD2
accent
#05E10B
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171710
muted
#858581

Preview Lab

Preview with #F2F588

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

Preview Lab → · Contrast checker → · Palette generator →

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