#F4D87F#F4D87F

#F4D87F is a very light, moderate yellow. Relative luminance 0.699; OKLCH L 88.7% C 0.113 H 92.5°. Best body text is #000000 at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#F4D87F
RGBrgb(244, 216, 127)
HSLhsl(46, 84%, 73%)
HSVhsv(46, 48%, 96%)
CMYKcmyk(0%, 11.5%, 48%, 4.3%)
CIE-LABlab(86.94, -1.61, 47.19)
CIE-LCHlch(86.94, 47.22, 91.96°)
OKLaboklab(88.69% -0.0049 0.1132)
OKLCHoklch(88.69% 0.113 92.5)
XYZxyz(65.6970, 69.8799, 30.1022)
Luminance0.6988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4D87F #7F9BF4
analogous
#F49D7F #F4D87F #D6F47F
triadic
#F4D87F #7FF4D8 #D87FF4
tetradic
#F4D87F #7FF49D #7F9BF4 #F47FD6
square
#F4D87F #7FF49D #7F9BF4 #F47FD6
split-complementary
#F4D87F #7FD6F4 #9D7FF4
monochromatic
#E5B314 #EFC747 #F4D87F #F9E9B7 #FDF6E3

Accessibility & contrast

On white

1.40
#F4D87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.98
#F4D87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4D87F
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4D87F#FFFFFF#000000##000000
##F4D87F1.001.4014.9814.98
#FFFFFF1.401.0021.0021.00
#00000014.9821.001.001.00
##00000014.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D578
Deuteranopia (green-blind)
#F0DD82
Tritanopia (blue-blind)
#FFCBC3
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f4d87f;
/* rgb */ color: rgb(244, 216, 127);
/* oklch */ color: oklch(88.7% 0.113 92.5);
Tailwind
colors: {
  custom: {
    50: '#fae3a6',
    500: '#f4d87f',
    950: '#000000',
  },
}
SCSS
$custom: #f4d87f;
$custom-light: #fae3a6;
$custom-dark: #000000;
JSON
{
  "hex": "#f4d87f",
  "rgb": {
    "r": 244,
    "g": 216,
    "b": 127
  },
  "hsl": {
    "h": 45.641,
    "s": 84.173,
    "l": 72.745
  },
  "oklch": {
    "l": 0.88691,
    "c": 0.11334,
    "h": 92.5
  },
  "luminance": 0.69877
}

Semantic roles & 50–950 ramp

primary
#F4D87F
secondary
#4868D0
accent
#39E105
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18150F
muted
#868480

Preview Lab

Preview with #F4D87F

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

Preview Lab → · Contrast checker → · Palette generator →

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