#F2F591#F2F591

#F2F591 is a very light, vivid yellow. Relative luminance 0.862; OKLCH L 94.7% C 0.123 H 110.0°. Best body text is #000000 at 18.25:1 contrast (WCAG AA passes).

Color values

HEX#F2F591
RGBrgb(242, 245, 145)
HSLhsl(62, 83%, 76%)
HSVhsv(62, 41%, 96%)
CMYKcmyk(1.2%, 0%, 40.8%, 3.9%)
CIE-LABlab(94.41, -15.14, 47.71)
CIE-LCHlch(94.41, 50.06, 107.60°)
OKLaboklab(94.65% -0.0421 0.1156)
OKLCHoklch(94.65% 0.123 110)
XYZxyz(74.3822, 86.2278, 39.5078)
Luminance0.8623 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F591 #9491F5
analogous
#F5C691 #F2F591 #C0F591
triadic
#F2F591 #91F2F5 #F591F2
tetradic
#F2F591 #91F5C6 #9491F5 #F591C0
square
#F2F591 #91F5C6 #9491F5 #F591C0
split-complementary
#F2F591 #91C0F5 #C691F5
monochromatic
#E5EB21 #EBF059 #F2F591 #F9FAC9 #FCFCE3

Accessibility & contrast

On white

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

On black

18.25
#F2F591 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F591
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F591#FFFFFF#000000##000000
##F2F5911.001.1518.2518.25
#FFFFFF1.151.0021.0021.00
#00000018.2521.001.001.00
##00000018.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED89
Deuteranopia (green-blind)
#FFF196
Tritanopia (blue-blind)
#FEEADD
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f2f591;
/* rgb */ color: rgb(242, 245, 145);
/* oklch */ color: oklch(94.7% 0.123 110.0);
Tailwind
colors: {
  custom: {
    50: '#f8f8b3',
    500: '#f2f591',
    950: '#000000',
  },
}
SCSS
$custom: #f2f591;
$custom-light: #f8f8b3;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f591",
  "rgb": {
    "r": 242,
    "g": 245,
    "b": 145
  },
  "hsl": {
    "h": 61.8,
    "s": 83.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.94651,
    "c": 0.12299,
    "h": 110
  },
  "luminance": 0.86226
}

Semantic roles & 50–950 ramp

primary
#F2F591
secondary
#5B57D3
accent
#06E00C
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #F2F591

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

Preview Lab → · Contrast checker → · Palette generator →

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