#F0D550#F0D550

#F0D550 is a very light, vivid yellow. Relative luminance 0.667; OKLCH L 87.2% C 0.151 H 97.6°. Best body text is #000000 at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#F0D550
RGBrgb(240, 213, 80)
HSLhsl(50, 84%, 63%)
HSVhsv(50, 67%, 94%)
CMYKcmyk(0%, 11.2%, 66.7%, 5.9%)
CIE-LABlab(85.35, -5.14, 66.55)
CIE-LCHlch(85.35, 66.74, 94.42°)
OKLaboklab(87.2% -0.0201 0.1498)
OKLCHoklch(87.2% 0.151 97.6)
XYZxyz(61.1802, 66.6959, 17.2389)
Luminance0.6669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D550 #506BF0
analogous
#F08550 #F0D550 #BBF050
triadic
#F0D550 #50F0D5 #D550F0
tetradic
#F0D550 #50F085 #506BF0 #F050BB
square
#F0D550 #50F085 #506BF0 #F050BB
split-complementary
#F0D550 #50BBF0 #8550F0
monochromatic
#B69A10 #EBC718 #F0D550 #F5E388 #FAF0C1

Accessibility & contrast

On white

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

On black

14.34
#F0D550 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D550
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D550#FFFFFF#000000##000000
##F0D5501.001.4614.3414.34
#FFFFFF1.461.0021.0021.00
#00000014.3421.001.001.00
##00000014.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D03F
Deuteranopia (green-blind)
#F0D957
Tritanopia (blue-blind)
#FFC6BA
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f0d550;
/* rgb */ color: rgb(240, 213, 80);
/* oklch */ color: oklch(87.2% 0.151 97.6);
Tailwind
colors: {
  custom: {
    50: '#f9e188',
    500: '#f0d550',
    950: '#000000',
  },
}
SCSS
$custom: #f0d550;
$custom-light: #f9e188;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d550",
  "rgb": {
    "r": 240,
    "g": 213,
    "b": 80
  },
  "hsl": {
    "h": 49.875,
    "s": 84.211,
    "l": 62.745
  },
  "oklch": {
    "l": 0.87199,
    "c": 0.15111,
    "h": 97.6
  },
  "luminance": 0.66693
}

Semantic roles & 50–950 ramp

primary
#F0D550
secondary
#2F46B5
accent
#2AE105
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F0D550

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

Preview Lab → · Contrast checker → · Palette generator →

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