#F2F177#F2F177

#F2F177 is a very light, vivid yellow. Relative luminance 0.831; OKLCH L 93.5% C 0.144 H 108.5°. Best body text is #000000 at 17.62:1 contrast (WCAG AA passes).

Color values

HEX#F2F177
RGBrgb(242, 241, 119)
HSLhsl(60, 83%, 71%)
HSVhsv(60, 51%, 95%)
CMYKcmyk(0%, 0.4%, 50.8%, 5.1%)
CIE-LABlab(93.07, -15.59, 58.29)
CIE-LCHlch(93.07, 60.34, 104.97°)
OKLaboklab(93.48% -0.0458 0.137)
OKLCHoklch(93.48% 0.144 108.5)
XYZxyz(71.4048, 83.1216, 29.7318)
Luminance0.8312 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F177 #7778F2
analogous
#F2B377 #F2F177 #B5F277
triadic
#F2F177 #77F2F1 #F177F2
tetradic
#F2F177 #77F2B3 #7778F2 #F277B5
square
#F2F177 #77F2B3 #7778F2 #F277B5
split-complementary
#F2F177 #77B5F2 #B377F2
monochromatic
#DAD815 #EDEB3F #F2F177 #F7F7AF #FCFCE3

Accessibility & contrast

On white

1.19
#F2F177 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.62
#F2F177 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F177
17.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F177#FFFFFF#000000##000000
##F2F1771.001.1917.6217.62
#FFFFFF1.191.0021.0021.00
#00000017.6221.001.001.00
##00000017.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE96B
Deuteranopia (green-blind)
#FFED7D
Tritanopia (blue-blind)
#FFE4D5
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f2f177;
/* rgb */ color: rgb(242, 241, 119);
/* oklch */ color: oklch(93.5% 0.144 108.5);
Tailwind
colors: {
  custom: {
    50: '#f9f5a1',
    500: '#f2f177',
    950: '#000000',
  },
}
SCSS
$custom: #f2f177;
$custom-light: #f9f5a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f177",
  "rgb": {
    "r": 242,
    "g": 241,
    "b": 119
  },
  "hsl": {
    "h": 59.512,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.93483,
    "c": 0.14444,
    "h": 108.5
  },
  "luminance": 0.8312
}

Semantic roles & 50–950 ramp

primary
#F2F177
secondary
#4142CC
accent
#08DF07
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F2F177

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

Preview Lab → · Contrast checker → · Palette generator →

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