#F7F282#F7F282

#F7F282 is a very light, vivid yellow. Relative luminance 0.849; OKLCH L 94.2% C 0.134 H 106.4°. Best body text is #000000 at 17.98:1 contrast (WCAG AA passes).

Color values

HEX#F7F282
RGBrgb(247, 242, 130)
HSLhsl(57, 88%, 74%)
HSVhsv(57, 47%, 97%)
CMYKcmyk(0%, 2%, 47.4%, 3.1%)
CIE-LABlab(93.84, -13.17, 54.23)
CIE-LCHlch(93.84, 55.80, 103.65°)
OKLaboklab(94.23% -0.038 0.129)
OKLCHoklch(94.23% 0.134 106.4)
XYZxyz(74.1409, 84.8921, 33.5950)
Luminance0.8489 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F282 #8287F7
analogous
#F7B882 #F7F282 #C2F782
triadic
#F7F282 #82F7F2 #F282F7
tetradic
#F7F282 #82F7B8 #8287F7 #F782C2
square
#F7F282 #82F7B8 #8287F7 #F782C2
split-complementary
#F7F282 #82C2F7 #B882F7
monochromatic
#EFE60F #F3EC48 #F7F282 #FBF8BC #FDFCE2

Accessibility & contrast

On white

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

On black

17.98
#F7F282 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F282
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F282#FFFFFF#000000##000000
##F7F2821.001.1717.9817.98
#FFFFFF1.171.0021.0021.00
#00000017.9821.001.001.00
##00000017.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7f282;
/* rgb */ color: rgb(247, 242, 130);
/* oklch */ color: oklch(94.2% 0.134 106.4);
Tailwind
colors: {
  custom: {
    50: '#fcf6a9',
    500: '#f7f282',
    950: '#000000',
  },
}
SCSS
$custom: #f7f282;
$custom-light: #fcf6a9;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f282",
  "rgb": {
    "r": 247,
    "g": 242,
    "b": 130
  },
  "hsl": {
    "h": 57.436,
    "s": 87.97,
    "l": 73.922
  },
  "oklch": {
    "l": 0.94229,
    "c": 0.13449,
    "h": 106.4
  },
  "luminance": 0.8489
}

Semantic roles & 50–950 ramp

primary
#F7F282
secondary
#494FD4
accent
#0BE501
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F7F282

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

Preview Lab → · Contrast checker → · Palette generator →

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