#F0D455#F0D455

#F0D455 is a very light, vivid yellow. Relative luminance 0.663; OKLCH L 87.0% C 0.147 H 96.7°. Best body text is #000000 at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#F0D455
RGBrgb(240, 212, 85)
HSLhsl(49, 84%, 64%)
HSVhsv(49, 65%, 94%)
CMYKcmyk(0%, 11.7%, 64.6%, 5.9%)
CIE-LABlab(85.13, -4.35, 64.27)
CIE-LCHlch(85.13, 64.42, 93.87°)
OKLaboklab(87.04% -0.0172 0.1457)
OKLCHoklch(87.04% 0.147 96.7)
XYZxyz(61.1211, 66.2711, 18.1647)
Luminance0.6627 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D455 #5571F0
analogous
#F08655 #F0D455 #BEF055
triadic
#F0D455 #55F0D4 #D455F0
tetradic
#F0D455 #55F086 #5571F0 #F055BE
square
#F0D455 #55F086 #5571F0 #F055BE
split-complementary
#F0D455 #55BEF0 #8655F0
monochromatic
#BA9C10 #EBC61D #F0D455 #F5E28D #FAF0C5

Accessibility & contrast

On white

1.47
#F0D455 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.25
#F0D455 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D455
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D455#FFFFFF#000000##000000
##F0D4551.001.4714.2514.25
#FFFFFF1.471.0021.0021.00
#00000014.2521.001.001.00
##00000014.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF46
Deuteranopia (green-blind)
#EFD95C
Tritanopia (blue-blind)
#FFC5B9
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f0d455;
/* rgb */ color: rgb(240, 212, 85);
/* oklch */ color: oklch(87.0% 0.147 96.7);
Tailwind
colors: {
  custom: {
    50: '#f8e08a',
    500: '#f0d455',
    950: '#000000',
  },
}
SCSS
$custom: #f0d455;
$custom-light: #f8e08a;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d455",
  "rgb": {
    "r": 240,
    "g": 212,
    "b": 85
  },
  "hsl": {
    "h": 49.161,
    "s": 83.784,
    "l": 63.725
  },
  "oklch": {
    "l": 0.87041,
    "c": 0.14675,
    "h": 96.7
  },
  "luminance": 0.66268
}

Semantic roles & 50–950 ramp

primary
#F0D455
secondary
#3049B9
accent
#2DE005
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F0D455

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

Preview Lab → · Contrast checker → · Palette generator →

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