#F0D355#F0D355

#F0D355 is a very light, vivid yellow. Relative luminance 0.658; OKLCH L 86.8% C 0.146 H 96.2°. Best body text is #000000 at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#F0D355
RGBrgb(240, 211, 85)
HSLhsl(49, 84%, 64%)
HSVhsv(49, 65%, 94%)
CMYKcmyk(0%, 12.1%, 64.6%, 5.9%)
CIE-LABlab(84.88, -3.84, 64.00)
CIE-LCHlch(84.88, 64.12, 93.44°)
OKLaboklab(86.84% -0.0158 0.1452)
OKLCHoklch(86.84% 0.146 96.2)
XYZxyz(60.8719, 65.7727, 18.0817)
Luminance0.6577 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D355 #5572F0
analogous
#F08555 #F0D355 #BFF055
triadic
#F0D355 #55F0D3 #D355F0
tetradic
#F0D355 #55F085 #5572F0 #F055BF
square
#F0D355 #55F085 #5572F0 #F055BF
split-complementary
#F0D355 #55BFF0 #8555F0
monochromatic
#BA9A10 #EBC41D #F0D355 #F5E28D #FAF0C5

Accessibility & contrast

On white

1.48
#F0D355 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.15
#F0D355 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D355
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D355#FFFFFF#000000##000000
##F0D3551.001.4814.1514.15
#FFFFFF1.481.0021.0021.00
#00000014.1521.001.001.00
##00000014.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF46
Deuteranopia (green-blind)
#EFD85B
Tritanopia (blue-blind)
#FFC4B8
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #f0d355;
/* rgb */ color: rgb(240, 211, 85);
/* oklch */ color: oklch(86.8% 0.146 96.2);
Tailwind
colors: {
  custom: {
    50: '#f8e08a',
    500: '#f0d355',
    950: '#000000',
  },
}
SCSS
$custom: #f0d355;
$custom-light: #f8e08a;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d355",
  "rgb": {
    "r": 240,
    "g": 211,
    "b": 85
  },
  "hsl": {
    "h": 48.774,
    "s": 83.784,
    "l": 63.725
  },
  "oklch": {
    "l": 0.86839,
    "c": 0.14602,
    "h": 96.2
  },
  "luminance": 0.6577
}

Semantic roles & 50–950 ramp

primary
#F0D355
secondary
#304AB9
accent
#2EE005
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F0D355

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

Preview Lab → · Contrast checker → · Palette generator →

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