#F2F56E#F2F56E

#F2F56E is a very light, vivid yellow. Relative luminance 0.853; OKLCH L 94.2% C 0.157 H 110.2°. Best body text is #000000 at 18.06:1 contrast (WCAG AA passes).

Color values

HEX#F2F56E
RGBrgb(242, 245, 110)
HSLhsl(61, 87%, 70%)
HSVhsv(61, 55%, 96%)
CMYKcmyk(1.2%, 0%, 55.1%, 3.9%)
CIE-LABlab(94.02, -18.23, 63.39)
CIE-LCHlch(94.02, 65.96, 106.05°)
OKLaboklab(94.21% -0.0542 0.147)
OKLCHoklch(94.21% 0.157 110.2)
XYZxyz(72.0867, 85.3096, 27.4179)
Luminance0.8531 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F56E #716EF5
analogous
#F5B46E #F2F56E #AFF56E
triadic
#F2F56E #6EF2F5 #F56EF2
tetradic
#F2F56E #6EF5B4 #716EF5 #F56EAF
square
#F2F56E #6EF5B4 #716EF5 #F56EAF
split-complementary
#F2F56E #6EAFF5 #B46EF5
monochromatic
#D5DA0F #EDF135 #F2F56E #F7F9A7 #FCFDE1

Accessibility & contrast

On white

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

On black

18.06
#F2F56E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F56E
18.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F56E#FFFFFF#000000##000000
##F2F56E1.001.1618.0618.06
#FFFFFF1.161.0021.0021.00
#00000018.0621.001.001.00
##00000018.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC60
Deuteranopia (green-blind)
#FFF076
Tritanopia (blue-blind)
#FFE8D7
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f2f56e;
/* rgb */ color: rgb(242, 245, 110);
/* oklch */ color: oklch(94.2% 0.157 110.2);
Tailwind
colors: {
  custom: {
    50: '#f9f89c',
    500: '#f2f56e',
    950: '#000000',
  },
}
SCSS
$custom: #f2f56e;
$custom-light: #f9f89c;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f56e",
  "rgb": {
    "r": 242,
    "g": 245,
    "b": 110
  },
  "hsl": {
    "h": 61.333,
    "s": 87.097,
    "l": 69.608
  },
  "oklch": {
    "l": 0.9421,
    "c": 0.15672,
    "h": 110.2
  },
  "luminance": 0.85308
}

Semantic roles & 50–950 ramp

primary
#F2F56E
secondary
#3C38CF
accent
#02E407
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2F56E

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

Preview Lab → · Contrast checker → · Palette generator →

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