#F7F790#F7F790

#F7F790 is a very light, vivid yellow. Relative luminance 0.883; OKLCH L 95.4% C 0.126 H 108.6°. Best body text is #000000 at 18.66:1 contrast (WCAG AA passes).

Color values

HEX#F7F790
RGBrgb(247, 247, 144)
HSLhsl(60, 87%, 77%)
HSVhsv(60, 42%, 97%)
CMYKcmyk(0%, 0%, 41.7%, 3.1%)
CIE-LABlab(95.29, -14.30, 49.38)
CIE-LCHlch(95.29, 51.40, 106.15°)
OKLaboklab(95.44% -0.04 0.1192)
OKLCHoklch(95.44% 0.126 108.6)
XYZxyz(76.6539, 88.3109, 39.3879)
Luminance0.8831 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F790 #9090F7
analogous
#F7C490 #F7F790 #C4F790
triadic
#F7F790 #90F7F7 #F790F7
tetradic
#F7F790 #90F7C4 #9090F7 #F790C4
square
#F7F790 #90F7C4 #9090F7 #F790C4
split-complementary
#F7F790 #90C4F7 #C490F7
monochromatic
#EFEF1E #F3F357 #F7F790 #FBFBC9 #FDFDE2

Accessibility & contrast

On white

1.13
#F7F790 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.66
#F7F790 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F790
18.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F790#FFFFFF#000000##000000
##F7F7901.001.1318.6618.66
#FFFFFF1.131.0021.0021.00
#00000018.6621.001.001.00
##00000018.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF88
Deuteranopia (green-blind)
#FFF395
Tritanopia (blue-blind)
#FFEBDE
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f7f790;
/* rgb */ color: rgb(247, 247, 144);
/* oklch */ color: oklch(95.4% 0.126 108.6);
Tailwind
colors: {
  custom: {
    50: '#fbf9b2',
    500: '#f7f790',
    950: '#000000',
  },
}
SCSS
$custom: #f7f790;
$custom-light: #fbf9b2;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f790",
  "rgb": {
    "r": 247,
    "g": 247,
    "b": 144
  },
  "hsl": {
    "h": 60,
    "s": 86.555,
    "l": 76.667
  },
  "oklch": {
    "l": 0.95442,
    "c": 0.12573,
    "h": 108.6
  },
  "luminance": 0.88309
}

Semantic roles & 50–950 ramp

primary
#F7F790
secondary
#5656D5
accent
#02E302
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #F7F790

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

Preview Lab → · Contrast checker → · Palette generator →

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