#F3F172#F3F172

#F3F172 is a very light, vivid yellow. Relative luminance 0.832; OKLCH L 93.5% C 0.149 H 108.1°. Best body text is #000000 at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#F3F172
RGBrgb(243, 241, 114)
HSLhsl(59, 84%, 70%)
HSVhsv(59, 53%, 95%)
CMYKcmyk(0%, 0.8%, 53.1%, 4.7%)
CIE-LABlab(93.09, -15.59, 60.60)
CIE-LCHlch(93.09, 62.57, 104.43°)
OKLaboklab(93.51% -0.0463 0.1415)
OKLCHoklch(93.51% 0.149 108.1)
XYZxyz(71.4566, 83.1821, 28.2079)
Luminance0.8318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F3F172 #7274F3
analogous
#F3B172 #F3F172 #B4F372
triadic
#F3F172 #72F3F1 #F172F3
tetradic
#F3F172 #72F3B1 #7274F3 #F372B4
square
#F3F172 #72F3B1 #7274F3 #F372B4
split-complementary
#F3F172 #72B4F3 #B172F3
monochromatic
#D8D512 #EEEB3A #F3F172 #F8F7AA #FDFCE3

Accessibility & contrast

On white

1.19
#F3F172 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.64
#F3F172 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F3F172
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F3F172#FFFFFF#000000##000000
##F3F1721.001.1917.6417.64
#FFFFFF1.191.0021.0021.00
#00000017.6421.001.001.00
##00000017.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE965
Deuteranopia (green-blind)
#FFED79
Tritanopia (blue-blind)
#FFE4D5
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f3f172;
/* rgb */ color: rgb(243, 241, 114);
/* oklch */ color: oklch(93.5% 0.149 108.1);
Tailwind
colors: {
  custom: {
    50: '#f9f59e',
    500: '#f3f172',
    950: '#000000',
  },
}
SCSS
$custom: #f3f172;
$custom-light: #f9f59e;
$custom-dark: #000000;
JSON
{
  "hex": "#f3f172",
  "rgb": {
    "r": 243,
    "g": 241,
    "b": 114
  },
  "hsl": {
    "h": 59.07,
    "s": 84.314,
    "l": 70
  },
  "oklch": {
    "l": 0.93506,
    "c": 0.14887,
    "h": 108.1
  },
  "luminance": 0.8318
}

Semantic roles & 50–950 ramp

primary
#F3F172
secondary
#3C3FCD
accent
#08E105
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F3F172

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

Preview Lab → · Contrast checker → · Palette generator →

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