#F0D55A#F0D55A

#F0D55A is a very light, vivid yellow. Relative luminance 0.669; OKLCH L 87.3% C 0.144 H 96.9°. Best body text is #000000 at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#F0D55A
RGBrgb(240, 213, 90)
HSLhsl(49, 83%, 65%)
HSVhsv(49, 63%, 94%)
CMYKcmyk(0%, 11.2%, 62.5%, 5.9%)
CIE-LABlab(85.43, -4.56, 62.47)
CIE-LCHlch(85.43, 62.64, 94.17°)
OKLaboklab(87.29% -0.0173 0.1426)
OKLCHoklch(87.29% 0.144 96.9)
XYZxyz(61.5776, 66.8549, 19.3317)
Luminance0.6685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D55A #5A75F0
analogous
#F08A5A #F0D55A #C0F05A
triadic
#F0D55A #5AF0D5 #D55AF0
tetradic
#F0D55A #5AF08A #5A75F0 #F05AC0
square
#F0D55A #5AF08A #5A75F0 #F05AC0
split-complementary
#F0D55A #5AC0F0 #8A5AF0
monochromatic
#BE9F11 #EBC722 #F0D55A #F5E392 #FAF2CA

Accessibility & contrast

On white

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

On black

14.37
#F0D55A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D55A
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D55A#FFFFFF#000000##000000
##F0D55A1.001.4614.3714.37
#FFFFFF1.461.0021.0021.00
#00000014.3721.001.001.00
##00000014.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D04C
Deuteranopia (green-blind)
#F0D960
Tritanopia (blue-blind)
#FFC6BB
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f0d55a;
/* rgb */ color: rgb(240, 213, 90);
/* oklch */ color: oklch(87.3% 0.144 96.9);
Tailwind
colors: {
  custom: {
    50: '#f8e18d',
    500: '#f0d55a',
    950: '#000000',
  },
}
SCSS
$custom: #f0d55a;
$custom-light: #f8e18d;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d55a",
  "rgb": {
    "r": 240,
    "g": 213,
    "b": 90
  },
  "hsl": {
    "h": 49.2,
    "s": 83.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.87288,
    "c": 0.14368,
    "h": 96.9
  },
  "luminance": 0.66852
}

Semantic roles & 50–950 ramp

primary
#F0D55A
secondary
#324BBD
accent
#2DE006
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0D55A

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

Preview Lab → · Contrast checker → · Palette generator →

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