#F2F59E#F2F59E

#F2F59E is a very light, moderate yellow. Relative luminance 0.867; OKLCH L 94.9% C 0.109 H 110.0°. Best body text is #000000 at 18.33:1 contrast (WCAG AA passes).

Color values

HEX#F2F59E
RGBrgb(242, 245, 158)
HSLhsl(62, 81%, 79%)
HSVhsv(62, 36%, 96%)
CMYKcmyk(1.2%, 0%, 35.5%, 3.9%)
CIE-LABlab(94.59, -13.74, 41.60)
CIE-LCHlch(94.59, 43.81, 108.28°)
OKLaboklab(94.85% -0.0372 0.1022)
OKLCHoklch(94.85% 0.109 110)
XYZxyz(75.4426, 86.6519, 45.0924)
Luminance0.8665 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F59E #A19EF5
analogous
#F5CD9E #F2F59E #C7F59E
triadic
#F2F59E #9EF2F5 #F59EF2
tetradic
#F2F59E #9EF5CD #A19EF5 #F59EC7
square
#F2F59E #9EF5CD #A19EF5 #F59EC7
split-complementary
#F2F59E #9EC7F5 #CD9EF5
monochromatic
#E3EA2F #EBEF67 #F2F59E #F9FBD5 #FBFCE3

Accessibility & contrast

On white

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

On black

18.33
#F2F59E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F59E
18.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F59E#FFFFFF#000000##000000
##F2F59E1.001.1518.3318.33
#FFFFFF1.151.0021.0021.00
#00000018.3321.001.001.00
##00000018.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE98
Deuteranopia (green-blind)
#FFF1A2
Tritanopia (blue-blind)
#FDEBDF
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f2f59e;
/* rgb */ color: rgb(242, 245, 158);
/* oklch */ color: oklch(94.9% 0.109 110.0);
Tailwind
colors: {
  custom: {
    50: '#f7f8bb',
    500: '#f2f59e',
    950: '#000000',
  },
}
SCSS
$custom: #f2f59e;
$custom-light: #f7f8bb;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f59e",
  "rgb": {
    "r": 242,
    "g": 245,
    "b": 158
  },
  "hsl": {
    "h": 62.069,
    "s": 81.308,
    "l": 79.02
  },
  "oklch": {
    "l": 0.94854,
    "c": 0.10878,
    "h": 110
  },
  "luminance": 0.86651
}

Semantic roles & 50–950 ramp

primary
#F2F59E
secondary
#6763D4
accent
#08DE0F
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171712
muted
#858582

Preview Lab

Preview with #F2F59E

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

Preview Lab → · Contrast checker → · Palette generator →

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