#F0CA4D#F0CA4D

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

Color values

HEX#F0CA4D
RGBrgb(240, 202, 77)
HSLhsl(46, 84%, 62%)
HSVhsv(46, 68%, 94%)
CMYKcmyk(0%, 15.8%, 67.9%, 5.9%)
CIE-LABlab(82.54, 0.31, 64.85)
CIE-LCHlch(82.54, 64.86, 89.72°)
OKLaboklab(84.97% -0.0048 0.1457)
OKLCHoklch(84.97% 0.146 91.9)
XYZxyz(58.3983, 61.3055, 15.7769)
Luminance0.6130 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CA4D #4D73F0
analogous
#F0784D #F0CA4D #C5F04D
triadic
#F0CA4D #4DF0CA #CA4DF0
tetradic
#F0CA4D #4DF078 #4D73F0 #F04DC5
square
#F0CA4D #4DF078 #4D73F0 #F04DC5
split-complementary
#F0CA4D #4DC5F0 #784DF0
monochromatic
#B38D0F #EBB915 #F0CA4D #F5DB85 #FAECBE

Accessibility & contrast

On white

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

On black

13.26
#F0CA4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0CA4D
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0CA4D#FFFFFF#000000##000000
##F0CA4D1.001.5813.2613.26
#FFFFFF1.581.0021.0021.00
#00000013.2621.001.001.00
##00000013.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0ca4d;
/* rgb */ color: rgb(240, 202, 77);
/* oklch */ color: oklch(85.0% 0.146 91.9);
Tailwind
colors: {
  custom: {
    50: '#f9d985',
    500: '#f0ca4d',
    950: '#000000',
  },
}
SCSS
$custom: #f0ca4d;
$custom-light: #f9d985;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ca4d",
  "rgb": {
    "r": 240,
    "g": 202,
    "b": 77
  },
  "hsl": {
    "h": 46.012,
    "s": 84.456,
    "l": 62.157
  },
  "oklch": {
    "l": 0.84972,
    "c": 0.14578,
    "h": 91.9
  },
  "luminance": 0.61302
}

Semantic roles & 50–950 ramp

primary
#F0CA4D
secondary
#2E4DB3
accent
#38E105
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #F0CA4D

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

Preview Lab → · Contrast checker → · Palette generator →

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