#F7F280#F7F280

#F7F280 is a very light, vivid yellow. Relative luminance 0.848; OKLCH L 94.2% C 0.136 H 106.5°. Best body text is #000000 at 17.97:1 contrast (WCAG AA passes).

Color values

HEX#F7F280
RGBrgb(247, 242, 128)
HSLhsl(57, 88%, 74%)
HSVhsv(57, 48%, 97%)
CMYKcmyk(0%, 2%, 48.2%, 3.1%)
CIE-LABlab(93.81, -13.34, 55.13)
CIE-LCHlch(93.81, 56.73, 103.60°)
OKLaboklab(94.2% -0.0387 0.1308)
OKLCHoklch(94.2% 0.136 106.5)
XYZxyz(74.0080, 84.8389, 32.8949)
Luminance0.8484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F280 #8085F7
analogous
#F7B680 #F7F280 #C0F780
triadic
#F7F280 #80F7F2 #F280F7
tetradic
#F7F280 #80F7B6 #8085F7 #F780C0
square
#F7F280 #80F7B6 #8085F7 #F780C0
split-complementary
#F7F280 #80C0F7 #B680F7
monochromatic
#EEE40F #F3EC46 #F7F280 #FBF8BA #FDFCE2

Accessibility & contrast

On white

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

On black

17.97
#F7F280 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F280
17.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F280#FFFFFF#000000##000000
##F7F2801.001.1717.9717.97
#FFFFFF1.171.0021.0021.00
#00000017.9721.001.001.00
##00000017.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA76
Deuteranopia (green-blind)
#FFF085
Tritanopia (blue-blind)
#FFE5D8
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f7f280;
/* rgb */ color: rgb(247, 242, 128);
/* oklch */ color: oklch(94.2% 0.136 106.5);
Tailwind
colors: {
  custom: {
    50: '#fcf6a7',
    500: '#f7f280',
    950: '#000000',
  },
}
SCSS
$custom: #f7f280;
$custom-light: #fcf6a7;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f280",
  "rgb": {
    "r": 247,
    "g": 242,
    "b": 128
  },
  "hsl": {
    "h": 57.479,
    "s": 88.148,
    "l": 73.529
  },
  "oklch": {
    "l": 0.94203,
    "c": 0.13645,
    "h": 106.5
  },
  "luminance": 0.84837
}

Semantic roles & 50–950 ramp

primary
#F7F280
secondary
#484ED4
accent
#0AE501
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181710
muted
#868580

Preview Lab

Preview with #F7F280

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

Preview Lab → · Contrast checker → · Palette generator →

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