#F0C950#F0C950

#F0C950 is a very light, vivid yellow. Relative luminance 0.609; OKLCH L 84.8% C 0.143 H 91.0°. Best body text is #000000 at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#F0C950
RGBrgb(240, 201, 80)
HSLhsl(45, 84%, 63%)
HSVhsv(45, 67%, 94%)
CMYKcmyk(0%, 16.3%, 66.7%, 5.9%)
CIE-LABlab(82.31, 0.99, 63.38)
CIE-LCHlch(82.31, 63.39, 89.10°)
OKLaboklab(84.8% -0.0025 0.1431)
OKLCHoklch(84.8% 0.143 91)
XYZxyz(58.2728, 60.8811, 16.2698)
Luminance0.6088 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0C950 #5077F0
analogous
#F07950 #F0C950 #C7F050
triadic
#F0C950 #50F0C9 #C950F0
tetradic
#F0C950 #50F079 #5077F0 #F050C7
square
#F0C950 #50F079 #5077F0 #F050C7
split-complementary
#F0C950 #50C7F0 #7950F0
monochromatic
#B68D10 #EBB818 #F0C950 #F5DA88 #FAECC1

Accessibility & contrast

On white

1.59
#F0C950 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.18
#F0C950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0C950
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0C950#FFFFFF#000000##000000
##F0C9501.001.5913.1813.18
#FFFFFF1.591.0021.0021.00
#00000013.1821.001.001.00
##00000013.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC641
Deuteranopia (green-blind)
#E8D156
Tritanopia (blue-blind)
#FFB9B0
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #f0c950;
/* rgb */ color: rgb(240, 201, 80);
/* oklch */ color: oklch(84.8% 0.143 91.0);
Tailwind
colors: {
  custom: {
    50: '#f9d987',
    500: '#f0c950',
    950: '#000000',
  },
}
SCSS
$custom: #f0c950;
$custom-light: #f9d987;
$custom-dark: #000000;
JSON
{
  "hex": "#f0c950",
  "rgb": {
    "r": 240,
    "g": 201,
    "b": 80
  },
  "hsl": {
    "h": 45.375,
    "s": 84.211,
    "l": 62.745
  },
  "oklch": {
    "l": 0.84799,
    "c": 0.14309,
    "h": 91
  },
  "luminance": 0.60878
}

Semantic roles & 50–950 ramp

primary
#F0C950
secondary
#2F50B5
accent
#3AE105
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#18140C
muted
#86837F

Preview Lab

Preview with #F0C950

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

Preview Lab → · Contrast checker → · Palette generator →

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