#F0E663#F0E663

#F0E663 is a very light, vivid yellow. Relative luminance 0.760; OKLCH L 90.8% C 0.151 H 104.9°. Best body text is #000000 at 16.20:1 contrast (WCAG AA passes).

Color values

HEX#F0E663
RGBrgb(240, 230, 99)
HSLhsl(56, 82%, 66%)
HSVhsv(56, 59%, 94%)
CMYKcmyk(0%, 4.2%, 58.8%, 5.9%)
CIE-LABlab(89.87, -12.49, 63.47)
CIE-LCHlch(89.87, 64.69, 101.13°)
OKLaboklab(90.84% -0.0389 0.146)
OKLCHoklch(90.84% 0.151 104.9)
XYZxyz(66.4864, 76.0220, 22.9734)
Luminance0.7602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E663 #636DF0
analogous
#F0A063 #F0E663 #B4F063
triadic
#F0E663 #63F0E6 #E663F0
tetradic
#F0E663 #63F0A0 #636DF0 #F063B4
square
#F0E663 #63F0A0 #636DF0 #F063B4
split-complementary
#F0E663 #63B4F0 #A063F0
monochromatic
#C6B913 #EBDD2B #F0E663 #F5EF9B #FBF8D3

Accessibility & contrast

On white

1.30
#F0E663 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.20
#F0E663 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E663
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E663#FFFFFF#000000##000000
##F0E6631.001.3016.2016.20
#FFFFFF1.301.0021.0021.00
#00000016.2021.001.001.00
##00000016.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DF55
Deuteranopia (green-blind)
#FCE56A
Tritanopia (blue-blind)
#FFD8CA
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f0e663;
/* rgb */ color: rgb(240, 230, 99);
/* oklch */ color: oklch(90.8% 0.151 104.9);
Tailwind
colors: {
  custom: {
    50: '#f8ed94',
    500: '#f0e663',
    950: '#000000',
  },
}
SCSS
$custom: #f0e663;
$custom-light: #f8ed94;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e663",
  "rgb": {
    "r": 240,
    "g": 230,
    "b": 99
  },
  "hsl": {
    "h": 55.745,
    "s": 82.456,
    "l": 66.471
  },
  "oklch": {
    "l": 0.90836,
    "c": 0.15106,
    "h": 104.9
  },
  "luminance": 0.7602
}

Semantic roles & 50–950 ramp

primary
#F0E663
secondary
#343EC3
accent
#16DF07
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160D
muted
#86847F

Preview Lab

Preview with #F0E663

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

Preview Lab → · Contrast checker → · Palette generator →

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