#F0F66D#F0F66D

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

Color values

HEX#F0F66D
RGBrgb(240, 246, 109)
HSLhsl(63, 88%, 70%)
HSVhsv(63, 56%, 96%)
CMYKcmyk(2.4%, 0%, 55.7%, 3.5%)
CIE-LABlab(94.12, -19.58, 63.89)
CIE-LCHlch(94.12, 66.83, 107.04°)
OKLaboklab(94.25% -0.058 0.148)
OKLCHoklch(94.25% 0.159 111.4)
XYZxyz(71.6530, 85.5425, 27.2018)
Luminance0.8554 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F66D #736DF6
analogous
#F6B86D #F0F66D #ABF66D
triadic
#F0F66D #6DF0F6 #F66DF0
tetradic
#F0F66D #6DF6B8 #736DF6 #F66DAB
square
#F0F66D #6DF6B8 #736DF6 #F66DAB
split-complementary
#F0F66D #6DABF6 #B86DF6
monochromatic
#D2DB0E #EAF233 #F0F66D #F6FAA7 #FCFDE0

Accessibility & contrast

On white

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

On black

18.11
#F0F66D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F66D
18.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F66D#FFFFFF#000000##000000
##F0F66D1.001.1618.1118.11
#FFFFFF1.161.0021.0021.00
#00000018.1121.001.001.00
##00000018.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0f66d;
/* rgb */ color: rgb(240, 246, 109);
/* oklch */ color: oklch(94.3% 0.159 111.4);
Tailwind
colors: {
  custom: {
    50: '#f8f99b',
    500: '#f0f66d',
    950: '#000000',
  },
}
SCSS
$custom: #f0f66d;
$custom-light: #f8f99b;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f66d",
  "rgb": {
    "r": 240,
    "g": 246,
    "b": 109
  },
  "hsl": {
    "h": 62.628,
    "s": 88.387,
    "l": 69.608
  },
  "oklch": {
    "l": 0.9425,
    "c": 0.15901,
    "h": 111.4
  },
  "luminance": 0.85541
}

Semantic roles & 50–950 ramp

primary
#F0F66D
secondary
#3E37D0
accent
#01E50B
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F0F66D

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

Preview Lab → · Contrast checker → · Palette generator →

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