#F0D261#F0D261

#F0D261 is a very light, vivid yellow. Relative luminance 0.655; OKLCH L 86.8% C 0.136 H 94.5°. Best body text is #000000 at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#F0D261
RGBrgb(240, 210, 97)
HSLhsl(47, 83%, 66%)
HSVhsv(47, 60%, 94%)
CMYKcmyk(0%, 12.5%, 59.6%, 5.9%)
CIE-LABlab(84.73, -2.57, 58.63)
CIE-LCHlch(84.73, 58.68, 92.51°)
OKLaboklab(86.76% -0.0107 0.1354)
OKLCHoklch(86.76% 0.136 94.5)
XYZxyz(61.1421, 65.4845, 20.7262)
Luminance0.6548 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D261 #617FF0
analogous
#F08A61 #F0D261 #C6F061
triadic
#F0D261 #61F0D2 #D261F0
tetradic
#F0D261 #61F08A #617FF0 #F061C6
square
#F0D261 #61F08A #617FF0 #F061C6
split-complementary
#F0D261 #61C6F0 #8A61F0
monochromatic
#C49F13 #EBC229 #F0D261 #F5E299 #FBF2D1

Accessibility & contrast

On white

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

On black

14.10
#F0D261 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D261
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D261#FFFFFF#000000##000000
##F0D2611.001.4914.1014.10
#FFFFFF1.491.0021.0021.00
#00000014.1021.001.001.00
##00000014.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CE55
Deuteranopia (green-blind)
#EDD866
Tritanopia (blue-blind)
#FFC4B9
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #f0d261;
/* rgb */ color: rgb(240, 210, 97);
/* oklch */ color: oklch(86.8% 0.136 94.5);
Tailwind
colors: {
  custom: {
    50: '#f8df92',
    500: '#f0d261',
    950: '#000000',
  },
}
SCSS
$custom: #f0d261;
$custom-light: #f8df92;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d261",
  "rgb": {
    "r": 240,
    "g": 210,
    "b": 97
  },
  "hsl": {
    "h": 47.413,
    "s": 82.659,
    "l": 66.078
  },
  "oklch": {
    "l": 0.86757,
    "c": 0.13579,
    "h": 94.5
  },
  "luminance": 0.65482
}

Semantic roles & 50–950 ramp

primary
#F0D261
secondary
#3451C2
accent
#34DF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0D261

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

Preview Lab → · Contrast checker → · Palette generator →

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