#F7E08B#F7E08B

#F7E08B is a very light, moderate yellow. Relative luminance 0.750; OKLCH L 90.7% C 0.108 H 94.7°. Best body text is #000000 at 15.99:1 contrast (WCAG AA passes).

Color values

HEX#F7E08B
RGBrgb(247, 224, 139)
HSLhsl(47, 87%, 76%)
HSVhsv(47, 44%, 97%)
CMYKcmyk(0%, 9.3%, 43.7%, 3.1%)
CIE-LABlab(89.37, -3.35, 44.39)
CIE-LCHlch(89.37, 44.51, 94.31°)
OKLaboklab(90.73% -0.0089 0.1077)
OKLCHoklch(90.73% 0.108 94.7)
XYZxyz(69.6755, 74.9521, 35.2181)
Luminance0.7495 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E08B #8BA2F7
analogous
#F7AA8B #F7E08B #D8F78B
triadic
#F7E08B #8BF7E0 #E08BF7
tetradic
#F7E08B #8BF7AA #8BA2F7 #F78BD8
square
#F7E08B #8BF7AA #8BA2F7 #F78BD8
split-complementary
#F7E08B #8BD8F7 #AA8BF7
monochromatic
#EFC118 #F3D152 #F7E08B #FBEFC4 #FDF7E2

Accessibility & contrast

On white

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

On black

15.99
#F7E08B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E08B
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E08B#FFFFFF#000000##000000
##F7E08B1.001.3115.9915.99
#FFFFFF1.311.0021.0021.00
#00000015.9921.001.001.00
##00000015.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DC84
Deuteranopia (green-blind)
#F6E48E
Tritanopia (blue-blind)
#FFD4CB
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f7e08b;
/* rgb */ color: rgb(247, 224, 139);
/* oklch */ color: oklch(90.7% 0.108 94.7);
Tailwind
colors: {
  custom: {
    50: '#fbe9ae',
    500: '#f7e08b',
    950: '#000000',
  },
}
SCSS
$custom: #f7e08b;
$custom-light: #fbe9ae;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e08b",
  "rgb": {
    "r": 247,
    "g": 224,
    "b": 139
  },
  "hsl": {
    "h": 47.222,
    "s": 87.097,
    "l": 75.686
  },
  "oklch": {
    "l": 0.90726,
    "c": 0.10803,
    "h": 94.7
  },
  "luminance": 0.7495
}

Semantic roles & 50–950 ramp

primary
#F7E08B
secondary
#516DD5
accent
#32E402
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F7E08B

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

Preview Lab → · Contrast checker → · Palette generator →

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