#F0F665#F0F665

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

Color values

HEX#F0F665
RGBrgb(240, 246, 101)
HSLhsl(62, 89%, 68%)
HSVhsv(62, 59%, 96%)
CMYKcmyk(2.4%, 0%, 58.9%, 3.5%)
CIE-LABlab(94.05, -20.15, 67.21)
CIE-LCHlch(94.05, 70.16, 106.69°)
OKLaboklab(94.17% -0.0604 0.1542)
OKLCHoklch(94.17% 0.166 111.4)
XYZxyz(71.2418, 85.3780, 25.0361)
Luminance0.8538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F665 #6B65F6
analogous
#F6B465 #F0F665 #A7F665
triadic
#F0F665 #65F0F6 #F665F0
tetradic
#F0F665 #65F6B4 #6B65F6 #F665A7
square
#F0F665 #65F6B4 #6B65F6 #F665A7
split-complementary
#F0F665 #65A7F6 #B465F6
monochromatic
#CCD40C #EAF32B #F0F665 #F6F99F #FBFDD9

Accessibility & contrast

On white

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

On black

18.08
#F0F665 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F665
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F665#FFFFFF#000000##000000
##F0F6651.001.1618.0818.08
#FFFFFF1.161.0021.0021.00
#00000018.0821.001.001.00
##00000018.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC54
Deuteranopia (green-blind)
#FFF06E
Tritanopia (blue-blind)
#FFE8D7
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f0f665;
/* rgb */ color: rgb(240, 246, 101);
/* oklch */ color: oklch(94.2% 0.166 111.4);
Tailwind
colors: {
  custom: {
    50: '#f8f996',
    500: '#f0f665',
    950: '#000000',
  },
}
SCSS
$custom: #f0f665;
$custom-light: #f8f996;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f665",
  "rgb": {
    "r": 240,
    "g": 246,
    "b": 101
  },
  "hsl": {
    "h": 62.483,
    "s": 88.957,
    "l": 68.039
  },
  "oklch": {
    "l": 0.94171,
    "c": 0.16558,
    "h": 111.4
  },
  "luminance": 0.85376
}

Semantic roles & 50–950 ramp

primary
#F0F665
secondary
#3730CF
accent
#00E609
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F0F665

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

Preview Lab → · Contrast checker → · Palette generator →

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