#F0F475#F0F475

#F0F475 is a very light, vivid yellow. Relative luminance 0.845; OKLCH L 93.9% C 0.150 H 110.6°. Best body text is #000000 at 17.90:1 contrast (WCAG AA passes).

Color values

HEX#F0F475
RGBrgb(240, 244, 117)
HSLhsl(62, 85%, 71%)
HSVhsv(62, 52%, 96%)
CMYKcmyk(1.6%, 0%, 52%, 4.3%)
CIE-LABlab(93.67, -17.99, 59.86)
CIE-LCHlch(93.67, 62.51, 106.73°)
OKLaboklab(93.92% -0.0527 0.1402)
OKLCHoklch(93.92% 0.15 110.6)
XYZxyz(71.4984, 84.5126, 29.3723)
Luminance0.8451 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F475 #7975F4
analogous
#F4B875 #F0F475 #B0F475
triadic
#F0F475 #75F0F4 #F475F0
tetradic
#F0F475 #75F4B8 #7975F4 #F475B0
square
#F0F475 #75F4B8 #7975F4 #F475B0
split-complementary
#F0F475 #75B0F4 #B875F4
monochromatic
#D7DD12 #EAEF3C #F0F475 #F6F9AE #FCFDE3

Accessibility & contrast

On white

1.17
#F0F475 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.90
#F0F475 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F475
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F475#FFFFFF#000000##000000
##F0F4751.001.1717.9017.90
#FFFFFF1.171.0021.0021.00
#00000017.9021.001.001.00
##00000017.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB69
Deuteranopia (green-blind)
#FFEF7C
Tritanopia (blue-blind)
#FEE7D8
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f0f475;
/* rgb */ color: rgb(240, 244, 117);
/* oklch */ color: oklch(93.9% 0.150 110.6);
Tailwind
colors: {
  custom: {
    50: '#f7f7a0',
    500: '#f0f475',
    950: '#000000',
  },
}
SCSS
$custom: #f0f475;
$custom-light: #f7f7a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f475",
  "rgb": {
    "r": 240,
    "g": 244,
    "b": 117
  },
  "hsl": {
    "h": 61.89,
    "s": 85.235,
    "l": 70.784
  },
  "oklch": {
    "l": 0.93921,
    "c": 0.14982,
    "h": 110.6
  },
  "luminance": 0.84511
}

Semantic roles & 50–950 ramp

primary
#F0F475
secondary
#433FCE
accent
#04E20B
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170F
muted
#858580

Preview Lab

Preview with #F0F475

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

Preview Lab → · Contrast checker → · Palette generator →

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