#F0D661#F0D661

#F0D661 is a very light, vivid yellow. Relative luminance 0.675; OKLCH L 87.6% C 0.139 H 96.9°. Best body text is #000000 at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#F0D661
RGBrgb(240, 214, 97)
HSLhsl(49, 83%, 66%)
HSVhsv(49, 60%, 94%)
CMYKcmyk(0%, 10.8%, 59.6%, 5.9%)
CIE-LABlab(85.75, -4.61, 59.76)
CIE-LCHlch(85.75, 59.94, 94.41°)
OKLaboklab(87.56% -0.0166 0.1378)
OKLCHoklch(87.56% 0.139 96.9)
XYZxyz(62.1420, 67.4843, 21.0595)
Luminance0.6748 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D661 #617BF0
analogous
#F08E61 #F0D661 #C2F061
triadic
#F0D661 #61F0D6 #D661F0
tetradic
#F0D661 #61F08E #617BF0 #F061C2
square
#F0D661 #61F08E #617BF0 #F061C2
split-complementary
#F0D661 #61C2F0 #8E61F0
monochromatic
#C4A413 #EBC729 #F0D661 #F5E599 #FBF3D1

Accessibility & contrast

On white

1.45
#F0D661 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.50
#F0D661 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D661
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D661#FFFFFF#000000##000000
##F0D6611.001.4514.5014.50
#FFFFFF1.451.0021.0021.00
#00000014.5021.001.001.00
##00000014.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D155
Deuteranopia (green-blind)
#F0DA67
Tritanopia (blue-blind)
#FFC8BC
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f0d661;
/* rgb */ color: rgb(240, 214, 97);
/* oklch */ color: oklch(87.6% 0.139 96.9);
Tailwind
colors: {
  custom: {
    50: '#f8e292',
    500: '#f0d661',
    950: '#000000',
  },
}
SCSS
$custom: #f0d661;
$custom-light: #f8e292;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d661",
  "rgb": {
    "r": 240,
    "g": 214,
    "b": 97
  },
  "hsl": {
    "h": 49.091,
    "s": 82.659,
    "l": 66.078
  },
  "oklch": {
    "l": 0.8756,
    "c": 0.1388,
    "h": 96.9
  },
  "luminance": 0.67481
}

Semantic roles & 50–950 ramp

primary
#F0D661
secondary
#344DC2
accent
#2EDF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0D661

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

Preview Lab → · Contrast checker → · Palette generator →

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