#F0D563#F0D563

#F0D563 is a very light, vivid yellow. Relative luminance 0.670; OKLCH L 87.4% C 0.136 H 96.1°. Best body text is #000000 at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#F0D563
RGBrgb(240, 213, 99)
HSLhsl(49, 82%, 66%)
HSVhsv(49, 59%, 94%)
CMYKcmyk(0%, 11.2%, 58.8%, 5.9%)
CIE-LABlab(85.51, -3.96, 58.61)
CIE-LCHlch(85.51, 58.74, 93.87°)
OKLaboklab(87.38% -0.0145 0.1356)
OKLCHoklch(87.38% 0.136 96.1)
XYZxyz(61.9841, 67.0175, 21.4727)
Luminance0.6702 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D563 #637EF0
analogous
#F08F63 #F0D563 #C4F063
triadic
#F0D563 #63F0D5 #D563F0
tetradic
#F0D563 #63F08F #637EF0 #F063C4
square
#F0D563 #63F08F #637EF0 #F063C4
split-complementary
#F0D563 #63C4F0 #8F63F0
monochromatic
#C6A313 #EBC62B #F0D563 #F5E49B #FBF3D3

Accessibility & contrast

On white

1.46
#F0D563 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.40
#F0D563 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D563
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D563#FFFFFF#000000##000000
##F0D5631.001.4614.4014.40
#FFFFFF1.461.0021.0021.00
#00000014.4021.001.001.00
##00000014.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D157
Deuteranopia (green-blind)
#EFD968
Tritanopia (blue-blind)
#FFC7BC
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f0d563;
/* rgb */ color: rgb(240, 213, 99);
/* oklch */ color: oklch(87.4% 0.136 96.1);
Tailwind
colors: {
  custom: {
    50: '#f8e193',
    500: '#f0d563',
    950: '#000000',
  },
}
SCSS
$custom: #f0d563;
$custom-light: #f8e193;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d563",
  "rgb": {
    "r": 240,
    "g": 213,
    "b": 99
  },
  "hsl": {
    "h": 48.511,
    "s": 82.456,
    "l": 66.471
  },
  "oklch": {
    "l": 0.8738,
    "c": 0.13635,
    "h": 96.1
  },
  "luminance": 0.67015
}

Semantic roles & 50–950 ramp

primary
#F0D563
secondary
#3450C3
accent
#30DF07
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0D563

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

Preview Lab → · Contrast checker → · Palette generator →

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