#F0D46D#F0D46D

#F0D46D is a very light, vivid yellow. Relative luminance 0.667; OKLCH L 87.3% C 0.127 H 94.4°. Best body text is #000000 at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#F0D46D
RGBrgb(240, 212, 109)
HSLhsl(47, 81%, 68%)
HSVhsv(47, 55%, 94%)
CMYKcmyk(0%, 11.7%, 54.6%, 5.9%)
CIE-LABlab(85.36, -2.71, 53.84)
CIE-LCHlch(85.36, 53.91, 92.88°)
OKLaboklab(87.29% -0.0097 0.1264)
OKLCHoklch(87.29% 0.127 94.4)
XYZxyz(62.2414, 66.7192, 24.0646)
Luminance0.6672 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D46D #6D89F0
analogous
#F0926D #F0D46D #CAF06D
triadic
#F0D46D #6DF0D4 #D46DF0
tetradic
#F0D46D #6DF092 #6D89F0 #F06DCA
square
#F0D46D #6DF092 #6D89F0 #F06DCA
split-complementary
#F0D46D #6DCAF0 #926DF0
monochromatic
#CDA615 #EAC436 #F0D46D #F6E4A4 #FBF5DC

Accessibility & contrast

On white

1.46
#F0D46D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.34
#F0D46D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D46D
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D46D#FFFFFF#000000##000000
##F0D46D1.001.4614.3414.34
#FFFFFF1.461.0021.0021.00
#00000014.3421.001.001.00
##00000014.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D063
Deuteranopia (green-blind)
#EED971
Tritanopia (blue-blind)
#FFC6BC
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f0d46d;
/* rgb */ color: rgb(240, 212, 109);
/* oklch */ color: oklch(87.3% 0.127 94.4);
Tailwind
colors: {
  custom: {
    50: '#f8e199',
    500: '#f0d46d',
    950: '#000000',
  },
}
SCSS
$custom: #f0d46d;
$custom-light: #f8e199;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d46d",
  "rgb": {
    "r": 240,
    "g": 212,
    "b": 109
  },
  "hsl": {
    "h": 47.176,
    "s": 81.366,
    "l": 68.431
  },
  "oklch": {
    "l": 0.87294,
    "c": 0.12678,
    "h": 94.4
  },
  "luminance": 0.66716
}

Semantic roles & 50–950 ramp

primary
#F0D46D
secondary
#3957C9
accent
#35DE08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F0D46D

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

Preview Lab → · Contrast checker → · Palette generator →

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