#F0D060#F0D060

#F0D060 is a very light, vivid yellow. Relative luminance 0.645; OKLCH L 86.3% C 0.135 H 93.4°. Best body text is #000000 at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#F0D060
RGBrgb(240, 208, 96)
HSLhsl(47, 83%, 66%)
HSVhsv(47, 60%, 94%)
CMYKcmyk(0%, 13.3%, 60%, 5.9%)
CIE-LABlab(84.22, -1.62, 58.50)
CIE-LCHlch(84.22, 58.52, 91.58°)
OKLaboklab(86.35% -0.0081 0.135)
OKLCHoklch(86.35% 0.135 93.4)
XYZxyz(60.6051, 64.4846, 20.3186)
Luminance0.6448 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D060 #6080F0
analogous
#F08860 #F0D060 #C8F060
triadic
#F0D060 #60F0D0 #D060F0
tetradic
#F0D060 #60F088 #6080F0 #F060C8
square
#F0D060 #60F088 #6080F0 #F060C8
split-complementary
#F0D060 #60C8F0 #8860F0
monochromatic
#C39C12 #EBBF28 #F0D060 #F5E198 #FBF1D0

Accessibility & contrast

On white

1.51
#F0D060 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.90
#F0D060 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D060
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D060#FFFFFF#000000##000000
##F0D0601.001.5113.9013.90
#FFFFFF1.511.0021.0021.00
#00000013.9021.001.001.00
##00000013.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CD54
Deuteranopia (green-blind)
#ECD665
Tritanopia (blue-blind)
#FFC1B7
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #f0d060;
/* rgb */ color: rgb(240, 208, 96);
/* oklch */ color: oklch(86.3% 0.135 93.4);
Tailwind
colors: {
  custom: {
    50: '#f8de91',
    500: '#f0d060',
    950: '#000000',
  },
}
SCSS
$custom: #f0d060;
$custom-light: #f8de91;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d060",
  "rgb": {
    "r": 240,
    "g": 208,
    "b": 96
  },
  "hsl": {
    "h": 46.667,
    "s": 82.759,
    "l": 65.882
  },
  "oklch": {
    "l": 0.86346,
    "c": 0.13521,
    "h": 93.4
  },
  "luminance": 0.64482
}

Semantic roles & 50–950 ramp

primary
#F0D060
secondary
#3353C1
accent
#37DF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0D060

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

Preview Lab → · Contrast checker → · Palette generator →

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