#F4E17F#F4E17F

#F4E17F is a very light, vivid yellow. Relative luminance 0.746; OKLCH L 90.5% C 0.121 H 98.6°. Best body text is #000000 at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#F4E17F
RGBrgb(244, 225, 127)
HSLhsl(50, 84%, 73%)
HSVhsv(50, 48%, 96%)
CMYKcmyk(0%, 7.8%, 48%, 4.3%)
CIE-LABlab(89.21, -6.17, 49.98)
CIE-LCHlch(89.21, 50.36, 97.04°)
OKLaboklab(90.49% -0.0181 0.1194)
OKLCHoklch(90.49% 0.121 98.6)
XYZxyz(68.0662, 74.6183, 30.8919)
Luminance0.7462 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E17F #7F92F4
analogous
#F4A67F #F4E17F #CDF47F
triadic
#F4E17F #7FF4E1 #E17FF4
tetradic
#F4E17F #7FF4A6 #7F92F4 #F47FCD
square
#F4E17F #7FF4A6 #7F92F4 #F47FCD
split-complementary
#F4E17F #7FCDF4 #A67FF4
monochromatic
#E5C314 #EFD447 #F4E17F #F9EEB7 #FDF8E3

Accessibility & contrast

On white

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

On black

15.92
#F4E17F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4E17F
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4E17F#FFFFFF#000000##000000
##F4E17F1.001.3215.9215.92
#FFFFFF1.321.0021.0021.00
#00000015.9221.001.001.00
##00000015.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DC77
Deuteranopia (green-blind)
#F7E383
Tritanopia (blue-blind)
#FFD4CA
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f4e17f;
/* rgb */ color: rgb(244, 225, 127);
/* oklch */ color: oklch(90.5% 0.121 98.6);
Tailwind
colors: {
  custom: {
    50: '#faeaa6',
    500: '#f4e17f',
    950: '#000000',
  },
}
SCSS
$custom: #f4e17f;
$custom-light: #faeaa6;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e17f",
  "rgb": {
    "r": 244,
    "g": 225,
    "b": 127
  },
  "hsl": {
    "h": 50.256,
    "s": 84.173,
    "l": 72.745
  },
  "oklch": {
    "l": 0.90491,
    "c": 0.1208,
    "h": 98.6
  },
  "luminance": 0.74616
}

Semantic roles & 50–950 ramp

primary
#F4E17F
secondary
#485ED0
accent
#29E105
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F4E17F

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

Preview Lab → · Contrast checker → · Palette generator →

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