#F4E17C#F4E17C

#F4E17C is a very light, vivid yellow. Relative luminance 0.745; OKLCH L 90.5% C 0.124 H 98.9°. Best body text is #000000 at 15.91:1 contrast (WCAG AA passes).

Color values

HEX#F4E17C
RGBrgb(244, 225, 124)
HSLhsl(51, 85%, 72%)
HSVhsv(51, 49%, 96%)
CMYKcmyk(0%, 7.8%, 49.2%, 4.3%)
CIE-LABlab(89.18, -6.44, 51.38)
CIE-LCHlch(89.18, 51.78, 97.14°)
OKLaboklab(90.45% -0.0191 0.1223)
OKLCHoklch(90.45% 0.124 98.9)
XYZxyz(67.8736, 74.5413, 29.8775)
Luminance0.7454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E17C #7C8FF4
analogous
#F4A57C #F4E17C #CBF47C
triadic
#F4E17C #7CF4E1 #E17CF4
tetradic
#F4E17C #7CF4A5 #7C8FF4 #F47CCB
square
#F4E17C #7CF4A5 #7C8FF4 #F47CCB
split-complementary
#F4E17C #7CCBF4 #A57CF4
monochromatic
#E3C213 #EFD444 #F4E17C #F9EEB4 #FDF9E3

Accessibility & contrast

On white

1.32
#F4E17C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.91
#F4E17C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4E17C
15.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4E17C#FFFFFF#000000##000000
##F4E17C1.001.3215.9115.91
#FFFFFF1.321.0021.0021.00
#00000015.9121.001.001.00
##00000015.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DC73
Deuteranopia (green-blind)
#F7E380
Tritanopia (blue-blind)
#FFD4C9
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f4e17c;
/* rgb */ color: rgb(244, 225, 124);
/* oklch */ color: oklch(90.5% 0.124 98.9);
Tailwind
colors: {
  custom: {
    50: '#faeaa4',
    500: '#f4e17c',
    950: '#000000',
  },
}
SCSS
$custom: #f4e17c;
$custom-light: #faeaa4;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e17c",
  "rgb": {
    "r": 244,
    "g": 225,
    "b": 124
  },
  "hsl": {
    "h": 50.5,
    "s": 84.507,
    "l": 72.157
  },
  "oklch": {
    "l": 0.9045,
    "c": 0.12378,
    "h": 98.9
  },
  "luminance": 0.74539
}

Semantic roles & 50–950 ramp

primary
#F4E17C
secondary
#455BCF
accent
#27E105
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F4E17C

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

Preview Lab → · Contrast checker → · Palette generator →

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