#F0D155#F0D155

#F0D155 is a very light, vivid yellow. Relative luminance 0.648; OKLCH L 86.4% C 0.145 H 95.1°. Best body text is #000000 at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#F0D155
RGBrgb(240, 209, 85)
HSLhsl(48, 84%, 64%)
HSVhsv(48, 65%, 94%)
CMYKcmyk(0%, 12.9%, 64.6%, 5.9%)
CIE-LABlab(84.37, -2.82, 63.46)
CIE-LCHlch(84.37, 63.52, 92.55°)
OKLaboklab(86.44% -0.0129 0.144)
OKLCHoklch(86.44% 0.145 95.1)
XYZxyz(60.3782, 64.7851, 17.9171)
Luminance0.6478 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D155 #5574F0
analogous
#F08355 #F0D155 #C1F055
triadic
#F0D155 #55F0D1 #D155F0
tetradic
#F0D155 #55F083 #5574F0 #F055C1
square
#F0D155 #55F083 #5574F0 #F055C1
split-complementary
#F0D155 #55C1F0 #8355F0
monochromatic
#BA9810 #EBC21D #F0D155 #F5E08D #FAEFC5

Accessibility & contrast

On white

1.50
#F0D155 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.96
#F0D155 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D155
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D155#FFFFFF#000000##000000
##F0D1551.001.5013.9613.96
#FFFFFF1.501.0021.0021.00
#00000013.9621.001.001.00
##00000013.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CD46
Deuteranopia (green-blind)
#EDD75B
Tritanopia (blue-blind)
#FFC2B7
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #f0d155;
/* rgb */ color: rgb(240, 209, 85);
/* oklch */ color: oklch(86.4% 0.145 95.1);
Tailwind
colors: {
  custom: {
    50: '#f8de8a',
    500: '#f0d155',
    950: '#000000',
  },
}
SCSS
$custom: #f0d155;
$custom-light: #f8de8a;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d155",
  "rgb": {
    "r": 240,
    "g": 209,
    "b": 85
  },
  "hsl": {
    "h": 48,
    "s": 83.784,
    "l": 63.725
  },
  "oklch": {
    "l": 0.86438,
    "c": 0.14458,
    "h": 95.1
  },
  "luminance": 0.64782
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F0D155

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

Preview Lab → · Contrast checker → · Palette generator →

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