#F0D466#F0D466

#F0D466 is a very light, vivid yellow. Relative luminance 0.666; OKLCH L 87.2% C 0.133 H 95.2°. Best body text is #000000 at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#F0D466
RGBrgb(240, 212, 102)
HSLhsl(48, 82%, 67%)
HSVhsv(48, 58%, 94%)
CMYKcmyk(0%, 11.7%, 57.5%, 5.9%)
CIE-LABlab(85.29, -3.24, 56.99)
CIE-LCHlch(85.29, 57.09, 93.25°)
OKLaboklab(87.21% -0.0121 0.1325)
OKLCHoklch(87.21% 0.133 95.2)
XYZxyz(61.8794, 66.5744, 22.1585)
Luminance0.6657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D466 #6682F0
analogous
#F08F66 #F0D466 #C7F066
triadic
#F0D466 #66F0D4 #D466F0
tetradic
#F0D466 #66F08F #6682F0 #F066C7
square
#F0D466 #66F08F #6682F0 #F066C7
split-complementary
#F0D466 #66C7F0 #8F66F0
monochromatic
#C8A314 #EBC42E #F0D466 #F5E49E #FBF3D5

Accessibility & contrast

On white

1.47
#F0D466 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.31
#F0D466 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D466
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D466#FFFFFF#000000##000000
##F0D4661.001.4714.3114.31
#FFFFFF1.471.0021.0021.00
#00000014.3121.001.001.00
##00000014.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D05B
Deuteranopia (green-blind)
#EED96B
Tritanopia (blue-blind)
#FFC6BB
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f0d466;
/* rgb */ color: rgb(240, 212, 102);
/* oklch */ color: oklch(87.2% 0.133 95.2);
Tailwind
colors: {
  custom: {
    50: '#f8e095',
    500: '#f0d466',
    950: '#000000',
  },
}
SCSS
$custom: #f0d466;
$custom-light: #f8e095;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d466",
  "rgb": {
    "r": 240,
    "g": 212,
    "b": 102
  },
  "hsl": {
    "h": 47.826,
    "s": 82.143,
    "l": 67.059
  },
  "oklch": {
    "l": 0.87212,
    "c": 0.13302,
    "h": 95.2
  },
  "luminance": 0.66572
}

Semantic roles & 50–950 ramp

primary
#F0D466
secondary
#3552C5
accent
#33DF07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0D466

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

Preview Lab → · Contrast checker → · Palette generator →

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