#F0D564#F0D564

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

Color values

HEX#F0D564
RGBrgb(240, 213, 100)
HSLhsl(48, 82%, 67%)
HSVhsv(48, 58%, 94%)
CMYKcmyk(0%, 11.2%, 58.3%, 5.9%)
CIE-LABlab(85.52, -3.89, 58.17)
CIE-LCHlch(85.52, 58.30, 93.83°)
OKLaboklab(87.39% -0.0142 0.1348)
OKLCHoklch(87.39% 0.136 96)
XYZxyz(62.0322, 67.0367, 21.7260)
Luminance0.6703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D564 #647FF0
analogous
#F08F64 #F0D564 #C5F064
triadic
#F0D564 #64F0D5 #D564F0
tetradic
#F0D564 #64F08F #647FF0 #F064C5
square
#F0D564 #64F08F #647FF0 #F064C5
split-complementary
#F0D564 #64C5F0 #8F64F0
monochromatic
#C6A413 #EBC62C #F0D564 #F5E49C #FBF3D4

Accessibility & contrast

On white

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

On black

14.41
#F0D564 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D564
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D564#FFFFFF#000000##000000
##F0D5641.001.4614.4114.41
#FFFFFF1.461.0021.0021.00
#00000014.4121.001.001.00
##00000014.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0d564;
/* rgb */ color: rgb(240, 213, 100);
/* oklch */ color: oklch(87.4% 0.136 96.0);
Tailwind
colors: {
  custom: {
    50: '#f8e194',
    500: '#f0d564',
    950: '#000000',
  },
}
SCSS
$custom: #f0d564;
$custom-light: #f8e194;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d564",
  "rgb": {
    "r": 240,
    "g": 213,
    "b": 100
  },
  "hsl": {
    "h": 48.429,
    "s": 82.353,
    "l": 66.667
  },
  "oklch": {
    "l": 0.87391,
    "c": 0.1355,
    "h": 96
  },
  "luminance": 0.67034
}

Semantic roles & 50–950 ramp

primary
#F0D564
secondary
#3550C4
accent
#30DF07
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0D564

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

Preview Lab → · Contrast checker → · Palette generator →

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