#F7E17D#F7E17D

#F7E17D is a very light, vivid yellow. Relative luminance 0.751; OKLCH L 90.7% C 0.123 H 97.2°. Best body text is #000000 at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#F7E17D
RGBrgb(247, 225, 125)
HSLhsl(49, 88%, 73%)
HSVhsv(49, 49%, 97%)
CMYKcmyk(0%, 8.9%, 49.4%, 3.1%)
CIE-LABlab(89.44, -5.15, 51.28)
CIE-LCHlch(89.44, 51.54, 95.74°)
OKLaboklab(90.73% -0.0155 0.1221)
OKLCHoklch(90.73% 0.123 97.2)
XYZxyz(68.9868, 75.1079, 30.2615)
Luminance0.7510 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E17D #7D93F7
analogous
#F7A47D #F7E17D #D0F77D
triadic
#F7E17D #7DF7E1 #E17DF7
tetradic
#F7E17D #7DF7A4 #7D93F7 #F77DD0
square
#F7E17D #7DF7A4 #7D93F7 #F77DD0
split-complementary
#F7E17D #7DD0F7 #A47DF7
monochromatic
#EBC30E #F3D443 #F7E17D #FBEEB7 #FDF8E2

Accessibility & contrast

On white

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

On black

16.02
#F7E17D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E17D
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E17D#FFFFFF#000000##000000
##F7E17D1.001.3116.0216.02
#FFFFFF1.311.0021.0021.00
#00000016.0221.001.001.00
##00000016.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DC74
Deuteranopia (green-blind)
#F8E481
Tritanopia (blue-blind)
#FFD4C9
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f7e17d;
/* rgb */ color: rgb(247, 225, 125);
/* oklch */ color: oklch(90.7% 0.123 97.2);
Tailwind
colors: {
  custom: {
    50: '#fceaa5',
    500: '#f7e17d',
    950: '#000000',
  },
}
SCSS
$custom: #f7e17d;
$custom-light: #fceaa5;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e17d",
  "rgb": {
    "r": 247,
    "g": 225,
    "b": 125
  },
  "hsl": {
    "h": 49.18,
    "s": 88.406,
    "l": 72.941
  },
  "oklch": {
    "l": 0.90725,
    "c": 0.12309,
    "h": 97.2
  },
  "luminance": 0.75105
}

Semantic roles & 50–950 ramp

primary
#F7E17D
secondary
#455FD3
accent
#2AE500
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F7E17D

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

Preview Lab → · Contrast checker → · Palette generator →

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