#F2F775#F2F775

#F2F775 is a very light, vivid yellow. Relative luminance 0.867; OKLCH L 94.7% C 0.153 H 111.0°. Best body text is #000000 at 18.34:1 contrast (WCAG AA passes).

Color values

HEX#F2F775
RGBrgb(242, 247, 117)
HSLhsl(62, 89%, 71%)
HSVhsv(62, 53%, 97%)
CMYKcmyk(2%, 0%, 52.6%, 3.1%)
CIE-LABlab(94.60, -18.66, 60.98)
CIE-LCHlch(94.60, 63.77, 107.01°)
OKLaboklab(94.7% -0.0547 0.1426)
OKLCHoklch(94.7% 0.153 111)
XYZxyz(73.0913, 86.6847, 29.7077)
Luminance0.8668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F775 #7A75F7
analogous
#F7BB75 #F2F775 #B1F775
triadic
#F2F775 #75F2F7 #F775F2
tetradic
#F2F775 #75F7BB #7A75F7 #F775B1
square
#F2F775 #75F7BB #7A75F7 #F775B1
split-complementary
#F2F775 #75B1F7 #BB75F7
monochromatic
#DCE40D #EDF43B #F2F775 #F7FAAF #FCFDE2

Accessibility & contrast

On white

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

On black

18.34
#F2F775 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F775
18.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F775#FFFFFF#000000##000000
##F2F7751.001.1518.3418.34
#FFFFFF1.151.0021.0021.00
#00000018.3421.001.001.00
##00000018.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED68
Deuteranopia (green-blind)
#FFF17C
Tritanopia (blue-blind)
#FFEADA
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f2f775;
/* rgb */ color: rgb(242, 247, 117);
/* oklch */ color: oklch(94.7% 0.153 111.0);
Tailwind
colors: {
  custom: {
    50: '#f9f9a0',
    500: '#f2f775',
    950: '#000000',
  },
}
SCSS
$custom: #f2f775;
$custom-light: #f9f9a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f775",
  "rgb": {
    "r": 242,
    "g": 247,
    "b": 117
  },
  "hsl": {
    "h": 62.308,
    "s": 89.041,
    "l": 71.373
  },
  "oklch": {
    "l": 0.94701,
    "c": 0.15274,
    "h": 111
  },
  "luminance": 0.86683
}

Semantic roles & 50–950 ramp

primary
#F2F775
secondary
#443ED2
accent
#00E609
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F2F775

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

Preview Lab → · Contrast checker → · Palette generator →

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