#F7F372#F7F372

#F7F372 is a very light, vivid yellow. Relative luminance 0.851; OKLCH L 94.2% C 0.150 H 107.3°. Best body text is #000000 at 18.02:1 contrast (WCAG AA passes).

Color values

HEX#F7F372
RGBrgb(247, 243, 114)
HSLhsl(58, 89%, 71%)
HSVhsv(58, 54%, 97%)
CMYKcmyk(0%, 1.6%, 53.8%, 3.1%)
CIE-LABlab(93.92, -14.98, 61.63)
CIE-LCHlch(93.92, 63.42, 103.66°)
OKLaboklab(94.24% -0.0448 0.1436)
OKLCHoklch(94.24% 0.15 107.3)
XYZxyz(73.4477, 85.0923, 28.4718)
Luminance0.8509 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F372 #7276F7
analogous
#F7B072 #F7F372 #B9F772
triadic
#F7F372 #72F7F3 #F372F7
tetradic
#F7F372 #72F7B0 #7276F7 #F772B9
square
#F7F372 #72F7B0 #7276F7 #F772B9
split-complementary
#F7F372 #72B9F7 #B072F7
monochromatic
#E2DB0D #F4EE38 #F7F372 #FAF8AC #FDFDE2

Accessibility & contrast

On white

1.17
#F7F372 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.02
#F7F372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F372
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F372#FFFFFF#000000##000000
##F7F3721.001.1718.0218.02
#FFFFFF1.171.0021.0021.00
#00000018.0221.001.001.00
##00000018.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB65
Deuteranopia (green-blind)
#FFF079
Tritanopia (blue-blind)
#FFE5D6
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f7f372;
/* rgb */ color: rgb(247, 243, 114);
/* oklch */ color: oklch(94.2% 0.150 107.3);
Tailwind
colors: {
  custom: {
    50: '#fcf69e',
    500: '#f7f372',
    950: '#000000',
  },
}
SCSS
$custom: #f7f372;
$custom-light: #fcf69e;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f372",
  "rgb": {
    "r": 247,
    "g": 243,
    "b": 114
  },
  "hsl": {
    "h": 58.195,
    "s": 89.262,
    "l": 70.784
  },
  "oklch": {
    "l": 0.94242,
    "c": 0.15045,
    "h": 107.3
  },
  "luminance": 0.8509
}

Semantic roles & 50–950 ramp

primary
#F7F372
secondary
#3B40D2
accent
#07E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F7F372

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

Preview Lab → · Contrast checker → · Palette generator →

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