#F2F373#F2F373

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

Color values

HEX#F2F373
RGBrgb(242, 243, 115)
HSLhsl(60, 84%, 70%)
HSVhsv(60, 53%, 95%)
CMYKcmyk(0.4%, 0%, 52.7%, 4.7%)
CIE-LABlab(93.55, -16.88, 60.65)
CIE-LCHlch(93.55, 62.95, 105.55°)
OKLaboklab(93.85% -0.0499 0.1417)
OKLCHoklch(93.85% 0.15 109.4)
XYZxyz(71.7648, 84.2180, 28.6916)
Luminance0.8422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F373 #7473F3
analogous
#F3B473 #F2F373 #B2F373
triadic
#F2F373 #73F2F3 #F373F2
tetradic
#F2F373 #73F3B4 #7473F3 #F373B2
square
#F2F373 #73F3B4 #7473F3 #F373B2
split-complementary
#F2F373 #73B2F3 #B473F3
monochromatic
#D7D913 #EDEE3B #F2F373 #F7F8AB #FCFDE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2F373#FFFFFF#000000##000000
##F2F3731.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)
#FFEA66
Deuteranopia (green-blind)
#FFEF7A
Tritanopia (blue-blind)
#FFE6D6
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f2f373;
/* rgb */ color: rgb(242, 243, 115);
/* oklch */ color: oklch(93.8% 0.150 109.4);
Tailwind
colors: {
  custom: {
    50: '#f9f69f',
    500: '#f2f373',
    950: '#000000',
  },
}
SCSS
$custom: #f2f373;
$custom-light: #f9f69f;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f373",
  "rgb": {
    "r": 242,
    "g": 243,
    "b": 115
  },
  "hsl": {
    "h": 60.469,
    "s": 84.211,
    "l": 70.196
  },
  "oklch": {
    "l": 0.9385,
    "c": 0.15022,
    "h": 109.4
  },
  "luminance": 0.84216
}

Semantic roles & 50–950 ramp

primary
#F2F373
secondary
#3E3DCD
accent
#05E107
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F2F373

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

Preview Lab → · Contrast checker → · Palette generator →

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