#F2F372#F2F372

#F2F372 is a very light, vivid yellow. Relative luminance 0.842; OKLCH L 93.8% C 0.151 H 109.4°. Best body text is #000000 at 17.84:1 contrast (WCAG AA passes).

Color values

HEX#F2F372
RGBrgb(242, 243, 114)
HSLhsl(60, 84%, 70%)
HSVhsv(60, 53%, 95%)
CMYKcmyk(0.4%, 0%, 53.1%, 4.7%)
CIE-LABlab(93.54, -16.96, 61.08)
CIE-LCHlch(93.54, 63.39, 105.52°)
OKLaboklab(93.84% -0.0502 0.1425)
OKLCHoklch(93.84% 0.151 109.4)
XYZxyz(71.7076, 84.1951, 28.3902)
Luminance0.8419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F372 #7372F3
analogous
#F3B372 #F2F372 #B2F372
triadic
#F2F372 #72F2F3 #F372F2
tetradic
#F2F372 #72F3B3 #7372F3 #F372B2
square
#F2F372 #72F3B3 #7372F3 #F372B2
split-complementary
#F2F372 #72B2F3 #B372F3
monochromatic
#D7D812 #EDEE3A #F2F372 #F7F8AA #FCFDE3

Accessibility & contrast

On white

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

On black

17.84
#F2F372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F372
17.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F372#FFFFFF#000000##000000
##F2F3721.001.1817.8417.84
#FFFFFF1.181.0021.0021.00
#00000017.8421.001.001.00
##00000017.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA65
Deuteranopia (green-blind)
#FFEF79
Tritanopia (blue-blind)
#FFE6D6
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f2f372;
/* rgb */ color: rgb(242, 243, 114);
/* oklch */ color: oklch(93.8% 0.151 109.4);
Tailwind
colors: {
  custom: {
    50: '#f9f69e',
    500: '#f2f372',
    950: '#000000',
  },
}
SCSS
$custom: #f2f372;
$custom-light: #f9f69e;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f372",
  "rgb": {
    "r": 242,
    "g": 243,
    "b": 114
  },
  "hsl": {
    "h": 60.465,
    "s": 84.314,
    "l": 70
  },
  "oklch": {
    "l": 0.93839,
    "c": 0.15111,
    "h": 109.4
  },
  "luminance": 0.84193
}

Semantic roles & 50–950 ramp

primary
#F2F372
secondary
#3D3CCD
accent
#05E106
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F2F372

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

Preview Lab → · Contrast checker → · Palette generator →

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