#F4D874#F4D874

#F4D874 is a very light, vivid yellow. Relative luminance 0.696; OKLCH L 88.5% C 0.124 H 94.1°. Best body text is #000000 at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#F4D874
RGBrgb(244, 216, 116)
HSLhsl(47, 85%, 71%)
HSVhsv(47, 52%, 96%)
CMYKcmyk(0%, 11.5%, 52.5%, 4.3%)
CIE-LABlab(86.80, -2.56, 52.33)
CIE-LCHlch(86.80, 52.39, 92.81°)
OKLaboklab(88.54% -0.0088 0.1237)
OKLCHoklch(88.54% 0.124 94.1)
XYZxyz(65.0188, 69.6087, 26.5306)
Luminance0.6961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4D874 #7490F4
analogous
#F49874 #F4D874 #D0F474
triadic
#F4D874 #74F4D8 #D874F4
tetradic
#F4D874 #74F498 #7490F4 #F474D0
square
#F4D874 #74F498 #7490F4 #F474D0
split-complementary
#F4D874 #74D0F4 #9874F4
monochromatic
#DCB011 #F0C83B #F4D874 #F8E8AD #FDF7E3

Accessibility & contrast

On white

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

On black

14.92
#F4D874 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4D874
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4D874#FFFFFF#000000##000000
##F4D8741.001.4114.9214.92
#FFFFFF1.411.0021.0021.00
#00000014.9221.001.001.00
##00000014.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f4d874;
/* rgb */ color: rgb(244, 216, 116);
/* oklch */ color: oklch(88.5% 0.124 94.1);
Tailwind
colors: {
  custom: {
    50: '#fae39e',
    500: '#f4d874',
    950: '#000000',
  },
}
SCSS
$custom: #f4d874;
$custom-light: #fae39e;
$custom-dark: #000000;
JSON
{
  "hex": "#f4d874",
  "rgb": {
    "r": 244,
    "g": 216,
    "b": 116
  },
  "hsl": {
    "h": 46.875,
    "s": 85.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.88542,
    "c": 0.12402,
    "h": 94.1
  },
  "luminance": 0.69606
}

Semantic roles & 50–950 ramp

primary
#F4D874
secondary
#3E5DCE
accent
#34E204
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F4D874

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

Preview Lab → · Contrast checker → · Palette generator →

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