#F3E771#F3E771

#F3E771 is a very light, vivid yellow. Relative luminance 0.774; OKLCH L 91.4% C 0.140 H 103.5°. Best body text is #000000 at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#F3E771
RGBrgb(243, 231, 113)
HSLhsl(54, 84%, 70%)
HSVhsv(54, 53%, 95%)
CMYKcmyk(0%, 4.9%, 53.5%, 4.7%)
CIE-LABlab(90.51, -10.75, 58.06)
CIE-LCHlch(90.51, 59.04, 100.49°)
OKLaboklab(91.44% -0.0326 0.1359)
OKLCHoklch(91.44% 0.14 103.5)
XYZxyz(68.5208, 77.4011, 26.9501)
Luminance0.7740 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F3E771 #717DF3
analogous
#F3A671 #F3E771 #BEF371
triadic
#F3E771 #71F3E7 #E771F3
tetradic
#F3E771 #71F3A6 #717DF3 #F371BE
square
#F3E771 #71F3A6 #717DF3 #F371BE
split-complementary
#F3E771 #71BEF3 #A671F3
monochromatic
#D7C512 #EEDD39 #F3E771 #F8F1A9 #FDFAE2

Accessibility & contrast

On white

1.27
#F3E771 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.48
#F3E771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F3E771
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F3E771#FFFFFF#000000##000000
##F3E7711.001.2716.4816.48
#FFFFFF1.271.0021.0021.00
#00000016.4821.001.001.00
##00000016.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E066
Deuteranopia (green-blind)
#FDE777
Tritanopia (blue-blind)
#FFDACC
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f3e771;
/* rgb */ color: rgb(243, 231, 113);
/* oklch */ color: oklch(91.4% 0.140 103.5);
Tailwind
colors: {
  custom: {
    50: '#f9ee9d',
    500: '#f3e771',
    950: '#000000',
  },
}
SCSS
$custom: #f3e771;
$custom-light: #f9ee9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f3e771",
  "rgb": {
    "r": 243,
    "g": 231,
    "b": 113
  },
  "hsl": {
    "h": 54.462,
    "s": 84.416,
    "l": 69.804
  },
  "oklch": {
    "l": 0.91444,
    "c": 0.13975,
    "h": 103.5
  },
  "luminance": 0.77399
}

Semantic roles & 50–950 ramp

primary
#F3E771
secondary
#3B49CD
accent
#19E105
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F3E771

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

Preview Lab → · Contrast checker → · Palette generator →

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