#F4D879#F4D879

#F4D879 is a very light, moderate yellow. Relative luminance 0.697; OKLCH L 88.6% C 0.119 H 93.4°. Best body text is #000000 at 14.95:1 contrast (WCAG AA passes).

Color values

HEX#F4D879
RGBrgb(244, 216, 121)
HSLhsl(46, 85%, 72%)
HSVhsv(46, 50%, 96%)
CMYKcmyk(0%, 11.5%, 50.4%, 4.3%)
CIE-LABlab(86.86, -2.14, 50.01)
CIE-LCHlch(86.86, 50.06, 92.46°)
OKLaboklab(88.61% -0.007 0.119)
OKLCHoklch(88.61% 0.119 93.4)
XYZxyz(65.3176, 69.7281, 28.1038)
Luminance0.6973 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4D879 #7995F4
analogous
#F49B79 #F4D879 #D3F479
triadic
#F4D879 #79F4D8 #D879F4
tetradic
#F4D879 #79F49B #7995F4 #F479D3
square
#F4D879 #79F49B #7995F4 #F479D3
split-complementary
#F4D879 #79D3F4 #9B79F4
monochromatic
#E0B112 #EFC840 #F4D879 #F9E8B2 #FDF7E3

Accessibility & contrast

On white

1.41
#F4D879 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.95
#F4D879 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4D879
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4D879#FFFFFF#000000##000000
##F4D8791.001.4114.9514.95
#FFFFFF1.411.0021.0021.00
#00000014.9521.001.001.00
##00000014.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD571
Deuteranopia (green-blind)
#F1DD7D
Tritanopia (blue-blind)
#FFCBC2
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f4d879;
/* rgb */ color: rgb(244, 216, 121);
/* oklch */ color: oklch(88.6% 0.119 93.4);
Tailwind
colors: {
  custom: {
    50: '#fae3a2',
    500: '#f4d879',
    950: '#000000',
  },
}
SCSS
$custom: #f4d879;
$custom-light: #fae3a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f4d879",
  "rgb": {
    "r": 244,
    "g": 216,
    "b": 121
  },
  "hsl": {
    "h": 46.341,
    "s": 84.828,
    "l": 71.569
  },
  "oklch": {
    "l": 0.88608,
    "c": 0.11925,
    "h": 93.4
  },
  "luminance": 0.69725
}

Semantic roles & 50–950 ramp

primary
#F4D879
secondary
#4262CF
accent
#37E104
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F4D879

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

Preview Lab → · Contrast checker → · Palette generator →

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