#F7F273#F7F273

#F7F273 is a very light, vivid yellow. Relative luminance 0.845; OKLCH L 94.0% C 0.149 H 106.9°. Best body text is #000000 at 17.90:1 contrast (WCAG AA passes).

Color values

HEX#F7F273
RGBrgb(247, 242, 115)
HSLhsl(58, 89%, 71%)
HSVhsv(58, 53%, 97%)
CMYKcmyk(0%, 2%, 53.4%, 3.1%)
CIE-LABlab(93.68, -14.41, 60.90)
CIE-LCHlch(93.68, 62.58, 103.31°)
OKLaboklab(94.05% -0.0431 0.1422)
OKLCHoklch(94.05% 0.149 106.9)
XYZxyz(73.2065, 84.5183, 28.6737)
Luminance0.8452 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F273 #7378F7
analogous
#F7B073 #F7F273 #BAF773
triadic
#F7F273 #73F7F2 #F273F7
tetradic
#F7F273 #73F7B0 #7378F7 #F773BA
square
#F7F273 #73F7B0 #7378F7 #F773BA
split-complementary
#F7F273 #73BAF7 #B073F7
monochromatic
#E3DB0D #F4ED39 #F7F273 #FAF7AD #FDFCE2

Accessibility & contrast

On white

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

On black

17.90
#F7F273 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F273
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F273#FFFFFF#000000##000000
##F7F2731.001.1717.9017.90
#FFFFFF1.171.0021.0021.00
#00000017.9021.001.001.00
##00000017.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA66
Deuteranopia (green-blind)
#FFEF7A
Tritanopia (blue-blind)
#FFE4D6
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f7f273;
/* rgb */ color: rgb(247, 242, 115);
/* oklch */ color: oklch(94.0% 0.149 106.9);
Tailwind
colors: {
  custom: {
    50: '#fcf69f',
    500: '#f7f273',
    950: '#000000',
  },
}
SCSS
$custom: #f7f273;
$custom-light: #fcf69f;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f273",
  "rgb": {
    "r": 247,
    "g": 242,
    "b": 115
  },
  "hsl": {
    "h": 57.727,
    "s": 89.189,
    "l": 70.98
  },
  "oklch": {
    "l": 0.94048,
    "c": 0.14854,
    "h": 106.9
  },
  "luminance": 0.84516
}

Semantic roles & 50–950 ramp

primary
#F7F273
secondary
#3C42D2
accent
#09E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F7F273

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

Preview Lab → · Contrast checker → · Palette generator →

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