#F2F376#F2F376

#F2F376 is a very light, vivid yellow. Relative luminance 0.843; OKLCH L 93.9% C 0.147 H 109.3°. Best body text is #000000 at 17.86:1 contrast (WCAG AA passes).

Color values

HEX#F2F376
RGBrgb(242, 243, 118)
HSLhsl(60, 84%, 71%)
HSVhsv(60, 51%, 95%)
CMYKcmyk(0.4%, 0%, 51.4%, 4.7%)
CIE-LABlab(93.58, -16.64, 59.34)
CIE-LCHlch(93.58, 61.63, 105.67°)
OKLaboklab(93.88% -0.0489 0.1392)
OKLCHoklch(93.88% 0.148 109.3)
XYZxyz(71.9403, 84.2882, 29.6156)
Luminance0.8429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F376 #7776F3
analogous
#F3B576 #F2F376 #B3F376
triadic
#F2F376 #76F2F3 #F376F2
tetradic
#F2F376 #76F3B5 #7776F3 #F376B3
square
#F2F376 #76F3B5 #7776F3 #F376B3
split-complementary
#F2F376 #76B3F3 #B576F3
monochromatic
#DADB13 #EDEE3E #F2F376 #F7F8AE #FCFDE3

Accessibility & contrast

On white

1.18
#F2F376 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.86
#F2F376 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F376
17.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F376#FFFFFF#000000##000000
##F2F3761.001.1817.8617.86
#FFFFFF1.181.0021.0021.00
#00000017.8621.001.001.00
##00000017.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA6A
Deuteranopia (green-blind)
#FFEF7D
Tritanopia (blue-blind)
#FFE6D7
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f2f376;
/* rgb */ color: rgb(242, 243, 118);
/* oklch */ color: oklch(93.9% 0.147 109.3);
Tailwind
colors: {
  custom: {
    50: '#f9f6a1',
    500: '#f2f376',
    950: '#000000',
  },
}
SCSS
$custom: #f2f376;
$custom-light: #f9f6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f376",
  "rgb": {
    "r": 242,
    "g": 243,
    "b": 118
  },
  "hsl": {
    "h": 60.48,
    "s": 83.893,
    "l": 70.784
  },
  "oklch": {
    "l": 0.93884,
    "c": 0.1475,
    "h": 109.3
  },
  "luminance": 0.84286
}

Semantic roles & 50–950 ramp

primary
#F2F376
secondary
#4140CD
accent
#05E007
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F2F376

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

Preview Lab → · Contrast checker → · Palette generator →

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