#F0F13F#F0F13F

#F0F13F is a very light, vivid yellow. Relative luminance 0.818; OKLCH L 92.8% C 0.185 H 109.9°. Best body text is #000000 at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#F0F13F
RGBrgb(240, 241, 63)
HSLhsl(60, 86%, 60%)
HSVhsv(60, 74%, 95%)
CMYKcmyk(0.4%, 0%, 73.9%, 5.5%)
CIE-LABlab(92.49, -19.78, 79.58)
CIE-LCHlch(92.49, 82.00, 103.96°)
OKLaboklab(92.84% -0.063 0.1744)
OKLCHoklch(92.84% 0.185 109.9)
XYZxyz(68.2902, 81.7968, 16.8927)
Luminance0.8179 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F13F #403FF1
analogous
#F1993F #F0F13F #97F13F
triadic
#F0F13F #3FF0F1 #F13FF0
tetradic
#F0F13F #3FF199 #403FF1 #F13F97
square
#F0F13F #3FF199 #403FF1 #F13F97
split-complementary
#F0F13F #3F97F1 #993FF1
monochromatic
#A8A90C #E1E211 #F0F13F #F4F578 #F9F9B1

Accessibility & contrast

On white

1.21
#F0F13F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.36
#F0F13F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F13F
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F13F#FFFFFF#000000##000000
##F0F13F1.001.2117.3617.36
#FFFFFF1.211.0021.0021.00
#00000017.3621.001.001.00
##00000017.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE713
Deuteranopia (green-blind)
#FFEC4E
Tritanopia (blue-blind)
#FFE2D0
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f0f13f;
/* rgb */ color: rgb(240, 241, 63);
/* oklch */ color: oklch(92.8% 0.185 109.9);
Tailwind
colors: {
  custom: {
    50: '#f9f581',
    500: '#f0f13f',
    950: '#000000',
  },
}
SCSS
$custom: #f0f13f;
$custom-light: #f9f581;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f13f",
  "rgb": {
    "r": 240,
    "g": 241,
    "b": 63
  },
  "hsl": {
    "h": 60.337,
    "s": 86.408,
    "l": 59.608
  },
  "oklch": {
    "l": 0.92843,
    "c": 0.18547,
    "h": 109.9
  },
  "luminance": 0.81795
}

Semantic roles & 50–950 ramp

primary
#F0F13F
secondary
#2B2AAA
accent
#2BFD2C
background
#FFFFFB
surface
#FFFEF2
border
#D7D6CC
text
#18170B
muted
#86857E

Preview Lab

Preview with #F0F13F

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

Preview Lab → · Contrast checker → · Palette generator →

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