#F0F66C#F0F66C

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

Color values

HEX#F0F66C
RGBrgb(240, 246, 108)
HSLhsl(63, 88%, 69%)
HSVhsv(63, 56%, 96%)
CMYKcmyk(2.4%, 0%, 56.1%, 3.5%)
CIE-LABlab(94.11, -19.65, 64.31)
CIE-LCHlch(94.11, 67.25, 106.99°)
OKLaboklab(94.24% -0.0583 0.1488)
OKLCHoklch(94.24% 0.16 111.4)
XYZxyz(71.5995, 85.5211, 26.9200)
Luminance0.8552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F66C #726CF6
analogous
#F6B76C #F0F66C #ABF66C
triadic
#F0F66C #6CF0F6 #F66CF0
tetradic
#F0F66C #6CF6B7 #726CF6 #F66CAB
square
#F0F66C #6CF6B7 #726CF6 #F66CAB
split-complementary
#F0F66C #6CABF6 #B76CF6
monochromatic
#D1DA0D #EAF232 #F0F66C #F6FAA6 #FCFDDF

Accessibility & contrast

On white

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

On black

18.10
#F0F66C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F66C
18.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F66C#FFFFFF#000000##000000
##F0F66C1.001.1618.1018.10
#FFFFFF1.161.0021.0021.00
#00000018.1021.001.001.00
##00000018.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC5D
Deuteranopia (green-blind)
#FFF074
Tritanopia (blue-blind)
#FFE9D8
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f0f66c;
/* rgb */ color: rgb(240, 246, 108);
/* oklch */ color: oklch(94.2% 0.160 111.4);
Tailwind
colors: {
  custom: {
    50: '#f8f99b',
    500: '#f0f66c',
    950: '#000000',
  },
}
SCSS
$custom: #f0f66c;
$custom-light: #f8f99b;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f66c",
  "rgb": {
    "r": 240,
    "g": 246,
    "b": 108
  },
  "hsl": {
    "h": 62.609,
    "s": 88.462,
    "l": 69.412
  },
  "oklch": {
    "l": 0.9424,
    "c": 0.15986,
    "h": 111.4
  },
  "luminance": 0.8552
}

Semantic roles & 50–950 ramp

primary
#F0F66C
secondary
#3D36D0
accent
#00E50A
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F0F66C

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

Preview Lab → · Contrast checker → · Palette generator →

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