#F0F775#F0F775

#F0F775 is a very light, vivid yellow. Relative luminance 0.863; OKLCH L 94.5% C 0.153 H 111.8°. Best body text is #000000 at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#F0F775
RGBrgb(240, 247, 117)
HSLhsl(63, 89%, 71%)
HSVhsv(63, 53%, 97%)
CMYKcmyk(2.8%, 0%, 52.6%, 3.1%)
CIE-LABlab(94.45, -19.44, 60.77)
CIE-LCHlch(94.45, 63.80, 107.74°)
OKLaboklab(94.55% -0.0568 0.1422)
OKLCHoklch(94.55% 0.153 111.8)
XYZxyz(72.4084, 86.3326, 29.6757)
Luminance0.8633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F775 #7C75F7
analogous
#F7BD75 #F0F775 #AFF775
triadic
#F0F775 #75F0F7 #F775F0
tetradic
#F0F775 #75F7BD #7C75F7 #F775AF
square
#F0F775 #75F7BD #7C75F7 #F775AF
split-complementary
#F0F775 #75AFF7 #BD75F7
monochromatic
#D9E40D #EAF43B #F0F775 #F6FAAF #FCFDE2

Accessibility & contrast

On white

1.15
#F0F775 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.27
#F0F775 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F775
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F775#FFFFFF#000000##000000
##F0F7751.001.1518.2718.27
#FFFFFF1.151.0021.0021.00
#00000018.2721.001.001.00
##00000018.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED68
Deuteranopia (green-blind)
#FFF17C
Tritanopia (blue-blind)
#FEEADA
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f0f775;
/* rgb */ color: rgb(240, 247, 117);
/* oklch */ color: oklch(94.5% 0.153 111.8);
Tailwind
colors: {
  custom: {
    50: '#f7f9a0',
    500: '#f0f775',
    950: '#000000',
  },
}
SCSS
$custom: #f0f775;
$custom-light: #f7f9a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f775",
  "rgb": {
    "r": 240,
    "g": 247,
    "b": 117
  },
  "hsl": {
    "h": 63.231,
    "s": 89.041,
    "l": 71.373
  },
  "oklch": {
    "l": 0.94545,
    "c": 0.15312,
    "h": 111.8
  },
  "luminance": 0.86331
}

Semantic roles & 50–950 ramp

primary
#F0F775
secondary
#463ED2
accent
#00E60C
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170F
muted
#858580

Preview Lab

Preview with #F0F775

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

Preview Lab → · Contrast checker → · Palette generator →

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