#F0CD55#F0CD55

#F0CD55 is a very light, vivid yellow. Relative luminance 0.628; OKLCH L 85.6% C 0.142 H 92.8°. Best body text is #000000 at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#F0CD55
RGBrgb(240, 205, 85)
HSLhsl(46, 84%, 64%)
HSVhsv(46, 65%, 94%)
CMYKcmyk(0%, 14.6%, 64.6%, 5.9%)
CIE-LABlab(83.36, -0.78, 62.38)
CIE-LCHlch(83.36, 62.38, 90.71°)
OKLaboklab(85.64% -0.007 0.1417)
OKLCHoklch(85.64% 0.142 92.8)
XYZxyz(59.4091, 62.8470, 17.5940)
Luminance0.6284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CD55 #5578F0
analogous
#F07F55 #F0CD55 #C5F055
triadic
#F0CD55 #55F0CD #CD55F0
tetradic
#F0CD55 #55F07F #5578F0 #F055C5
square
#F0CD55 #55F07F #5578F0 #F055C5
split-complementary
#F0CD55 #55C5F0 #7F55F0
monochromatic
#BA9410 #EBBC1D #F0CD55 #F5DE8D #FAEEC5

Accessibility & contrast

On white

1.55
#F0CD55 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.57
#F0CD55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0CD55
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0CD55#FFFFFF#000000##000000
##F0CD551.001.5513.5713.57
#FFFFFF1.551.0021.0021.00
#00000013.5721.001.001.00
##00000013.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CA47
Deuteranopia (green-blind)
#EAD45B
Tritanopia (blue-blind)
#FFBEB4
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #f0cd55;
/* rgb */ color: rgb(240, 205, 85);
/* oklch */ color: oklch(85.6% 0.142 92.8);
Tailwind
colors: {
  custom: {
    50: '#f9db8a',
    500: '#f0cd55',
    950: '#000000',
  },
}
SCSS
$custom: #f0cd55;
$custom-light: #f9db8a;
$custom-dark: #000000;
JSON
{
  "hex": "#f0cd55",
  "rgb": {
    "r": 240,
    "g": 205,
    "b": 85
  },
  "hsl": {
    "h": 46.452,
    "s": 83.784,
    "l": 63.725
  },
  "oklch": {
    "l": 0.85639,
    "c": 0.14189,
    "h": 92.8
  },
  "luminance": 0.62844
}

Semantic roles & 50–950 ramp

primary
#F0CD55
secondary
#304FB9
accent
#37E005
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F0CD55

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

Preview Lab → · Contrast checker → · Palette generator →

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