#F0CA4C#F0CA4C

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

Color values

HEX#F0CA4C
RGBrgb(240, 202, 76)
HSLhsl(46, 85%, 62%)
HSVhsv(46, 68%, 94%)
CMYKcmyk(0%, 15.8%, 68.3%, 5.9%)
CIE-LABlab(82.54, 0.26, 65.25)
CIE-LCHlch(82.54, 65.25, 89.77°)
OKLaboklab(84.96% -0.005 0.1464)
OKLCHoklch(84.96% 0.146 92)
XYZxyz(58.3633, 61.2915, 15.5924)
Luminance0.6129 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CA4C #4C72F0
analogous
#F0784C #F0CA4C #C4F04C
triadic
#F0CA4C #4CF0CA #CA4CF0
tetradic
#F0CA4C #4CF078 #4C72F0 #F04CC4
square
#F0CA4C #4CF078 #4C72F0 #F04CC4
split-complementary
#F0CA4C #4CC4F0 #784CF0
monochromatic
#B38D0F #EBB914 #F0CA4C #F5DB84 #F9EBBD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0CA4C#FFFFFF#000000##000000
##F0CA4C1.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)
#DFC73B
Deuteranopia (green-blind)
#E9D252
Tritanopia (blue-blind)
#FFBAB0
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #f0ca4c;
/* rgb */ color: rgb(240, 202, 76);
/* oklch */ color: oklch(85.0% 0.146 92.0);
Tailwind
colors: {
  custom: {
    50: '#f9d984',
    500: '#f0ca4c',
    950: '#000000',
  },
}
SCSS
$custom: #f0ca4c;
$custom-light: #f9d984;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ca4c",
  "rgb": {
    "r": 240,
    "g": 202,
    "b": 76
  },
  "hsl": {
    "h": 46.098,
    "s": 84.536,
    "l": 61.961
  },
  "oklch": {
    "l": 0.84964,
    "c": 0.14647,
    "h": 92
  },
  "luminance": 0.61288
}

Semantic roles & 50–950 ramp

primary
#F0CA4C
secondary
#2E4DB2
accent
#38E104
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #F0CA4C

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

Preview Lab → · Contrast checker → · Palette generator →

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