#F0CA4E#F0CA4E

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

Color values

HEX#F0CA4E
RGBrgb(240, 202, 78)
HSLhsl(46, 84%, 62%)
HSVhsv(46, 68%, 94%)
CMYKcmyk(0%, 15.8%, 67.5%, 5.9%)
CIE-LABlab(82.55, 0.37, 64.45)
CIE-LCHlch(82.55, 64.45, 89.67°)
OKLaboklab(84.98% -0.0045 0.145)
OKLCHoklch(84.98% 0.145 91.8)
XYZxyz(58.4339, 61.3197, 15.9643)
Luminance0.6132 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CA4E #4E74F0
analogous
#F0794E #F0CA4E #C5F04E
triadic
#F0CA4E #4EF0CA #CA4EF0
tetradic
#F0CA4E #4EF079 #4E74F0 #F04EC5
square
#F0CA4E #4EF079 #4E74F0 #F04EC5
split-complementary
#F0CA4E #4EC5F0 #794EF0
monochromatic
#B48E0F #EBB916 #F0CA4E #F5DB86 #FAECBF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0CA4E#FFFFFF#000000##000000
##F0CA4E1.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)
#DFC73E
Deuteranopia (green-blind)
#E9D254
Tritanopia (blue-blind)
#FFBAB0
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #f0ca4e;
/* rgb */ color: rgb(240, 202, 78);
/* oklch */ color: oklch(85.0% 0.145 91.8);
Tailwind
colors: {
  custom: {
    50: '#f9d986',
    500: '#f0ca4e',
    950: '#000000',
  },
}
SCSS
$custom: #f0ca4e;
$custom-light: #f9d986;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ca4e",
  "rgb": {
    "r": 240,
    "g": 202,
    "b": 78
  },
  "hsl": {
    "h": 45.926,
    "s": 84.375,
    "l": 62.353
  },
  "oklch": {
    "l": 0.8498,
    "c": 0.14509,
    "h": 91.8
  },
  "luminance": 0.61316
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F0CA4E

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

Preview Lab → · Contrast checker → · Palette generator →

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