#F0F15F#F0F15F

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

Color values

HEX#F0F15F
RGBrgb(240, 241, 95)
HSLhsl(60, 84%, 66%)
HSVhsv(60, 61%, 95%)
CMYKcmyk(0.4%, 0%, 60.6%, 5.5%)
CIE-LABlab(92.69, -18.13, 68.21)
CIE-LCHlch(92.69, 70.58, 104.89°)
OKLaboklab(93.07% -0.0553 0.1555)
OKLCHoklch(93.07% 0.165 109.6)
XYZxyz(69.4581, 82.2639, 23.0439)
Luminance0.8226 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F15F #605FF1
analogous
#F1A95F #F0F15F #A7F15F
triadic
#F0F15F #5FF0F1 #F15FF0
tetradic
#F0F15F #5FF1A9 #605FF1 #F15FA7
square
#F0F15F #5FF1A9 #605FF1 #F15FA7
split-complementary
#F0F15F #5FA7F1 #A95FF1
monochromatic
#C3C411 #EBEC27 #F0F15F #F5F697 #FBFBD0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0F15F#FFFFFF#000000##000000
##F0F15F1.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)
#FFE74D
Deuteranopia (green-blind)
#FFEC68
Tritanopia (blue-blind)
#FFE3D2
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f0f15f;
/* rgb */ color: rgb(240, 241, 95);
/* oklch */ color: oklch(93.1% 0.165 109.6);
Tailwind
colors: {
  custom: {
    50: '#f8f592',
    500: '#f0f15f',
    950: '#000000',
  },
}
SCSS
$custom: #f0f15f;
$custom-light: #f8f592;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f15f",
  "rgb": {
    "r": 240,
    "g": 241,
    "b": 95
  },
  "hsl": {
    "h": 60.411,
    "s": 83.908,
    "l": 65.882
  },
  "oklch": {
    "l": 0.93074,
    "c": 0.16505,
    "h": 109.6
  },
  "luminance": 0.82262
}

Semantic roles & 50–950 ramp

primary
#F0F15F
secondary
#3332C2
accent
#05E007
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F0F15F

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

Preview Lab → · Contrast checker → · Palette generator →

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