#F0CC49#F0CC49

#F0CC49 is a very light, vivid yellow. Relative luminance 0.622; OKLCH L 85.3% C 0.150 H 93.4°. Best body text is #000000 at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#F0CC49
RGBrgb(240, 204, 73)
HSLhsl(47, 85%, 61%)
HSVhsv(47, 70%, 94%)
CMYKcmyk(0%, 15%, 69.6%, 5.9%)
CIE-LABlab(83.02, -0.92, 66.94)
CIE-LCHlch(83.02, 66.94, 90.79°)
OKLaboklab(85.34% -0.0088 0.1494)
OKLCHoklch(85.34% 0.15 93.4)
XYZxyz(58.7337, 62.1953, 15.2133)
Luminance0.6219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CC49 #496DF0
analogous
#F07949 #F0CC49 #C1F049
triadic
#F0CC49 #49F0CC #CC49F0
tetradic
#F0CC49 #49F079 #496DF0 #F049C1
square
#F0CC49 #49F079 #496DF0 #F049C1
split-complementary
#F0CC49 #49C1F0 #7949F0
monochromatic
#B08D0F #E9BB13 #F0CC49 #F5DC82 #F9ECBA

Accessibility & contrast

On white

1.56
#F0CC49 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.44
#F0CC49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0CC49
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0CC49#FFFFFF#000000##000000
##F0CC491.001.5613.4413.44
#FFFFFF1.561.0021.0021.00
#00000013.4421.001.001.00
##00000013.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C937
Deuteranopia (green-blind)
#EAD350
Tritanopia (blue-blind)
#FFBCB1
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #f0cc49;
/* rgb */ color: rgb(240, 204, 73);
/* oklch */ color: oklch(85.3% 0.150 93.4);
Tailwind
colors: {
  custom: {
    50: '#f9db83',
    500: '#f0cc49',
    950: '#000000',
  },
}
SCSS
$custom: #f0cc49;
$custom-light: #f9db83;
$custom-dark: #000000;
JSON
{
  "hex": "#f0cc49",
  "rgb": {
    "r": 240,
    "g": 204,
    "b": 73
  },
  "hsl": {
    "h": 47.066,
    "s": 84.772,
    "l": 61.373
  },
  "oklch": {
    "l": 0.85337,
    "c": 0.14969,
    "h": 93.4
  },
  "luminance": 0.62192
}

Semantic roles & 50–950 ramp

primary
#F0CC49
secondary
#2D49B0
accent
#34E104
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #F0CC49

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

Preview Lab → · Contrast checker → · Palette generator →

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