#F0F357#F0F357

#F0F357 is a very light, vivid yellow. Relative luminance 0.833; OKLCH L 93.4% C 0.173 H 110.4°. Best body text is #000000 at 17.66:1 contrast (WCAG AA passes).

Color values

HEX#F0F357
RGBrgb(240, 243, 87)
HSLhsl(61, 87%, 65%)
HSVhsv(61, 64%, 95%)
CMYKcmyk(1.2%, 0%, 64.2%, 4.7%)
CIE-LABlab(93.15, -19.58, 71.87)
CIE-LCHlch(93.15, 74.49, 105.24°)
OKLaboklab(93.42% -0.0602 0.1621)
OKLCHoklch(93.42% 0.173 110.4)
XYZxyz(69.7082, 83.3164, 21.4246)
Luminance0.8331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F357 #5A57F3
analogous
#F3A857 #F0F357 #A2F357
triadic
#F0F357 #57F0F3 #F357F0
tetradic
#F0F357 #57F3A8 #5A57F3 #F357A2
square
#F0F357 #57F3A8 #5A57F3 #F357A2
split-complementary
#F0F357 #57A2F3 #A857F3
monochromatic
#BEC20E #EBEF1E #F0F357 #F5F790 #FAFBC9

Accessibility & contrast

On white

1.19
#F0F357 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.66
#F0F357 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F357
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F357#FFFFFF#000000##000000
##F0F3571.001.1917.6617.66
#FFFFFF1.191.0021.0021.00
#00000017.6621.001.001.00
##00000017.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE942
Deuteranopia (green-blind)
#FFEE61
Tritanopia (blue-blind)
#FFE5D3
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f0f357;
/* rgb */ color: rgb(240, 243, 87);
/* oklch */ color: oklch(93.4% 0.173 110.4);
Tailwind
colors: {
  custom: {
    50: '#f8f68e',
    500: '#f0f357',
    950: '#000000',
  },
}
SCSS
$custom: #f0f357;
$custom-light: #f8f68e;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f357",
  "rgb": {
    "r": 240,
    "g": 243,
    "b": 87
  },
  "hsl": {
    "h": 61.154,
    "s": 86.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.93423,
    "c": 0.17291,
    "h": 110.4
  },
  "luminance": 0.83315
}

Semantic roles & 50–950 ramp

primary
#F0F357
secondary
#322FBF
accent
#02E307
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F0F357

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

Preview Lab → · Contrast checker → · Palette generator →

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