#F7F985#F7F985

#F7F985 is a very light, vivid yellow. Relative luminance 0.892; OKLCH L 95.7% C 0.139 H 109.6°. Best body text is #000000 at 18.84:1 contrast (WCAG AA passes).

Color values

HEX#F7F985
RGBrgb(247, 249, 133)
HSLhsl(61, 91%, 75%)
HSVhsv(61, 47%, 98%)
CMYKcmyk(0.8%, 0%, 46.6%, 2.4%)
CIE-LABlab(95.67, -16.31, 55.04)
CIE-LCHlch(95.67, 57.41, 106.51°)
OKLaboklab(95.7% -0.0468 0.131)
OKLCHoklch(95.7% 0.139 109.6)
XYZxyz(76.4686, 89.2206, 35.3788)
Luminance0.8922 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F985 #8785F9
analogous
#F9C185 #F7F985 #BDF985
triadic
#F7F985 #85F7F9 #F985F7
tetradic
#F7F985 #85F9C1 #8785F9 #F985BD
square
#F7F985 #85F9C1 #8785F9 #F985BD
split-complementary
#F7F985 #85BDF9 #C185F9
monochromatic
#EFF310 #F3F64B #F7F985 #FBFCBF #FDFEE2

Accessibility & contrast

On white

1.11
#F7F985 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.84
#F7F985 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F985
18.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F985#FFFFFF#000000##000000
##F7F9851.001.1118.8418.84
#FFFFFF1.111.0021.0021.00
#00000018.8421.001.001.00
##00000018.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF07B
Deuteranopia (green-blind)
#FFF48B
Tritanopia (blue-blind)
#FFEDDE
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f7f985;
/* rgb */ color: rgb(247, 249, 133);
/* oklch */ color: oklch(95.7% 0.139 109.6);
Tailwind
colors: {
  custom: {
    50: '#fcfbab',
    500: '#f7f985',
    950: '#000000',
  },
}
SCSS
$custom: #f7f985;
$custom-light: #fcfbab;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f985",
  "rgb": {
    "r": 247,
    "g": 249,
    "b": 133
  },
  "hsl": {
    "h": 61.034,
    "s": 90.625,
    "l": 74.902
  },
  "oklch": {
    "l": 0.95701,
    "c": 0.13911,
    "h": 109.6
  },
  "luminance": 0.89219
}

Semantic roles & 50–950 ramp

primary
#F7F985
secondary
#4E4BD7
accent
#00E604
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #F7F985

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

Preview Lab → · Contrast checker → · Palette generator →

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