#F0F668#F0F668

#F0F668 is a very light, vivid yellow. Relative luminance 0.854; OKLCH L 94.2% C 0.163 H 111.4°. Best body text is #000000 at 18.09:1 contrast (WCAG AA passes).

Color values

HEX#F0F668
RGBrgb(240, 246, 104)
HSLhsl(63, 89%, 69%)
HSVhsv(63, 58%, 96%)
CMYKcmyk(2.4%, 0%, 57.7%, 3.5%)
CIE-LABlab(94.07, -19.94, 65.98)
CIE-LCHlch(94.07, 68.93, 106.82°)
OKLaboklab(94.2% -0.0595 0.1519)
OKLCHoklch(94.2% 0.163 111.4)
XYZxyz(71.3915, 85.4379, 25.8244)
Luminance0.8544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F668 #6E68F6
analogous
#F6B568 #F0F668 #A9F668
triadic
#F0F668 #68F0F6 #F668F0
tetradic
#F0F668 #68F6B5 #6E68F6 #F668A9
square
#F0F668 #68F6B5 #6E68F6 #F668A9
split-complementary
#F0F668 #68A9F6 #B568F6
monochromatic
#CED70D #EAF32E #F0F668 #F6F9A2 #FBFDDC

Accessibility & contrast

On white

1.16
#F0F668 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.09
#F0F668 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F668
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F668#FFFFFF#000000##000000
##F0F6681.001.1618.0918.09
#FFFFFF1.161.0021.0021.00
#00000018.0921.001.001.00
##00000018.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC58
Deuteranopia (green-blind)
#FFF070
Tritanopia (blue-blind)
#FFE8D8
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f0f668;
/* rgb */ color: rgb(240, 246, 104);
/* oklch */ color: oklch(94.2% 0.163 111.4);
Tailwind
colors: {
  custom: {
    50: '#f8f998',
    500: '#f0f668',
    950: '#000000',
  },
}
SCSS
$custom: #f0f668;
$custom-light: #f8f998;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f668",
  "rgb": {
    "r": 240,
    "g": 246,
    "b": 104
  },
  "hsl": {
    "h": 62.535,
    "s": 88.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.942,
    "c": 0.16317,
    "h": 111.4
  },
  "luminance": 0.85436
}

Semantic roles & 50–950 ramp

primary
#F0F668
secondary
#3933CF
accent
#00E50A
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F0F668

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

Preview Lab → · Contrast checker → · Palette generator →

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