#F0D260#F0D260

#F0D260 is a very light, vivid yellow. Relative luminance 0.655; OKLCH L 86.7% C 0.137 H 94.6°. Best body text is #000000 at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#F0D260
RGBrgb(240, 210, 96)
HSLhsl(48, 83%, 66%)
HSVhsv(48, 60%, 94%)
CMYKcmyk(0%, 12.5%, 60%, 5.9%)
CIE-LABlab(84.72, -2.64, 59.07)
CIE-LCHlch(84.72, 59.12, 92.56°)
OKLaboklab(86.75% -0.011 0.1362)
OKLCHoklch(86.75% 0.137 94.6)
XYZxyz(61.0957, 65.4660, 20.4821)
Luminance0.6546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D260 #607EF0
analogous
#F08A60 #F0D260 #C6F060
triadic
#F0D260 #60F0D2 #D260F0
tetradic
#F0D260 #60F08A #607EF0 #F060C6
square
#F0D260 #60F08A #607EF0 #F060C6
split-complementary
#F0D260 #60C6F0 #8A60F0
monochromatic
#C39E12 #EBC228 #F0D260 #F5E298 #FBF2D0

Accessibility & contrast

On white

1.49
#F0D260 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.09
#F0D260 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D260
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D260#FFFFFF#000000##000000
##F0D2601.001.4914.0914.09
#FFFFFF1.491.0021.0021.00
#00000014.0921.001.001.00
##00000014.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CE54
Deuteranopia (green-blind)
#EDD765
Tritanopia (blue-blind)
#FFC3B9
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #f0d260;
/* rgb */ color: rgb(240, 210, 96);
/* oklch */ color: oklch(86.7% 0.137 94.6);
Tailwind
colors: {
  custom: {
    50: '#f8df91',
    500: '#f0d260',
    950: '#000000',
  },
}
SCSS
$custom: #f0d260;
$custom-light: #f8df91;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d260",
  "rgb": {
    "r": 240,
    "g": 210,
    "b": 96
  },
  "hsl": {
    "h": 47.5,
    "s": 82.759,
    "l": 65.882
  },
  "oklch": {
    "l": 0.86746,
    "c": 0.13663,
    "h": 94.6
  },
  "luminance": 0.65463
}

Semantic roles & 50–950 ramp

primary
#F0D260
secondary
#3351C1
accent
#34DF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0D260

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

Preview Lab → · Contrast checker → · Palette generator →

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