#F0D574#F0D574

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

Color values

HEX#F0D574
RGBrgb(240, 213, 116)
HSLhsl(47, 81%, 70%)
HSVhsv(47, 52%, 94%)
CMYKcmyk(0%, 11.2%, 51.7%, 5.9%)
CIE-LABlab(85.69, -2.65, 50.92)
CIE-LCHlch(85.69, 50.99, 92.98°)
OKLaboklab(87.58% -0.0088 0.1207)
OKLCHoklch(87.58% 0.121 94.2)
XYZxyz(62.8840, 67.3775, 26.2124)
Luminance0.6737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D574 #748FF0
analogous
#F09774 #F0D574 #CDF074
triadic
#F0D574 #74F0D5 #D574F0
tetradic
#F0D574 #74F097 #748FF0 #F074CD
square
#F0D574 #74F097 #748FF0 #F074CD
split-complementary
#F0D574 #74CDF0 #9774F0
monochromatic
#D3AA17 #EAC43D #F0D574 #F6E6AB #FCF6E2

Accessibility & contrast

On white

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

On black

14.48
#F0D574 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D574
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D574#FFFFFF#000000##000000
##F0D5741.001.4514.4814.48
#FFFFFF1.451.0021.0021.00
#00000014.4821.001.001.00
##00000014.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0d574;
/* rgb */ color: rgb(240, 213, 116);
/* oklch */ color: oklch(87.6% 0.121 94.2);
Tailwind
colors: {
  custom: {
    50: '#f7e19e',
    500: '#f0d574',
    950: '#000000',
  },
}
SCSS
$custom: #f0d574;
$custom-light: #f7e19e;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d574",
  "rgb": {
    "r": 240,
    "g": 213,
    "b": 116
  },
  "hsl": {
    "h": 46.935,
    "s": 80.519,
    "l": 69.804
  },
  "oklch": {
    "l": 0.87582,
    "c": 0.121,
    "h": 94.2
  },
  "luminance": 0.67375
}

Semantic roles & 50–950 ramp

primary
#F0D574
secondary
#3F5DC9
accent
#37DD09
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #F0D574

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

Preview Lab → · Contrast checker → · Palette generator →

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