#F0CB50#F0CB50

#F0CB50 is a very light, vivid yellow. Relative luminance 0.618; OKLCH L 85.2% C 0.144 H 92.2°. Best body text is #000000 at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#F0CB50
RGBrgb(240, 203, 80)
HSLhsl(46, 84%, 63%)
HSVhsv(46, 67%, 94%)
CMYKcmyk(0%, 15.4%, 66.7%, 5.9%)
CIE-LABlab(82.82, -0.04, 63.91)
CIE-LCHlch(82.82, 63.91, 90.03°)
OKLaboklab(85.2% -0.0054 0.1442)
OKLCHoklch(85.2% 0.144 92.2)
XYZxyz(58.7421, 61.8196, 16.4262)
Luminance0.6182 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CB50 #5075F0
analogous
#F07B50 #F0CB50 #C5F050
triadic
#F0CB50 #50F0CB #CB50F0
tetradic
#F0CB50 #50F07B #5075F0 #F050C5
square
#F0CB50 #50F07B #5075F0 #F050C5
split-complementary
#F0CB50 #50C5F0 #7B50F0
monochromatic
#B69010 #EBBA18 #F0CB50 #F5DC88 #FAECC1

Accessibility & contrast

On white

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

On black

13.36
#F0CB50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0CB50
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0CB50#FFFFFF#000000##000000
##F0CB501.001.5713.3613.36
#FFFFFF1.571.0021.0021.00
#00000013.3621.001.001.00
##00000013.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0cb50;
/* rgb */ color: rgb(240, 203, 80);
/* oklch */ color: oklch(85.2% 0.144 92.2);
Tailwind
colors: {
  custom: {
    50: '#f9da87',
    500: '#f0cb50',
    950: '#000000',
  },
}
SCSS
$custom: #f0cb50;
$custom-light: #f9da87;
$custom-dark: #000000;
JSON
{
  "hex": "#f0cb50",
  "rgb": {
    "r": 240,
    "g": 203,
    "b": 80
  },
  "hsl": {
    "h": 46.125,
    "s": 84.211,
    "l": 62.745
  },
  "oklch": {
    "l": 0.85196,
    "c": 0.14428,
    "h": 92.2
  },
  "luminance": 0.61816
}

Semantic roles & 50–950 ramp

primary
#F0CB50
secondary
#2F4EB5
accent
#38E105
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#18140C
muted
#86837F

Preview Lab

Preview with #F0CB50

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

Preview Lab → · Contrast checker → · Palette generator →

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