#F7F48B#F7F48B

#F7F48B is a very light, vivid yellow. Relative luminance 0.863; OKLCH L 94.8% C 0.128 H 107.2°. Best body text is #000000 at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#F7F48B
RGBrgb(247, 244, 139)
HSLhsl(58, 87%, 76%)
HSVhsv(58, 44%, 97%)
CMYKcmyk(0%, 1.2%, 43.7%, 3.1%)
CIE-LABlab(94.46, -13.32, 50.73)
CIE-LCHlch(94.46, 52.45, 104.71°)
OKLaboklab(94.76% -0.0376 0.1219)
OKLCHoklch(94.76% 0.128 107.2)
XYZxyz(75.3701, 86.3414, 37.1163)
Luminance0.8634 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F48B #8B8EF7
analogous
#F7BE8B #F7F48B #C4F78B
triadic
#F7F48B #8BF7F4 #F48BF7
tetradic
#F7F48B #8BF7BE #8B8EF7 #F78BC4
square
#F7F48B #8BF7BE #8B8EF7 #F78BC4
split-complementary
#F7F48B #8BC4F7 #BE8BF7
monochromatic
#EFE918 #F3EF52 #F7F48B #FBF9C4 #FDFCE2

Accessibility & contrast

On white

1.15
#F7F48B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.27
#F7F48B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F48B
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F48B#FFFFFF#000000##000000
##F7F48B1.001.1518.2718.27
#FFFFFF1.151.0021.0021.00
#00000018.2721.001.001.00
##00000018.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED82
Deuteranopia (green-blind)
#FFF190
Tritanopia (blue-blind)
#FFE8DB
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f7f48b;
/* rgb */ color: rgb(247, 244, 139);
/* oklch */ color: oklch(94.8% 0.128 107.2);
Tailwind
colors: {
  custom: {
    50: '#fbf7af',
    500: '#f7f48b',
    950: '#000000',
  },
}
SCSS
$custom: #f7f48b;
$custom-light: #fbf7af;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f48b",
  "rgb": {
    "r": 247,
    "g": 244,
    "b": 139
  },
  "hsl": {
    "h": 58.333,
    "s": 87.097,
    "l": 75.686
  },
  "oklch": {
    "l": 0.94758,
    "c": 0.12759,
    "h": 107.2
  },
  "luminance": 0.8634
}

Semantic roles & 50–950 ramp

primary
#F7F48B
secondary
#5155D5
accent
#08E402
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F7F48B

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

Preview Lab → · Contrast checker → · Palette generator →

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