#F2F176#F2F176

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

Color values

HEX#F2F176
RGBrgb(242, 241, 118)
HSLhsl(60, 83%, 71%)
HSVhsv(60, 51%, 95%)
CMYKcmyk(0%, 0.4%, 51.2%, 5.1%)
CIE-LABlab(93.06, -15.67, 58.74)
CIE-LCHlch(93.06, 60.79, 104.94°)
OKLaboklab(93.47% -0.0461 0.1379)
OKLCHoklch(93.47% 0.145 108.5)
XYZxyz(71.3450, 83.0977, 29.4172)
Luminance0.8310 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F176 #7677F2
analogous
#F2B376 #F2F176 #B5F276
triadic
#F2F176 #76F2F1 #F176F2
tetradic
#F2F176 #76F2B3 #7677F2 #F276B5
square
#F2F176 #76F2B3 #7677F2 #F276B5
split-complementary
#F2F176 #76B5F2 #B376F2
monochromatic
#D9D715 #EDEB3E #F2F176 #F7F7AE #FCFCE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2F176#FFFFFF#000000##000000
##F2F1761.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)
#FFE96A
Deuteranopia (green-blind)
#FFED7C
Tritanopia (blue-blind)
#FFE4D5
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f2f176;
/* rgb */ color: rgb(242, 241, 118);
/* oklch */ color: oklch(93.5% 0.145 108.5);
Tailwind
colors: {
  custom: {
    50: '#f9f5a1',
    500: '#f2f176',
    950: '#000000',
  },
}
SCSS
$custom: #f2f176;
$custom-light: #f9f5a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f176",
  "rgb": {
    "r": 242,
    "g": 241,
    "b": 118
  },
  "hsl": {
    "h": 59.516,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.93471,
    "c": 0.14536,
    "h": 108.5
  },
  "luminance": 0.83096
}

Semantic roles & 50–950 ramp

primary
#F2F176
secondary
#4041CC
accent
#08DF06
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F2F176

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

Preview Lab → · Contrast checker → · Palette generator →

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