#F0D663#F0D663

#F0D663 is a very light, vivid yellow. Relative luminance 0.675; OKLCH L 87.6% C 0.137 H 96.7°. Best body text is #000000 at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#F0D663
RGBrgb(240, 214, 99)
HSLhsl(49, 82%, 66%)
HSVhsv(49, 59%, 94%)
CMYKcmyk(0%, 10.8%, 58.8%, 5.9%)
CIE-LABlab(85.77, -4.47, 58.89)
CIE-LCHlch(85.77, 59.06, 94.34°)
OKLaboklab(87.58% -0.016 0.1362)
OKLCHoklch(87.58% 0.137 96.7)
XYZxyz(62.2364, 67.5221, 21.5568)
Luminance0.6752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D663 #637DF0
analogous
#F09063 #F0D663 #C4F063
triadic
#F0D663 #63F0D6 #D663F0
tetradic
#F0D663 #63F090 #637DF0 #F063C4
square
#F0D663 #63F090 #637DF0 #F063C4
split-complementary
#F0D663 #63C4F0 #9063F0
monochromatic
#C6A513 #EBC72B #F0D663 #F5E59B #FBF3D3

Accessibility & contrast

On white

1.45
#F0D663 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.50
#F0D663 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D663
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D663#FFFFFF#000000##000000
##F0D6631.001.4514.5014.50
#FFFFFF1.451.0021.0021.00
#00000014.5021.001.001.00
##00000014.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D157
Deuteranopia (green-blind)
#F0DA68
Tritanopia (blue-blind)
#FFC8BD
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f0d663;
/* rgb */ color: rgb(240, 214, 99);
/* oklch */ color: oklch(87.6% 0.137 96.7);
Tailwind
colors: {
  custom: {
    50: '#f8e293',
    500: '#f0d663',
    950: '#000000',
  },
}
SCSS
$custom: #f0d663;
$custom-light: #f8e293;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d663",
  "rgb": {
    "r": 240,
    "g": 214,
    "b": 99
  },
  "hsl": {
    "h": 48.936,
    "s": 82.456,
    "l": 66.471
  },
  "oklch": {
    "l": 0.87581,
    "c": 0.13712,
    "h": 96.7
  },
  "luminance": 0.67519
}

Semantic roles & 50–950 ramp

primary
#F0D663
secondary
#344FC3
accent
#2FDF07
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0D663

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

Preview Lab → · Contrast checker → · Palette generator →

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