#F7E272#F7E272

#F7E272 is a very light, vivid yellow. Relative luminance 0.754; OKLCH L 90.8% C 0.134 H 98.9°. Best body text is #000000 at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#F7E272
RGBrgb(247, 226, 114)
HSLhsl(51, 89%, 71%)
HSVhsv(51, 54%, 97%)
CMYKcmyk(0%, 8.5%, 53.8%, 3.1%)
CIE-LABlab(89.57, -6.57, 56.60)
CIE-LCHlch(89.57, 56.98, 96.62°)
OKLaboklab(90.79% -0.0207 0.1328)
OKLCHoklch(90.79% 0.134 98.9)
XYZxyz(68.5938, 75.3845, 26.8538)
Luminance0.7538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E272 #7287F7
analogous
#F79F72 #F7E272 #CAF772
triadic
#F7E272 #72F7E2 #E272F7
tetradic
#F7E272 #72F79F #7287F7 #F772CA
square
#F7E272 #72F79F #7287F7 #F772CA
split-complementary
#F7E272 #72CAF7 #9F72F7
monochromatic
#E2C00D #F4D638 #F7E272 #FAEEAC #FDF9E2

Accessibility & contrast

On white

1.31
#F7E272 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.08
#F7E272 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E272
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E272#FFFFFF#000000##000000
##F7E2721.001.3116.0816.08
#FFFFFF1.311.0021.0021.00
#00000016.0821.001.001.00
##00000016.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DD67
Deuteranopia (green-blind)
#FAE577
Tritanopia (blue-blind)
#FFD4C9
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f7e272;
/* rgb */ color: rgb(247, 226, 114);
/* oklch */ color: oklch(90.8% 0.134 98.9);
Tailwind
colors: {
  custom: {
    50: '#fcea9d',
    500: '#f7e272',
    950: '#000000',
  },
}
SCSS
$custom: #f7e272;
$custom-light: #fcea9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e272",
  "rgb": {
    "r": 247,
    "g": 226,
    "b": 114
  },
  "hsl": {
    "h": 50.526,
    "s": 89.262,
    "l": 70.784
  },
  "oklch": {
    "l": 0.90787,
    "c": 0.13437,
    "h": 98.9
  },
  "luminance": 0.75382
}

Semantic roles & 50–950 ramp

primary
#F7E272
secondary
#3B53D2
accent
#24E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F7E272

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

Preview Lab → · Contrast checker → · Palette generator →

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