#F0F46F#F0F46F

#F0F46F is a very light, vivid yellow. Relative luminance 0.844; OKLCH L 93.9% C 0.155 H 110.6°. Best body text is #000000 at 17.87:1 contrast (WCAG AA passes).

Color values

HEX#F0F46F
RGBrgb(240, 244, 111)
HSLhsl(62, 86%, 70%)
HSVhsv(62, 55%, 96%)
CMYKcmyk(1.6%, 0%, 54.5%, 4.3%)
CIE-LABlab(93.61, -18.46, 62.45)
CIE-LCHlch(93.61, 65.13, 106.47°)
OKLaboklab(93.86% -0.0546 0.1452)
OKLCHoklch(93.86% 0.155 110.6)
XYZxyz(71.1569, 84.3760, 27.5736)
Luminance0.8437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F46F #736FF4
analogous
#F4B66F #F0F46F #ADF46F
triadic
#F0F46F #6FF0F4 #F46FF0
tetradic
#F0F46F #6FF4B6 #736FF4 #F46FAD
square
#F0F46F #6FF4B6 #736FF4 #F46FAD
split-complementary
#F0F46F #6FADF4 #B66FF4
monochromatic
#D2D811 #EAF036 #F0F46F #F6F8A8 #FCFDE1

Accessibility & contrast

On white

1.17
#F0F46F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.87
#F0F46F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F46F
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F46F#FFFFFF#000000##000000
##F0F46F1.001.1717.8717.87
#FFFFFF1.171.0021.0021.00
#00000017.8721.001.001.00
##00000017.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB61
Deuteranopia (green-blind)
#FFEF76
Tritanopia (blue-blind)
#FFE7D7
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f0f46f;
/* rgb */ color: rgb(240, 244, 111);
/* oklch */ color: oklch(93.9% 0.155 110.6);
Tailwind
colors: {
  custom: {
    50: '#f7f79c',
    500: '#f0f46f',
    950: '#000000',
  },
}
SCSS
$custom: #f0f46f;
$custom-light: #f7f79c;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f46f",
  "rgb": {
    "r": 240,
    "g": 244,
    "b": 111
  },
  "hsl": {
    "h": 61.805,
    "s": 85.806,
    "l": 69.608
  },
  "oklch": {
    "l": 0.93855,
    "c": 0.15514,
    "h": 110.6
  },
  "luminance": 0.84374
}

Semantic roles & 50–950 ramp

primary
#F0F46F
secondary
#3E39CE
accent
#03E20A
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F0F46F

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

Preview Lab → · Contrast checker → · Palette generator →

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