#F0C850#F0C850

#F0C850 is a very light, vivid yellow. Relative luminance 0.604; OKLCH L 84.6% C 0.143 H 90.4°. Best body text is #000000 at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#F0C850
RGBrgb(240, 200, 80)
HSLhsl(45, 84%, 63%)
HSVhsv(45, 67%, 94%)
CMYKcmyk(0%, 16.7%, 66.7%, 5.9%)
CIE-LABlab(82.06, 1.51, 63.11)
CIE-LCHlch(82.06, 63.13, 88.63°)
OKLaboklab(84.6% -0.001 0.1425)
OKLCHoklch(84.6% 0.143 90.4)
XYZxyz(58.0405, 60.4164, 16.1923)
Luminance0.6041 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0C850 #5078F0
analogous
#F07850 #F0C850 #C8F050
triadic
#F0C850 #50F0C8 #C850F0
tetradic
#F0C850 #50F078 #5078F0 #F050C8
square
#F0C850 #50F078 #5078F0 #F050C8
split-complementary
#F0C850 #50C8F0 #7850F0
monochromatic
#B68C10 #EBB618 #F0C850 #F5DA88 #FAEBC1

Accessibility & contrast

On white

1.61
#F0C850 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.08
#F0C850 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0C850
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0C850#FFFFFF#000000##000000
##F0C8501.001.6113.0813.08
#FFFFFF1.611.0021.0021.00
#00000013.0821.001.001.00
##00000013.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC641
Deuteranopia (green-blind)
#E7D156
Tritanopia (blue-blind)
#FFB8AF
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #f0c850;
/* rgb */ color: rgb(240, 200, 80);
/* oklch */ color: oklch(84.6% 0.143 90.4);
Tailwind
colors: {
  custom: {
    50: '#f9d887',
    500: '#f0c850',
    950: '#000000',
  },
}
SCSS
$custom: #f0c850;
$custom-light: #f9d887;
$custom-dark: #000000;
JSON
{
  "hex": "#f0c850",
  "rgb": {
    "r": 240,
    "g": 200,
    "b": 80
  },
  "hsl": {
    "h": 45,
    "s": 84.211,
    "l": 62.745
  },
  "oklch": {
    "l": 0.84602,
    "c": 0.14251,
    "h": 90.4
  },
  "luminance": 0.60413
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F0C850

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

Preview Lab → · Contrast checker → · Palette generator →

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