#F4D986#F4D986

#F4D986 is a very light, moderate yellow. Relative luminance 0.706; OKLCH L 89.0% C 0.107 H 92.0°. Best body text is #000000 at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#F4D986
RGBrgb(244, 217, 134)
HSLhsl(45, 83%, 74%)
HSVhsv(45, 45%, 96%)
CMYKcmyk(0%, 11.1%, 45.1%, 4.3%)
CIE-LABlab(87.28, -1.47, 44.17)
CIE-LCHlch(87.28, 44.20, 91.90°)
OKLaboklab(88.99% -0.0038 0.1069)
OKLCHoklch(88.99% 0.107 92)
XYZxyz(66.4261, 70.5827, 32.6745)
Luminance0.7058 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4D986 #86A1F4
analogous
#F4A286 #F4D986 #D8F486
triadic
#F4D986 #86F4D9 #D986F4
tetradic
#F4D986 #86F4A2 #86A1F4 #F486D8
square
#F4D986 #86F4A2 #86A1F4 #F486D8
split-complementary
#F4D986 #86D8F4 #A286F4
monochromatic
#EAB616 #EFC74E #F4D986 #F9EBBE #FCF6E3

Accessibility & contrast

On white

1.39
#F4D986 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.12
#F4D986 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4D986
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4D986#FFFFFF#000000##000000
##F4D9861.001.3915.1215.12
#FFFFFF1.391.0021.0021.00
#00000015.1221.001.001.00
##00000015.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD67F
Deuteranopia (green-blind)
#F0DE89
Tritanopia (blue-blind)
#FFCDC5
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f4d986;
/* rgb */ color: rgb(244, 217, 134);
/* oklch */ color: oklch(89.0% 0.107 92.0);
Tailwind
colors: {
  custom: {
    50: '#f9e4aa',
    500: '#f4d986',
    950: '#000000',
  },
}
SCSS
$custom: #f4d986;
$custom-light: #f9e4aa;
$custom-dark: #000000;
JSON
{
  "hex": "#f4d986",
  "rgb": {
    "r": 244,
    "g": 217,
    "b": 134
  },
  "hsl": {
    "h": 45.273,
    "s": 83.333,
    "l": 74.118
  },
  "oklch": {
    "l": 0.88993,
    "c": 0.107,
    "h": 92
  },
  "luminance": 0.7058
}

Semantic roles & 50–950 ramp

primary
#F4D986
secondary
#4E6ED0
accent
#3BE006
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#181510
muted
#868481

Preview Lab

Preview with #F4D986

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

Preview Lab → · Contrast checker → · Palette generator →

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