#F0CA50#F0CA50

#F0CA50 is a very light, vivid yellow. Relative luminance 0.613; OKLCH L 85.0% C 0.144 H 91.6°. Best body text is #000000 at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#F0CA50
RGBrgb(240, 202, 80)
HSLhsl(46, 84%, 63%)
HSVhsv(46, 67%, 94%)
CMYKcmyk(0%, 15.8%, 66.7%, 5.9%)
CIE-LABlab(82.57, 0.48, 63.64)
CIE-LCHlch(82.57, 63.64, 89.57°)
OKLaboklab(85% -0.004 0.1436)
OKLCHoklch(85% 0.144 91.6)
XYZxyz(58.5067, 61.3488, 16.3477)
Luminance0.6135 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CA50 #5076F0
analogous
#F07A50 #F0CA50 #C6F050
triadic
#F0CA50 #50F0CA #CA50F0
tetradic
#F0CA50 #50F07A #5076F0 #F050C6
square
#F0CA50 #50F07A #5076F0 #F050C6
split-complementary
#F0CA50 #50C6F0 #7A50F0
monochromatic
#B68E10 #EBB918 #F0CA50 #F5DB88 #FAECC1

Accessibility & contrast

On white

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

On black

13.27
#F0CA50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0CA50
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0CA50#FFFFFF#000000##000000
##F0CA501.001.5813.2713.27
#FFFFFF1.581.0021.0021.00
#00000013.2721.001.001.00
##00000013.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC741
Deuteranopia (green-blind)
#E8D256
Tritanopia (blue-blind)
#FFBAB0
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #f0ca50;
/* rgb */ color: rgb(240, 202, 80);
/* oklch */ color: oklch(85.0% 0.144 91.6);
Tailwind
colors: {
  custom: {
    50: '#f9d987',
    500: '#f0ca50',
    950: '#000000',
  },
}
SCSS
$custom: #f0ca50;
$custom-light: #f9d987;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ca50",
  "rgb": {
    "r": 240,
    "g": 202,
    "b": 80
  },
  "hsl": {
    "h": 45.75,
    "s": 84.211,
    "l": 62.745
  },
  "oklch": {
    "l": 0.84998,
    "c": 0.14367,
    "h": 91.6
  },
  "luminance": 0.61346
}

Semantic roles & 50–950 ramp

primary
#F0CA50
secondary
#2F4FB5
accent
#39E105
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#18140C
muted
#86837F

Preview Lab

Preview with #F0CA50

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

Preview Lab → · Contrast checker → · Palette generator →

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