#F3E171#F3E171

#F3E171 is a very light, vivid yellow. Relative luminance 0.741; OKLCH L 90.2% C 0.134 H 100.3°. Best body text is #000000 at 15.82:1 contrast (WCAG AA passes).

Color values

HEX#F3E171
RGBrgb(243, 225, 113)
HSLhsl(52, 84%, 70%)
HSVhsv(52, 53%, 95%)
CMYKcmyk(0%, 7.4%, 53.5%, 4.7%)
CIE-LABlab(88.97, -7.75, 56.27)
CIE-LCHlch(88.97, 56.80, 97.85°)
OKLaboklab(90.23% -0.024 0.132)
OKLCHoklch(90.23% 0.134 100.3)
XYZxyz(66.8702, 74.0999, 26.3999)
Luminance0.7410 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F3E171 #7183F3
analogous
#F3A071 #F3E171 #C4F371
triadic
#F3E171 #71F3E1 #E171F3
tetradic
#F3E171 #71F3A0 #7183F3 #F371C4
square
#F3E171 #71F3A0 #7183F3 #F371C4
split-complementary
#F3E171 #71C4F3 #A071F3
monochromatic
#D7BC12 #EED539 #F3E171 #F8EDA9 #FDF9E2

Accessibility & contrast

On white

1.33
#F3E171 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.82
#F3E171 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F3E171
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F3E171#FFFFFF#000000##000000
##F3E1711.001.3315.8215.82
#FFFFFF1.331.0021.0021.00
#00000015.8221.001.001.00
##00000015.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DB66
Deuteranopia (green-blind)
#F8E376
Tritanopia (blue-blind)
#FFD4C8
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f3e171;
/* rgb */ color: rgb(243, 225, 113);
/* oklch */ color: oklch(90.2% 0.134 100.3);
Tailwind
colors: {
  custom: {
    50: '#f9ea9d',
    500: '#f3e171',
    950: '#000000',
  },
}
SCSS
$custom: #f3e171;
$custom-light: #f9ea9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f3e171",
  "rgb": {
    "r": 243,
    "g": 225,
    "b": 113
  },
  "hsl": {
    "h": 51.692,
    "s": 84.416,
    "l": 69.804
  },
  "oklch": {
    "l": 0.90225,
    "c": 0.13419,
    "h": 100.3
  },
  "luminance": 0.74097
}

Semantic roles & 50–950 ramp

primary
#F3E171
secondary
#3B50CD
accent
#23E105
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F3E171

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

Preview Lab → · Contrast checker → · Palette generator →

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