#F7E372#F7E372

#F7E372 is a very light, vivid yellow. Relative luminance 0.759; OKLCH L 91.0% C 0.135 H 99.4°. Best body text is #000000 at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#F7E372
RGBrgb(247, 227, 114)
HSLhsl(51, 89%, 71%)
HSVhsv(51, 54%, 97%)
CMYKcmyk(0%, 8.1%, 53.8%, 3.1%)
CIE-LABlab(89.83, -7.07, 56.90)
CIE-LCHlch(89.83, 57.33, 97.08°)
OKLaboklab(90.99% -0.0222 0.1334)
OKLCHoklch(90.99% 0.135 99.4)
XYZxyz(68.8665, 75.9299, 26.9447)
Luminance0.7593 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E372 #7286F7
analogous
#F7A072 #F7E372 #C9F772
triadic
#F7E372 #72F7E3 #E372F7
tetradic
#F7E372 #72F7A0 #7286F7 #F772C9
square
#F7E372 #72F7A0 #7286F7 #F772C9
split-complementary
#F7E372 #72C9F7 #A072F7
monochromatic
#E2C20D #F4D738 #F7E372 #FAEEAC #FDF9E2

Accessibility & contrast

On white

1.30
#F7E372 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.19
#F7E372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E372
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E372#FFFFFF#000000##000000
##F7E3721.001.3016.1916.19
#FFFFFF1.301.0021.0021.00
#00000016.1921.001.001.00
##00000016.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DE67
Deuteranopia (green-blind)
#FBE577
Tritanopia (blue-blind)
#FFD5C9
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f7e372;
/* rgb */ color: rgb(247, 227, 114);
/* oklch */ color: oklch(91.0% 0.135 99.4);
Tailwind
colors: {
  custom: {
    50: '#fceb9d',
    500: '#f7e372',
    950: '#000000',
  },
}
SCSS
$custom: #f7e372;
$custom-light: #fceb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e372",
  "rgb": {
    "r": 247,
    "g": 227,
    "b": 114
  },
  "hsl": {
    "h": 50.977,
    "s": 89.262,
    "l": 70.784
  },
  "oklch": {
    "l": 0.90988,
    "c": 0.13523,
    "h": 99.4
  },
  "luminance": 0.75927
}

Semantic roles & 50–950 ramp

primary
#F7E372
secondary
#3B52D2
accent
#23E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F7E372

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

Preview Lab → · Contrast checker → · Palette generator →

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