#F0D755#F0D755

#F0D755 is a very light, vivid yellow. Relative luminance 0.678; OKLCH L 87.6% C 0.149 H 98.3°. Best body text is #000000 at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#F0D755
RGBrgb(240, 215, 85)
HSLhsl(50, 84%, 64%)
HSVhsv(50, 65%, 94%)
CMYKcmyk(0%, 10.4%, 64.6%, 5.9%)
CIE-LABlab(85.90, -5.87, 65.08)
CIE-LCHlch(85.90, 65.34, 95.16°)
OKLaboklab(87.65% -0.0216 0.1475)
OKLCHoklch(87.65% 0.149 98.3)
XYZxyz(61.8780, 67.7849, 18.4170)
Luminance0.6778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D755 #556EF0
analogous
#F08955 #F0D755 #BBF055
triadic
#F0D755 #55F0D7 #D755F0
tetradic
#F0D755 #55F089 #556EF0 #F055BB
square
#F0D755 #55F089 #556EF0 #F055BB
split-complementary
#F0D755 #55BBF0 #8955F0
monochromatic
#BA9F10 #EBCA1D #F0D755 #F5E48D #FAF1C5

Accessibility & contrast

On white

1.44
#F0D755 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.56
#F0D755 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D755
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D755#FFFFFF#000000##000000
##F0D7551.001.4414.5614.56
#FFFFFF1.441.0021.0021.00
#00000014.5621.001.001.00
##00000014.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD245
Deuteranopia (green-blind)
#F2DB5C
Tritanopia (blue-blind)
#FFC8BC
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f0d755;
/* rgb */ color: rgb(240, 215, 85);
/* oklch */ color: oklch(87.6% 0.149 98.3);
Tailwind
colors: {
  custom: {
    50: '#f8e38b',
    500: '#f0d755',
    950: '#000000',
  },
}
SCSS
$custom: #f0d755;
$custom-light: #f8e38b;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d755",
  "rgb": {
    "r": 240,
    "g": 215,
    "b": 85
  },
  "hsl": {
    "h": 50.323,
    "s": 83.784,
    "l": 63.725
  },
  "oklch": {
    "l": 0.87646,
    "c": 0.14902,
    "h": 98.3
  },
  "luminance": 0.67782
}

Semantic roles & 50–950 ramp

primary
#F0D755
secondary
#3046B9
accent
#29E005
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F0D755

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

Preview Lab → · Contrast checker → · Palette generator →

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