#F4E172#F4E172

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

Color values

HEX#F4E172
RGBrgb(244, 225, 114)
HSLhsl(51, 86%, 70%)
HSVhsv(51, 53%, 96%)
CMYKcmyk(0%, 7.8%, 53.3%, 4.3%)
CIE-LABlab(89.06, -7.27, 55.94)
CIE-LCHlch(89.06, 56.41, 97.41°)
OKLaboklab(90.32% -0.0226 0.1314)
OKLCHoklch(90.32% 0.133 99.8)
XYZxyz(67.2730, 74.3010, 26.7142)
Luminance0.7430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E172 #7285F4
analogous
#F4A072 #F4E172 #C6F472
triadic
#F4E172 #72F4E1 #E172F4
tetradic
#F4E172 #72F4A0 #7285F4 #F472C6
square
#F4E172 #72F4A0 #7285F4 #F472C6
split-complementary
#F4E172 #72C6F4 #A072F4
monochromatic
#DBBD11 #F0D539 #F4E172 #F8EDAB #FDF9E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F4E172#FFFFFF#000000##000000
##F4E1721.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)
#F3DC68
Deuteranopia (green-blind)
#F8E377
Tritanopia (blue-blind)
#FFD3C8
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f4e172;
/* rgb */ color: rgb(244, 225, 114);
/* oklch */ color: oklch(90.3% 0.133 99.8);
Tailwind
colors: {
  custom: {
    50: '#faea9d',
    500: '#f4e172',
    950: '#000000',
  },
}
SCSS
$custom: #f4e172;
$custom-light: #faea9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e172",
  "rgb": {
    "r": 244,
    "g": 225,
    "b": 114
  },
  "hsl": {
    "h": 51.231,
    "s": 85.526,
    "l": 70.196
  },
  "oklch": {
    "l": 0.90324,
    "c": 0.13331,
    "h": 99.8
  },
  "luminance": 0.74298
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F4E172

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

Preview Lab → · Contrast checker → · Palette generator →

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