#F3F271#F3F271

#F3F271 is a very light, vivid yellow. Relative luminance 0.838; OKLCH L 93.7% C 0.151 H 108.6°. Best body text is #000000 at 17.75:1 contrast (WCAG AA passes).

Color values

HEX#F3F271
RGBrgb(243, 242, 113)
HSLhsl(60, 84%, 70%)
HSVhsv(60, 53%, 95%)
CMYKcmyk(0%, 0.4%, 53.5%, 4.7%)
CIE-LABlab(93.34, -16.15, 61.33)
CIE-LCHlch(93.34, 63.42, 104.76°)
OKLaboklab(93.7% -0.048 0.1429)
OKLCHoklch(93.7% 0.151 108.6)
XYZxyz(71.6968, 83.7531, 28.0088)
Luminance0.8375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F3F271 #7172F3
analogous
#F3B171 #F3F271 #B3F371
triadic
#F3F271 #71F3F2 #F271F3
tetradic
#F3F271 #71F3B1 #7172F3 #F371B3
square
#F3F271 #71F3B1 #7172F3 #F371B3
split-complementary
#F3F271 #71B3F3 #B171F3
monochromatic
#D7D612 #EEED39 #F3F271 #F8F7A9 #FDFCE2

Accessibility & contrast

On white

1.18
#F3F271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.75
#F3F271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F3F271
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F3F271#FFFFFF#000000##000000
##F3F2711.001.1817.7517.75
#FFFFFF1.181.0021.0021.00
#00000017.7521.001.001.00
##00000017.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE964
Deuteranopia (green-blind)
#FFEE78
Tritanopia (blue-blind)
#FFE5D5
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f3f271;
/* rgb */ color: rgb(243, 242, 113);
/* oklch */ color: oklch(93.7% 0.151 108.6);
Tailwind
colors: {
  custom: {
    50: '#f9f69d',
    500: '#f3f271',
    950: '#000000',
  },
}
SCSS
$custom: #f3f271;
$custom-light: #f9f69d;
$custom-dark: #000000;
JSON
{
  "hex": "#f3f271",
  "rgb": {
    "r": 243,
    "g": 242,
    "b": 113
  },
  "hsl": {
    "h": 59.538,
    "s": 84.416,
    "l": 69.804
  },
  "oklch": {
    "l": 0.93702,
    "c": 0.15079,
    "h": 108.6
  },
  "luminance": 0.83751
}

Semantic roles & 50–950 ramp

primary
#F3F271
secondary
#3B3DCD
accent
#06E105
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F3F271

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

Preview Lab → · Contrast checker → · Palette generator →

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