#F7E17B#F7E17B

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

Color values

HEX#F7E17B
RGBrgb(247, 225, 123)
HSLhsl(49, 89%, 73%)
HSVhsv(49, 50%, 97%)
CMYKcmyk(0%, 8.9%, 50.2%, 3.1%)
CIE-LABlab(89.42, -5.33, 52.20)
CIE-LCHlch(89.42, 52.48, 95.83°)
OKLaboklab(90.7% -0.0162 0.124)
OKLCHoklch(90.7% 0.125 97.4)
XYZxyz(68.8603, 75.0573, 29.5953)
Luminance0.7506 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E17B #7B91F7
analogous
#F7A37B #F7E17B #CFF77B
triadic
#F7E17B #7BF7E1 #E17BF7
tetradic
#F7E17B #7BF7A3 #7B91F7 #F77BCF
square
#F7E17B #7BF7A3 #7B91F7 #F77BCF
split-complementary
#F7E17B #7BCFF7 #A37BF7
monochromatic
#E9C30E #F4D441 #F7E17B #FAEEB5 #FDF8E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F7E17B#FFFFFF#000000##000000
##F7E17B1.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)
#F3DC72
Deuteranopia (green-blind)
#F9E47F
Tritanopia (blue-blind)
#FFD4C9
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f7e17b;
/* rgb */ color: rgb(247, 225, 123);
/* oklch */ color: oklch(90.7% 0.125 97.4);
Tailwind
colors: {
  custom: {
    50: '#fceaa3',
    500: '#f7e17b',
    950: '#000000',
  },
}
SCSS
$custom: #f7e17b;
$custom-light: #fceaa3;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e17b",
  "rgb": {
    "r": 247,
    "g": 225,
    "b": 123
  },
  "hsl": {
    "h": 49.355,
    "s": 88.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.90699,
    "c": 0.12504,
    "h": 97.4
  },
  "luminance": 0.75055
}

Semantic roles & 50–950 ramp

primary
#F7E17B
secondary
#435DD3
accent
#29E500
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F7E17B

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

Preview Lab → · Contrast checker → · Palette generator →

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