#F2F56D#F2F56D

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

Color values

HEX#F2F56D
RGBrgb(242, 245, 109)
HSLhsl(61, 87%, 69%)
HSVhsv(61, 56%, 96%)
CMYKcmyk(1.2%, 0%, 55.5%, 3.9%)
CIE-LABlab(94.01, -18.31, 63.81)
CIE-LCHlch(94.01, 66.39, 106.01°)
OKLaboklab(94.2% -0.0545 0.1478)
OKLCHoklch(94.2% 0.158 110.2)
XYZxyz(72.0325, 85.2879, 27.1327)
Luminance0.8529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F56D #706DF5
analogous
#F5B46D #F2F56D #AEF56D
triadic
#F2F56D #6DF2F5 #F56DF2
tetradic
#F2F56D #6DF5B4 #706DF5 #F56DAE
square
#F2F56D #6DF5B4 #706DF5 #F56DAE
split-complementary
#F2F56D #6DAEF5 #B46DF5
monochromatic
#D4D90F #EDF134 #F2F56D #F7F9A6 #FCFDE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2F56D#FFFFFF#000000##000000
##F2F56D1.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)
#FFEC5F
Deuteranopia (green-blind)
#FFF075
Tritanopia (blue-blind)
#FFE7D7
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f2f56d;
/* rgb */ color: rgb(242, 245, 109);
/* oklch */ color: oklch(94.2% 0.158 110.2);
Tailwind
colors: {
  custom: {
    50: '#f9f89b',
    500: '#f2f56d',
    950: '#000000',
  },
}
SCSS
$custom: #f2f56d;
$custom-light: #f9f89b;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f56d",
  "rgb": {
    "r": 242,
    "g": 245,
    "b": 109
  },
  "hsl": {
    "h": 61.324,
    "s": 87.179,
    "l": 69.412
  },
  "oklch": {
    "l": 0.942,
    "c": 0.15757,
    "h": 110.2
  },
  "luminance": 0.85286
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2F56D

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

Preview Lab → · Contrast checker → · Palette generator →

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