#F7E17A#F7E17A

#F7E17A is a very light, vivid yellow. Relative luminance 0.750; OKLCH L 90.7% C 0.126 H 97.5°. Best body text is #000000 at 16.01:1 contrast (WCAG AA passes).

Color values

HEX#F7E17A
RGBrgb(247, 225, 122)
HSLhsl(49, 89%, 72%)
HSVhsv(49, 51%, 97%)
CMYKcmyk(0%, 8.9%, 50.6%, 3.1%)
CIE-LABlab(89.41, -5.41, 52.66)
CIE-LCHlch(89.41, 52.94, 95.87°)
OKLaboklab(90.69% -0.0165 0.1249)
OKLCHoklch(90.69% 0.126 97.5)
XYZxyz(68.7981, 75.0324, 29.2673)
Luminance0.7503 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E17A #7A90F7
analogous
#F7A37A #F7E17A #CEF77A
triadic
#F7E17A #7AF7E1 #E17AF7
tetradic
#F7E17A #7AF7A3 #7A90F7 #F77ACE
square
#F7E17A #7AF7A3 #7A90F7 #F77ACE
split-complementary
#F7E17A #7ACEF7 #A37AF7
monochromatic
#E9C20E #F4D440 #F7E17A #FAEEB4 #FDF8E2

Accessibility & contrast

On white

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

On black

16.01
#F7E17A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E17A
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E17A#FFFFFF#000000##000000
##F7E17A1.001.3116.0116.01
#FFFFFF1.311.0021.0021.00
#00000016.0121.001.001.00
##00000016.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7e17a;
/* rgb */ color: rgb(247, 225, 122);
/* oklch */ color: oklch(90.7% 0.126 97.5);
Tailwind
colors: {
  custom: {
    50: '#fceaa3',
    500: '#f7e17a',
    950: '#000000',
  },
}
SCSS
$custom: #f7e17a;
$custom-light: #fceaa3;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e17a",
  "rgb": {
    "r": 247,
    "g": 225,
    "b": 122
  },
  "hsl": {
    "h": 49.44,
    "s": 88.652,
    "l": 72.353
  },
  "oklch": {
    "l": 0.90686,
    "c": 0.126,
    "h": 97.5
  },
  "luminance": 0.7503
}

Semantic roles & 50–950 ramp

primary
#F7E17A
secondary
#425CD3
accent
#29E500
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F7E17A

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

Preview Lab → · Contrast checker → · Palette generator →

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