#F7F274#F7F274

#F7F274 is a very light, vivid yellow. Relative luminance 0.845; OKLCH L 94.1% C 0.148 H 106.8°. Best body text is #000000 at 17.91:1 contrast (WCAG AA passes).

Color values

HEX#F7F274
RGBrgb(247, 242, 116)
HSLhsl(58, 89%, 71%)
HSVhsv(58, 53%, 97%)
CMYKcmyk(0%, 2%, 53%, 3.1%)
CIE-LABlab(93.69, -14.34, 60.46)
CIE-LCHlch(93.69, 62.14, 103.34°)
OKLaboklab(94.06% -0.0428 0.1413)
OKLCHoklch(94.06% 0.148 106.8)
XYZxyz(73.2643, 84.5415, 28.9784)
Luminance0.8454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F274 #7479F7
analogous
#F7B074 #F7F274 #BAF774
triadic
#F7F274 #74F7F2 #F274F7
tetradic
#F7F274 #74F7B0 #7479F7 #F774BA
square
#F7F274 #74F7B0 #7479F7 #F774BA
split-complementary
#F7F274 #74BAF7 #B074F7
monochromatic
#E4DB0D #F4ED3A #F7F274 #FAF7AE #FDFCE2

Accessibility & contrast

On white

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

On black

17.91
#F7F274 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F274
17.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F274#FFFFFF#000000##000000
##F7F2741.001.1717.9117.91
#FFFFFF1.171.0021.0021.00
#00000017.9121.001.001.00
##00000017.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7f274;
/* rgb */ color: rgb(247, 242, 116);
/* oklch */ color: oklch(94.1% 0.148 106.8);
Tailwind
colors: {
  custom: {
    50: '#fcf69f',
    500: '#f7f274',
    950: '#000000',
  },
}
SCSS
$custom: #f7f274;
$custom-light: #fcf69f;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f274",
  "rgb": {
    "r": 247,
    "g": 242,
    "b": 116
  },
  "hsl": {
    "h": 57.71,
    "s": 89.116,
    "l": 71.176
  },
  "oklch": {
    "l": 0.9406,
    "c": 0.14766,
    "h": 106.8
  },
  "luminance": 0.84539
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F7F274

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

Preview Lab → · Contrast checker → · Palette generator →

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