#F0D055#F0D055

#F0D055 is a very light, vivid yellow. Relative luminance 0.643; OKLCH L 86.2% C 0.144 H 94.5°. Best body text is #000000 at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#F0D055
RGBrgb(240, 208, 85)
HSLhsl(48, 84%, 64%)
HSVhsv(48, 65%, 94%)
CMYKcmyk(0%, 13.3%, 64.6%, 5.9%)
CIE-LABlab(84.12, -2.31, 63.19)
CIE-LCHlch(84.12, 63.23, 92.10°)
OKLaboklab(86.24% -0.0114 0.1434)
OKLCHoklch(86.24% 0.144 94.5)
XYZxyz(60.1336, 64.2960, 17.8355)
Luminance0.6429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D055 #5575F0
analogous
#F08255 #F0D055 #C2F055
triadic
#F0D055 #55F0D0 #D055F0
tetradic
#F0D055 #55F082 #5575F0 #F055C2
square
#F0D055 #55F082 #5575F0 #F055C2
split-complementary
#F0D055 #55C2F0 #8255F0
monochromatic
#BA9710 #EBC01D #F0D055 #F5E08D #FAEFC5

Accessibility & contrast

On white

1.52
#F0D055 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.86
#F0D055 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D055
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D055#FFFFFF#000000##000000
##F0D0551.001.5213.8613.86
#FFFFFF1.521.0021.0021.00
#00000013.8621.001.001.00
##00000013.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC46
Deuteranopia (green-blind)
#ECD65B
Tritanopia (blue-blind)
#FFC1B6
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #f0d055;
/* rgb */ color: rgb(240, 208, 85);
/* oklch */ color: oklch(86.2% 0.144 94.5);
Tailwind
colors: {
  custom: {
    50: '#f9de8a',
    500: '#f0d055',
    950: '#000000',
  },
}
SCSS
$custom: #f0d055;
$custom-light: #f9de8a;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d055",
  "rgb": {
    "r": 240,
    "g": 208,
    "b": 85
  },
  "hsl": {
    "h": 47.613,
    "s": 83.784,
    "l": 63.725
  },
  "oklch": {
    "l": 0.86238,
    "c": 0.14389,
    "h": 94.5
  },
  "luminance": 0.64293
}

Semantic roles & 50–950 ramp

primary
#F0D055
secondary
#304CB9
accent
#32E005
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F0D055

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

Preview Lab → · Contrast checker → · Palette generator →

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