#F0F15D#F0F15D

#F0F15D is a very light, vivid yellow. Relative luminance 0.822; OKLCH L 93.1% C 0.167 H 109.6°. Best body text is #000000 at 17.45:1 contrast (WCAG AA passes).

Color values

HEX#F0F15D
RGBrgb(240, 241, 93)
HSLhsl(60, 84%, 65%)
HSVhsv(60, 61%, 95%)
CMYKcmyk(0.4%, 0%, 61.4%, 5.5%)
CIE-LABlab(92.68, -18.26, 69.00)
CIE-LCHlch(92.68, 71.38, 104.82°)
OKLaboklab(93.06% -0.0559 0.1569)
OKLCHoklch(93.06% 0.167 109.6)
XYZxyz(69.3684, 82.2280, 22.5713)
Luminance0.8223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F15D #5E5DF1
analogous
#F1A85D #F0F15D #A6F15D
triadic
#F0F15D #5DF0F1 #F15DF0
tetradic
#F0F15D #5DF1A8 #5E5DF1 #F15DA6
square
#F0F15D #5DF1A8 #5E5DF1 #F15DA6
split-complementary
#F0F15D #5DA6F1 #A85DF1
monochromatic
#C2C311 #EBEC25 #F0F15D #F5F695 #FAFBCE

Accessibility & contrast

On white

1.20
#F0F15D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.45
#F0F15D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F15D
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F15D#FFFFFF#000000##000000
##F0F15D1.001.2017.4517.45
#FFFFFF1.201.0021.0021.00
#00000017.4521.001.001.00
##00000017.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE74B
Deuteranopia (green-blind)
#FFEC66
Tritanopia (blue-blind)
#FFE3D2
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f0f15d;
/* rgb */ color: rgb(240, 241, 93);
/* oklch */ color: oklch(93.1% 0.167 109.6);
Tailwind
colors: {
  custom: {
    50: '#f8f591',
    500: '#f0f15d',
    950: '#000000',
  },
}
SCSS
$custom: #f0f15d;
$custom-light: #f8f591;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f15d",
  "rgb": {
    "r": 240,
    "g": 241,
    "b": 93
  },
  "hsl": {
    "h": 60.405,
    "s": 84.091,
    "l": 65.49
  },
  "oklch": {
    "l": 0.93056,
    "c": 0.16656,
    "h": 109.6
  },
  "luminance": 0.82226
}

Semantic roles & 50–950 ramp

primary
#F0F15D
secondary
#3332C0
accent
#05E106
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F0F15D

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

Preview Lab → · Contrast checker → · Palette generator →

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