#F5F273#F5F273

#F5F273 is a very light, vivid yellow. Relative luminance 0.842; OKLCH L 93.9% C 0.149 H 107.7°. Best body text is #000000 at 17.83:1 contrast (WCAG AA passes).

Color values

HEX#F5F273
RGBrgb(245, 242, 115)
HSLhsl(59, 87%, 71%)
HSVhsv(59, 53%, 96%)
CMYKcmyk(0%, 1.2%, 53.1%, 3.9%)
CIE-LABlab(93.52, -15.21, 60.68)
CIE-LCHlch(93.52, 62.56, 104.07°)
OKLaboklab(93.89% -0.0453 0.1417)
OKLCHoklch(93.89% 0.149 107.7)
XYZxyz(72.5048, 84.1565, 28.6408)
Luminance0.8416 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F273 #7376F5
analogous
#F5B173 #F5F273 #B7F573
triadic
#F5F273 #73F5F2 #F273F5
tetradic
#F5F273 #73F5B1 #7376F5 #F573B7
square
#F5F273 #73F5B1 #7376F5 #F573B7
split-complementary
#F5F273 #73B7F5 #B173F5
monochromatic
#DED910 #F1ED3A #F5F273 #F9F7AC #FDFCE2

Accessibility & contrast

On white

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

On black

17.83
#F5F273 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F273
17.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F273#FFFFFF#000000##000000
##F5F2731.001.1817.8317.83
#FFFFFF1.181.0021.0021.00
#00000017.8321.001.001.00
##00000017.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA66
Deuteranopia (green-blind)
#FFEF7A
Tritanopia (blue-blind)
#FFE5D6
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f5f273;
/* rgb */ color: rgb(245, 242, 115);
/* oklch */ color: oklch(93.9% 0.149 107.7);
Tailwind
colors: {
  custom: {
    50: '#fbf69f',
    500: '#f5f273',
    950: '#000000',
  },
}
SCSS
$custom: #f5f273;
$custom-light: #fbf69f;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f273",
  "rgb": {
    "r": 245,
    "g": 242,
    "b": 115
  },
  "hsl": {
    "h": 58.615,
    "s": 86.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.93886,
    "c": 0.14876,
    "h": 107.7
  },
  "luminance": 0.84155
}

Semantic roles & 50–950 ramp

primary
#F5F273
secondary
#3D40CF
accent
#07E302
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F5F273

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

Preview Lab → · Contrast checker → · Palette generator →

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