#F0E66C#F0E66C

#F0E66C is a very light, vivid yellow. Relative luminance 0.762; OKLCH L 90.9% C 0.143 H 104.6°. Best body text is #000000 at 16.24:1 contrast (WCAG AA passes).

Color values

HEX#F0E66C
RGBrgb(240, 230, 108)
HSLhsl(55, 81%, 68%)
HSVhsv(55, 55%, 94%)
CMYKcmyk(0%, 4.2%, 55%, 5.9%)
CIE-LABlab(89.95, -11.84, 59.61)
CIE-LCHlch(89.95, 60.78, 101.23°)
OKLaboklab(90.93% -0.0361 0.1388)
OKLCHoklch(90.93% 0.143 104.6)
XYZxyz(66.9409, 76.2038, 25.3671)
Luminance0.7620 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E66C #6C76F0
analogous
#F0A46C #F0E66C #B8F06C
triadic
#F0E66C #6CF0E6 #E66CF0
tetradic
#F0E66C #6CF0A4 #6C76F0 #F06CB8
square
#F0E66C #6CF0A4 #6C76F0 #F06CB8
split-complementary
#F0E66C #6CB8F0 #A46CF0
monochromatic
#CDBF15 #EADD34 #F0E66C #F6EFA4 #FBF9DB

Accessibility & contrast

On white

1.29
#F0E66C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.24
#F0E66C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E66C
16.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E66C#FFFFFF#000000##000000
##F0E66C1.001.2916.2416.24
#FFFFFF1.291.0021.0021.00
#00000016.2421.001.001.00
##00000016.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DF60
Deuteranopia (green-blind)
#FBE572
Tritanopia (blue-blind)
#FFD9CB
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f0e66c;
/* rgb */ color: rgb(240, 230, 108);
/* oklch */ color: oklch(90.9% 0.143 104.6);
Tailwind
colors: {
  custom: {
    50: '#f7ed9a',
    500: '#f0e66c',
    950: '#000000',
  },
}
SCSS
$custom: #f0e66c;
$custom-light: #f7ed9a;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e66c",
  "rgb": {
    "r": 240,
    "g": 230,
    "b": 108
  },
  "hsl": {
    "h": 55.455,
    "s": 81.481,
    "l": 68.235
  },
  "oklch": {
    "l": 0.9093,
    "c": 0.14339,
    "h": 104.6
  },
  "luminance": 0.76202
}

Semantic roles & 50–950 ramp

primary
#F0E66C
secondary
#3843C8
accent
#18DE08
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F0E66C

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

Preview Lab → · Contrast checker → · Palette generator →

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