#F7E08D#F7E08D

#F7E08D is a very light, moderate yellow. Relative luminance 0.750; OKLCH L 90.8% C 0.106 H 94.4°. Best body text is #000000 at 16.00:1 contrast (WCAG AA passes).

Color values

HEX#F7E08D
RGBrgb(247, 224, 141)
HSLhsl(47, 87%, 76%)
HSVhsv(47, 43%, 97%)
CMYKcmyk(0%, 9.3%, 42.9%, 3.1%)
CIE-LABlab(89.40, -3.15, 43.43)
CIE-LCHlch(89.40, 43.55, 94.15°)
OKLaboklab(90.76% -0.0082 0.1056)
OKLCHoklch(90.76% 0.106 94.4)
XYZxyz(69.8229, 75.0111, 35.9948)
Luminance0.7501 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E08D #8DA4F7
analogous
#F7AB8D #F7E08D #D9F78D
triadic
#F7E08D #8DF7E0 #E08DF7
tetradic
#F7E08D #8DF7AB #8DA4F7 #F78DD9
square
#F7E08D #8DF7AB #8DA4F7 #F78DD9
split-complementary
#F7E08D #8DD9F7 #AB8DF7
monochromatic
#EFC11B #F3D054 #F7E08D #FBF0C6 #FDF7E2

Accessibility & contrast

On white

1.31
#F7E08D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.00
#F7E08D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E08D
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E08D#FFFFFF#000000##000000
##F7E08D1.001.3116.0016.00
#FFFFFF1.311.0021.0021.00
#00000016.0021.001.001.00
##00000016.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DC87
Deuteranopia (green-blind)
#F6E490
Tritanopia (blue-blind)
#FFD4CC
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f7e08d;
/* rgb */ color: rgb(247, 224, 141);
/* oklch */ color: oklch(90.8% 0.106 94.4);
Tailwind
colors: {
  custom: {
    50: '#fbe9af',
    500: '#f7e08d',
    950: '#000000',
  },
}
SCSS
$custom: #f7e08d;
$custom-light: #fbe9af;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e08d",
  "rgb": {
    "r": 247,
    "g": 224,
    "b": 141
  },
  "hsl": {
    "h": 46.981,
    "s": 86.885,
    "l": 76.078
  },
  "oklch": {
    "l": 0.90756,
    "c": 0.10593,
    "h": 94.4
  },
  "luminance": 0.75009
}

Semantic roles & 50–950 ramp

primary
#F7E08D
secondary
#536FD5
accent
#33E302
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F7E08D

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

Preview Lab → · Contrast checker → · Palette generator →

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