#F2F56F#F2F56F

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

Color values

HEX#F2F56F
RGBrgb(242, 245, 111)
HSLhsl(61, 87%, 70%)
HSVhsv(61, 55%, 96%)
CMYKcmyk(1.2%, 0%, 54.7%, 3.9%)
CIE-LABlab(94.03, -18.16, 62.96)
CIE-LCHlch(94.03, 65.53, 106.09°)
OKLaboklab(94.22% -0.0539 0.1463)
OKLCHoklch(94.22% 0.156 110.2)
XYZxyz(72.1414, 85.3315, 27.7062)
Luminance0.8533 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F56F #726FF5
analogous
#F5B56F #F2F56F #AFF56F
triadic
#F2F56F #6FF2F5 #F56FF2
tetradic
#F2F56F #6FF5B5 #726FF5 #F56FAF
square
#F2F56F #6FF5B5 #726FF5 #F56FAF
split-complementary
#F2F56F #6FAFF5 #B56FF5
monochromatic
#D6DA0F #EDF136 #F2F56F #F7F9A8 #FCFDE1

Accessibility & contrast

On white

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

On black

18.07
#F2F56F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F56F
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F56F#FFFFFF#000000##000000
##F2F56F1.001.1618.0718.07
#FFFFFF1.161.0021.0021.00
#00000018.0721.001.001.00
##00000018.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2f56f;
/* rgb */ color: rgb(242, 245, 111);
/* oklch */ color: oklch(94.2% 0.156 110.2);
Tailwind
colors: {
  custom: {
    50: '#f9f89c',
    500: '#f2f56f',
    950: '#000000',
  },
}
SCSS
$custom: #f2f56f;
$custom-light: #f9f89c;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f56f",
  "rgb": {
    "r": 242,
    "g": 245,
    "b": 111
  },
  "hsl": {
    "h": 61.343,
    "s": 87.013,
    "l": 69.804
  },
  "oklch": {
    "l": 0.94221,
    "c": 0.15586,
    "h": 110.2
  },
  "luminance": 0.8533
}

Semantic roles & 50–950 ramp

primary
#F2F56F
secondary
#3D39CF
accent
#02E407
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F2F56F

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

Preview Lab → · Contrast checker → · Palette generator →

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