#F0D575#F0D575

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

Color values

HEX#F0D575
RGBrgb(240, 213, 117)
HSLhsl(47, 80%, 70%)
HSVhsv(47, 51%, 94%)
CMYKcmyk(0%, 11.2%, 51.3%, 5.9%)
CIE-LABlab(85.71, -2.57, 50.45)
CIE-LCHlch(85.71, 50.52, 92.92°)
OKLaboklab(87.6% -0.0084 0.1197)
OKLCHoklch(87.6% 0.12 94)
XYZxyz(62.9425, 67.4008, 26.5204)
Luminance0.6740 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D575 #7590F0
analogous
#F09775 #F0D575 #CEF075
triadic
#F0D575 #75F0D5 #D575F0
tetradic
#F0D575 #75F097 #7590F0 #F075CE
square
#F0D575 #75F097 #7590F0 #F075CE
split-complementary
#F0D575 #75CEF0 #9775F0
monochromatic
#D4AA17 #EAC43E #F0D575 #F6E6AC #FCF7E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0D575#FFFFFF#000000##000000
##F0D5751.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)
#E7D16D
Deuteranopia (green-blind)
#EEDA79
Tritanopia (blue-blind)
#FFC8BF
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f0d575;
/* rgb */ color: rgb(240, 213, 117);
/* oklch */ color: oklch(87.6% 0.120 94.0);
Tailwind
colors: {
  custom: {
    50: '#f7e19f',
    500: '#f0d575',
    950: '#000000',
  },
}
SCSS
$custom: #f0d575;
$custom-light: #f7e19f;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d575",
  "rgb": {
    "r": 240,
    "g": 213,
    "b": 117
  },
  "hsl": {
    "h": 46.829,
    "s": 80.392,
    "l": 70
  },
  "oklch": {
    "l": 0.87595,
    "c": 0.12004,
    "h": 94
  },
  "luminance": 0.67398
}

Semantic roles & 50–950 ramp

primary
#F0D575
secondary
#405EC9
accent
#37DD09
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #F0D575

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

Preview Lab → · Contrast checker → · Palette generator →

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