#F0D573#F0D573

#F0D573 is a very light, vivid yellow. Relative luminance 0.674; OKLCH L 87.6% C 0.122 H 94.3°. Best body text is #000000 at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#F0D573
RGBrgb(240, 213, 115)
HSLhsl(47, 81%, 70%)
HSVhsv(47, 52%, 94%)
CMYKcmyk(0%, 11.2%, 52.1%, 5.9%)
CIE-LABlab(85.68, -2.74, 51.38)
CIE-LCHlch(85.68, 51.45, 93.05°)
OKLaboklab(87.57% -0.0092 0.1216)
OKLCHoklch(87.57% 0.122 94.3)
XYZxyz(62.8262, 67.3543, 25.9077)
Luminance0.6735 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D573 #738EF0
analogous
#F09773 #F0D573 #CDF073
triadic
#F0D573 #73F0D5 #D573F0
tetradic
#F0D573 #73F097 #738EF0 #F073CD
square
#F0D573 #73F097 #738EF0 #F073CD
split-complementary
#F0D573 #73CDF0 #9773F0
monochromatic
#D2AA17 #EAC43C #F0D573 #F6E6AA #FCF6E2

Accessibility & contrast

On white

1.45
#F0D573 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.47
#F0D573 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D573
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D573#FFFFFF#000000##000000
##F0D5731.001.4514.4714.47
#FFFFFF1.451.0021.0021.00
#00000014.4721.001.001.00
##00000014.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D16A
Deuteranopia (green-blind)
#EEDA77
Tritanopia (blue-blind)
#FFC8BE
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f0d573;
/* rgb */ color: rgb(240, 213, 115);
/* oklch */ color: oklch(87.6% 0.122 94.3);
Tailwind
colors: {
  custom: {
    50: '#f7e19d',
    500: '#f0d573',
    950: '#000000',
  },
}
SCSS
$custom: #f0d573;
$custom-light: #f7e19d;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d573",
  "rgb": {
    "r": 240,
    "g": 213,
    "b": 115
  },
  "hsl": {
    "h": 47.04,
    "s": 80.645,
    "l": 69.608
  },
  "oklch": {
    "l": 0.87569,
    "c": 0.12195,
    "h": 94.3
  },
  "luminance": 0.67352
}

Semantic roles & 50–950 ramp

primary
#F0D573
secondary
#3E5CC9
accent
#36DD09
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #F0D573

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

Preview Lab → · Contrast checker → · Palette generator →

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