#F3D987#F3D987

#F3D987 is a very light, moderate yellow. Relative luminance 0.704; OKLCH L 88.9% C 0.106 H 92.4°. Best body text is #000000 at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#F3D987
RGBrgb(243, 217, 135)
HSLhsl(46, 82%, 74%)
HSVhsv(46, 44%, 95%)
CMYKcmyk(0%, 10.7%, 44.4%, 4.7%)
CIE-LABlab(87.21, -1.77, 43.57)
CIE-LCHlch(87.21, 43.60, 92.32°)
OKLaboklab(88.92% -0.0045 0.1056)
OKLCHoklch(88.92% 0.106 92.4)
XYZxyz(66.1501, 70.4323, 33.0273)
Luminance0.7043 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F3D987 #87A1F3
analogous
#F3A387 #F3D987 #D7F387
triadic
#F3D987 #87F3D9 #D987F3
tetradic
#F3D987 #87F3A3 #87A1F3 #F387D7
square
#F3D987 #87F3A3 #87A1F3 #F387D7
split-complementary
#F3D987 #87D7F3 #A387F3
monochromatic
#E8B618 #EDC74F #F3D987 #F9EBBF #FCF6E3

Accessibility & contrast

On white

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

On black

15.09
#F3D987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F3D987
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F3D987#FFFFFF#000000##000000
##F3D9871.001.3915.0915.09
#FFFFFF1.391.0021.0021.00
#00000015.0921.001.001.00
##00000015.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D681
Deuteranopia (green-blind)
#F0DE8A
Tritanopia (blue-blind)
#FFCDC5
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f3d987;
/* rgb */ color: rgb(243, 217, 135);
/* oklch */ color: oklch(88.9% 0.106 92.4);
Tailwind
colors: {
  custom: {
    50: '#f9e4ab',
    500: '#f3d987',
    950: '#000000',
  },
}
SCSS
$custom: #f3d987;
$custom-light: #f9e4ab;
$custom-dark: #000000;
JSON
{
  "hex": "#f3d987",
  "rgb": {
    "r": 243,
    "g": 217,
    "b": 135
  },
  "hsl": {
    "h": 45.556,
    "s": 81.818,
    "l": 74.118
  },
  "oklch": {
    "l": 0.88918,
    "c": 0.10571,
    "h": 92.4
  },
  "luminance": 0.7043
}

Semantic roles & 50–950 ramp

primary
#F3D987
secondary
#4F6ECF
accent
#3BDE07
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #F3D987

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

Preview Lab → · Contrast checker → · Palette generator →

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