#F0F46A#F0F46A

#F0F46A is a very light, vivid yellow. Relative luminance 0.843; OKLCH L 93.8% C 0.159 H 110.6°. Best body text is #000000 at 17.85:1 contrast (WCAG AA passes).

Color values

HEX#F0F46A
RGBrgb(240, 244, 106)
HSLhsl(62, 86%, 69%)
HSVhsv(62, 57%, 96%)
CMYKcmyk(1.6%, 0%, 56.6%, 4.3%)
CIE-LABlab(93.57, -18.84, 64.57)
CIE-LCHlch(93.57, 67.26, 106.26°)
OKLaboklab(93.8% -0.0562 0.1492)
OKLCHoklch(93.8% 0.159 110.6)
XYZxyz(70.8892, 84.2689, 26.1641)
Luminance0.8427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F46A #6E6AF4
analogous
#F4B36A #F0F46A #ABF46A
triadic
#F0F46A #6AF0F4 #F46AF0
tetradic
#F0F46A #6AF4B3 #6E6AF4 #F46AAB
square
#F0F46A #6AF4B3 #6E6AF4 #F46AAB
split-complementary
#F0F46A #6AABF4 #B36AF4
monochromatic
#CED410 #EAF031 #F0F46A #F6F8A3 #FBFCDC

Accessibility & contrast

On white

1.18
#F0F46A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.85
#F0F46A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F46A
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F46A#FFFFFF#000000##000000
##F0F46A1.001.1817.8517.85
#FFFFFF1.181.0021.0021.00
#00000017.8521.001.001.00
##00000017.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA5B
Deuteranopia (green-blind)
#FFEF72
Tritanopia (blue-blind)
#FFE6D6
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f0f46a;
/* rgb */ color: rgb(240, 244, 106);
/* oklch */ color: oklch(93.8% 0.159 110.6);
Tailwind
colors: {
  custom: {
    50: '#f8f799',
    500: '#f0f46a',
    950: '#000000',
  },
}
SCSS
$custom: #f0f46a;
$custom-light: #f8f799;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f46a",
  "rgb": {
    "r": 240,
    "g": 244,
    "b": 106
  },
  "hsl": {
    "h": 61.739,
    "s": 86.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.93803,
    "c": 0.15939,
    "h": 110.6
  },
  "luminance": 0.84267
}

Semantic roles & 50–950 ramp

primary
#F0F46A
secondary
#3935CD
accent
#03E309
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F0F46A

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

Preview Lab → · Contrast checker → · Palette generator →

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