#F0CA55#F0CA55

#F0CA55 is a very light, vivid yellow. Relative luminance 0.614; OKLCH L 85.0% C 0.140 H 91.0°. Best body text is #000000 at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#F0CA55
RGBrgb(240, 202, 85)
HSLhsl(45, 84%, 64%)
HSVhsv(45, 65%, 94%)
CMYKcmyk(0%, 15.8%, 64.6%, 5.9%)
CIE-LABlab(82.61, 0.76, 61.57)
CIE-LCHlch(82.61, 61.57, 89.29°)
OKLaboklab(85.04% -0.0025 0.14)
OKLCHoklch(85.04% 0.14 91)
XYZxyz(58.6983, 61.4255, 17.3571)
Luminance0.6142 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CA55 #557BF0
analogous
#F07C55 #F0CA55 #C9F055
triadic
#F0CA55 #55F0CA #CA55F0
tetradic
#F0CA55 #55F07C #557BF0 #F055C9
square
#F0CA55 #55F07C #557BF0 #F055C9
split-complementary
#F0CA55 #55C9F0 #7C55F0
monochromatic
#BA9110 #EBB81D #F0CA55 #F5DC8D #FAEDC5

Accessibility & contrast

On white

1.58
#F0CA55 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.28
#F0CA55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0CA55
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0CA55#FFFFFF#000000##000000
##F0CA551.001.5813.2813.28
#FFFFFF1.581.0021.0021.00
#00000013.2821.001.001.00
##00000013.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC747
Deuteranopia (green-blind)
#E8D25A
Tritanopia (blue-blind)
#FFBBB1
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #f0ca55;
/* rgb */ color: rgb(240, 202, 85);
/* oklch */ color: oklch(85.0% 0.140 91.0);
Tailwind
colors: {
  custom: {
    50: '#f9d98a',
    500: '#f0ca55',
    950: '#000000',
  },
}
SCSS
$custom: #f0ca55;
$custom-light: #f9d98a;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ca55",
  "rgb": {
    "r": 240,
    "g": 202,
    "b": 85
  },
  "hsl": {
    "h": 45.29,
    "s": 83.784,
    "l": 63.725
  },
  "oklch": {
    "l": 0.85043,
    "c": 0.14002,
    "h": 91
  },
  "luminance": 0.61422
}

Semantic roles & 50–950 ramp

primary
#F0CA55
secondary
#3052B9
accent
#3BE005
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #F0CA55

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

Preview Lab → · Contrast checker → · Palette generator →

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