#F0D855#F0D855

#F0D855 is a very light, vivid yellow. Relative luminance 0.683; OKLCH L 87.8% C 0.150 H 98.8°. Best body text is #000000 at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#F0D855
RGBrgb(240, 216, 85)
HSLhsl(51, 84%, 64%)
HSVhsv(51, 65%, 94%)
CMYKcmyk(0%, 10%, 64.6%, 5.9%)
CIE-LABlab(86.15, -6.38, 65.35)
CIE-LCHlch(86.15, 65.66, 95.57°)
OKLaboklab(87.85% -0.023 0.148)
OKLCHoklch(87.85% 0.15 98.8)
XYZxyz(62.1334, 68.2957, 18.5022)
Luminance0.6829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D855 #556DF0
analogous
#F08A55 #F0D855 #BAF055
triadic
#F0D855 #55F0D8 #D855F0
tetradic
#F0D855 #55F08A #556DF0 #F055BA
square
#F0D855 #55F08A #556DF0 #F055BA
split-complementary
#F0D855 #55BAF0 #8A55F0
monochromatic
#BAA010 #EBCB1D #F0D855 #F5E58D #FAF2C5

Accessibility & contrast

On white

1.43
#F0D855 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.66
#F0D855 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D855
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D855#FFFFFF#000000##000000
##F0D8551.001.4314.6614.66
#FFFFFF1.431.0021.0021.00
#00000014.6621.001.001.00
##00000014.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0d855;
/* rgb */ color: rgb(240, 216, 85);
/* oklch */ color: oklch(87.8% 0.150 98.8);
Tailwind
colors: {
  custom: {
    50: '#f8e38b',
    500: '#f0d855',
    950: '#000000',
  },
}
SCSS
$custom: #f0d855;
$custom-light: #f8e38b;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d855",
  "rgb": {
    "r": 240,
    "g": 216,
    "b": 85
  },
  "hsl": {
    "h": 50.71,
    "s": 83.784,
    "l": 63.725
  },
  "oklch": {
    "l": 0.87848,
    "c": 0.1498,
    "h": 98.8
  },
  "luminance": 0.68293
}

Semantic roles & 50–950 ramp

primary
#F0D855
secondary
#3045B9
accent
#27E005
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F0D855

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

Preview Lab → · Contrast checker → · Palette generator →

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