#F0CD49#F0CD49

#F0CD49 is a very light, vivid yellow. Relative luminance 0.627; OKLCH L 85.5% C 0.150 H 93.9°. Best body text is #000000 at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#F0CD49
RGBrgb(240, 205, 73)
HSLhsl(47, 85%, 61%)
HSVhsv(47, 70%, 94%)
CMYKcmyk(0%, 14.6%, 69.6%, 5.9%)
CIE-LABlab(83.27, -1.43, 67.19)
CIE-LCHlch(83.27, 67.21, 91.22°)
OKLaboklab(85.54% -0.0102 0.15)
OKLCHoklch(85.54% 0.15 93.9)
XYZxyz(58.9721, 62.6722, 15.2928)
Luminance0.6267 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CD49 #496CF0
analogous
#F07A49 #F0CD49 #C0F049
triadic
#F0CD49 #49F0CD #CD49F0
tetradic
#F0CD49 #49F07A #496CF0 #F049C0
square
#F0CD49 #49F07A #496CF0 #F049C0
split-complementary
#F0CD49 #49C0F0 #7A49F0
monochromatic
#B08E0F #E9BC13 #F0CD49 #F5DD82 #F9ECBA

Accessibility & contrast

On white

1.55
#F0CD49 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.53
#F0CD49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0CD49
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0CD49#FFFFFF#000000##000000
##F0CD491.001.5513.5313.53
#FFFFFF1.551.0021.0021.00
#00000013.5321.001.001.00
##00000013.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C936
Deuteranopia (green-blind)
#EBD450
Tritanopia (blue-blind)
#FFBDB2
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #f0cd49;
/* rgb */ color: rgb(240, 205, 73);
/* oklch */ color: oklch(85.5% 0.150 93.9);
Tailwind
colors: {
  custom: {
    50: '#f9db83',
    500: '#f0cd49',
    950: '#000000',
  },
}
SCSS
$custom: #f0cd49;
$custom-light: #f9db83;
$custom-dark: #000000;
JSON
{
  "hex": "#f0cd49",
  "rgb": {
    "r": 240,
    "g": 205,
    "b": 73
  },
  "hsl": {
    "h": 47.425,
    "s": 84.772,
    "l": 61.373
  },
  "oklch": {
    "l": 0.85537,
    "c": 0.15032,
    "h": 93.9
  },
  "luminance": 0.62669
}

Semantic roles & 50–950 ramp

primary
#F0CD49
secondary
#2D48B0
accent
#33E104
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18150B
muted
#86847E

Preview Lab

Preview with #F0CD49

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

Preview Lab → · Contrast checker → · Palette generator →

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