#F0F366#F0F366

#F0F366 is a very light, vivid yellow. Relative luminance 0.836; OKLCH L 93.6% C 0.162 H 110.3°. Best body text is #000000 at 17.72:1 contrast (WCAG AA passes).

Color values

HEX#F0F366
RGBrgb(240, 243, 102)
HSLhsl(61, 85%, 68%)
HSVhsv(61, 58%, 95%)
CMYKcmyk(1.2%, 0%, 58%, 4.7%)
CIE-LABlab(93.27, -18.63, 65.94)
CIE-LCHlch(93.27, 68.52, 105.78°)
OKLaboklab(93.56% -0.056 0.1516)
OKLCHoklch(93.56% 0.162 110.3)
XYZxyz(70.3860, 83.5875, 24.9940)
Luminance0.8359 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F366 #6966F3
analogous
#F3B066 #F0F366 #A9F366
triadic
#F0F366 #66F0F3 #F366F0
tetradic
#F0F366 #66F3B0 #6966F3 #F366A9
square
#F0F366 #66F3B0 #6966F3 #F366A9
split-complementary
#F0F366 #66A9F3 #B066F3
monochromatic
#CACE10 #EAEF2D #F0F366 #F6F79F #FBFCD7

Accessibility & contrast

On white

1.19
#F0F366 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.72
#F0F366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F366
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F366#FFFFFF#000000##000000
##F0F3661.001.1917.7217.72
#FFFFFF1.191.0021.0021.00
#00000017.7221.001.001.00
##00000017.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE956
Deuteranopia (green-blind)
#FFEE6E
Tritanopia (blue-blind)
#FFE5D5
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f0f366;
/* rgb */ color: rgb(240, 243, 102);
/* oklch */ color: oklch(93.6% 0.162 110.3);
Tailwind
colors: {
  custom: {
    50: '#f8f697',
    500: '#f0f366',
    950: '#000000',
  },
}
SCSS
$custom: #f0f366;
$custom-light: #f8f697;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f366",
  "rgb": {
    "r": 240,
    "g": 243,
    "b": 102
  },
  "hsl": {
    "h": 61.277,
    "s": 85.455,
    "l": 67.647
  },
  "oklch": {
    "l": 0.93555,
    "c": 0.16162,
    "h": 110.3
  },
  "luminance": 0.83586
}

Semantic roles & 50–950 ramp

primary
#F0F366
secondary
#3633CA
accent
#04E208
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F0F366

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

Preview Lab → · Contrast checker → · Palette generator →

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