#F4E171#F4E171

#F4E171 is a very light, vivid yellow. Relative luminance 0.743; OKLCH L 90.3% C 0.134 H 99.8°. Best body text is #000000 at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#F4E171
RGBrgb(244, 225, 113)
HSLhsl(51, 86%, 70%)
HSVhsv(51, 54%, 96%)
CMYKcmyk(0%, 7.8%, 53.7%, 4.3%)
CIE-LABlab(89.05, -7.35, 56.39)
CIE-LCHlch(89.05, 56.87, 97.43°)
OKLaboklab(90.31% -0.0229 0.1323)
OKLCHoklch(90.31% 0.134 99.8)
XYZxyz(67.2163, 74.2784, 26.4161)
Luminance0.7428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E171 #7184F4
analogous
#F4A071 #F4E171 #C5F471
triadic
#F4E171 #71F4E1 #E171F4
tetradic
#F4E171 #71F4A0 #7184F4 #F471C5
square
#F4E171 #71F4A0 #7184F4 #F471C5
split-complementary
#F4E171 #71C5F4 #A071F4
monochromatic
#DABD11 #F0D538 #F4E171 #F8EDAA #FDF9E3

Accessibility & contrast

On white

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

On black

15.86
#F4E171 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4E171
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4E171#FFFFFF#000000##000000
##F4E1711.001.3215.8615.86
#FFFFFF1.321.0021.0021.00
#00000015.8621.001.001.00
##00000015.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DB66
Deuteranopia (green-blind)
#F8E376
Tritanopia (blue-blind)
#FFD3C8
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f4e171;
/* rgb */ color: rgb(244, 225, 113);
/* oklch */ color: oklch(90.3% 0.134 99.8);
Tailwind
colors: {
  custom: {
    50: '#faea9d',
    500: '#f4e171',
    950: '#000000',
  },
}
SCSS
$custom: #f4e171;
$custom-light: #faea9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e171",
  "rgb": {
    "r": 244,
    "g": 225,
    "b": 113
  },
  "hsl": {
    "h": 51.298,
    "s": 85.621,
    "l": 70
  },
  "oklch": {
    "l": 0.90312,
    "c": 0.13423,
    "h": 99.8
  },
  "luminance": 0.74276
}

Semantic roles & 50–950 ramp

primary
#F4E171
secondary
#3B51CE
accent
#24E203
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F4E171

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

Preview Lab → · Contrast checker → · Palette generator →

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