#F3D971#F3D971

#F3D971 is a very light, vivid yellow. Relative luminance 0.699; OKLCH L 88.6% C 0.127 H 95.6°. Best body text is #000000 at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#F3D971
RGBrgb(243, 217, 113)
HSLhsl(48, 84%, 70%)
HSVhsv(48, 53%, 95%)
CMYKcmyk(0%, 10.7%, 53.5%, 4.7%)
CIE-LABlab(86.94, -3.72, 53.88)
CIE-LCHlch(86.94, 54.01, 93.95°)
OKLaboklab(88.62% -0.0124 0.1268)
OKLCHoklch(88.62% 0.127 95.6)
XYZxyz(64.7580, 69.8755, 25.6958)
Luminance0.6987 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F3D971 #718BF3
analogous
#F39871 #F3D971 #CCF371
triadic
#F3D971 #71F3D9 #D971F3
tetradic
#F3D971 #71F398 #718BF3 #F371CC
square
#F3D971 #71F398 #718BF3 #F371CC
split-complementary
#F3D971 #71CCF3 #9871F3
monochromatic
#D7B012 #EECA39 #F3D971 #F8E8A9 #FDF7E2

Accessibility & contrast

On white

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

On black

14.97
#F3D971 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F3D971
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F3D971#FFFFFF#000000##000000
##F3D9711.001.4014.9714.97
#FFFFFF1.401.0021.0021.00
#00000014.9721.001.001.00
##00000014.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD567
Deuteranopia (green-blind)
#F2DD75
Tritanopia (blue-blind)
#FFCBC1
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f3d971;
/* rgb */ color: rgb(243, 217, 113);
/* oklch */ color: oklch(88.6% 0.127 95.6);
Tailwind
colors: {
  custom: {
    50: '#fae49c',
    500: '#f3d971',
    950: '#000000',
  },
}
SCSS
$custom: #f3d971;
$custom-light: #fae49c;
$custom-dark: #000000;
JSON
{
  "hex": "#f3d971",
  "rgb": {
    "r": 243,
    "g": 217,
    "b": 113
  },
  "hsl": {
    "h": 48,
    "s": 84.416,
    "l": 69.804
  },
  "oklch": {
    "l": 0.88615,
    "c": 0.12743,
    "h": 95.6
  },
  "luminance": 0.69873
}

Semantic roles & 50–950 ramp

primary
#F3D971
secondary
#3B59CD
accent
#31E105
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F3D971

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

Preview Lab → · Contrast checker → · Palette generator →

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