#F0CB49#F0CB49

#F0CB49 is a very light, vivid yellow. Relative luminance 0.617; OKLCH L 85.1% C 0.149 H 92.8°. Best body text is #000000 at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#F0CB49
RGBrgb(240, 203, 73)
HSLhsl(47, 85%, 61%)
HSVhsv(47, 70%, 94%)
CMYKcmyk(0%, 15.4%, 69.6%, 5.9%)
CIE-LABlab(82.77, -0.41, 66.68)
CIE-LCHlch(82.77, 66.68, 90.35°)
OKLaboklab(85.14% -0.0073 0.1489)
OKLCHoklch(85.14% 0.149 92.8)
XYZxyz(58.4968, 61.7215, 15.1344)
Luminance0.6172 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CB49 #496EF0
analogous
#F07849 #F0CB49 #C1F049
triadic
#F0CB49 #49F0CB #CB49F0
tetradic
#F0CB49 #49F078 #496EF0 #F049C1
square
#F0CB49 #49F078 #496EF0 #F049C1
split-complementary
#F0CB49 #49C1F0 #7849F0
monochromatic
#B08C0F #E9B913 #F0CB49 #F5DB82 #F9EBBA

Accessibility & contrast

On white

1.57
#F0CB49 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.34
#F0CB49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0CB49
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0CB49#FFFFFF#000000##000000
##F0CB491.001.5713.3413.34
#FFFFFF1.571.0021.0021.00
#00000013.3421.001.001.00
##00000013.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C837
Deuteranopia (green-blind)
#EAD350
Tritanopia (blue-blind)
#FFBBB1
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #f0cb49;
/* rgb */ color: rgb(240, 203, 73);
/* oklch */ color: oklch(85.1% 0.149 92.8);
Tailwind
colors: {
  custom: {
    50: '#f9da83',
    500: '#f0cb49',
    950: '#000000',
  },
}
SCSS
$custom: #f0cb49;
$custom-light: #f9da83;
$custom-dark: #000000;
JSON
{
  "hex": "#f0cb49",
  "rgb": {
    "r": 240,
    "g": 203,
    "b": 73
  },
  "hsl": {
    "h": 46.707,
    "s": 84.772,
    "l": 61.373
  },
  "oklch": {
    "l": 0.85138,
    "c": 0.14907,
    "h": 92.8
  },
  "luminance": 0.61718
}

Semantic roles & 50–950 ramp

primary
#F0CB49
secondary
#2D4AB0
accent
#35E104
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #F0CB49

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

Preview Lab → · Contrast checker → · Palette generator →

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