#F4D877#F4D877

#F4D877 is a very light, vivid yellow. Relative luminance 0.697; OKLCH L 88.6% C 0.121 H 93.7°. Best body text is #000000 at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#F4D877
RGBrgb(244, 216, 119)
HSLhsl(47, 85%, 71%)
HSVhsv(47, 51%, 96%)
CMYKcmyk(0%, 11.5%, 51.2%, 4.3%)
CIE-LABlab(86.84, -2.31, 50.94)
CIE-LCHlch(86.84, 50.99, 92.60°)
OKLaboklab(88.58% -0.0077 0.1209)
OKLCHoklch(88.58% 0.121 93.7)
XYZxyz(65.1962, 69.6796, 27.4645)
Luminance0.6968 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4D877 #7793F4
analogous
#F49977 #F4D877 #D1F477
triadic
#F4D877 #77F4D8 #D877F4
tetradic
#F4D877 #77F499 #7793F4 #F477D1
square
#F4D877 #77F499 #7793F4 #F477D1
split-complementary
#F4D877 #77D1F4 #9977F4
monochromatic
#DFB112 #EFC83E #F4D877 #F9E8B0 #FDF7E3

Accessibility & contrast

On white

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

On black

14.94
#F4D877 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4D877
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4D877#FFFFFF#000000##000000
##F4D8771.001.4114.9414.94
#FFFFFF1.411.0021.0021.00
#00000014.9421.001.001.00
##00000014.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD46F
Deuteranopia (green-blind)
#F1DD7B
Tritanopia (blue-blind)
#FFCBC1
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f4d877;
/* rgb */ color: rgb(244, 216, 119);
/* oklch */ color: oklch(88.6% 0.121 93.7);
Tailwind
colors: {
  custom: {
    50: '#fae3a0',
    500: '#f4d877',
    950: '#000000',
  },
}
SCSS
$custom: #f4d877;
$custom-light: #fae3a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f4d877",
  "rgb": {
    "r": 244,
    "g": 216,
    "b": 119
  },
  "hsl": {
    "h": 46.56,
    "s": 85.034,
    "l": 71.176
  },
  "oklch": {
    "l": 0.88581,
    "c": 0.12117,
    "h": 93.7
  },
  "luminance": 0.69677
}

Semantic roles & 50–950 ramp

primary
#F4D877
secondary
#4160CF
accent
#36E204
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F4D877

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

Preview Lab → · Contrast checker → · Palette generator →

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