#F0D46A#F0D46A

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

Color values

HEX#F0D46A
RGBrgb(240, 212, 106)
HSLhsl(47, 82%, 68%)
HSVhsv(47, 56%, 94%)
CMYKcmyk(0%, 11.7%, 55.8%, 5.9%)
CIE-LABlab(85.33, -2.94, 55.20)
CIE-LCHlch(85.33, 55.28, 93.05°)
OKLaboklab(87.26% -0.0108 0.129)
OKLCHoklch(87.26% 0.129 94.8)
XYZxyz(62.0826, 66.6557, 23.2286)
Luminance0.6665 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D46A #6A86F0
analogous
#F0916A #F0D46A #C9F06A
triadic
#F0D46A #6AF0D4 #D46AF0
tetradic
#F0D46A #6AF091 #6A86F0 #F06AC9
square
#F0D46A #6AF091 #6A86F0 #F06AC9
split-complementary
#F0D46A #6AC9F0 #916AF0
monochromatic
#CBA514 #EAC432 #F0D46A #F6E4A2 #FBF4D9

Accessibility & contrast

On white

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

On black

14.33
#F0D46A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D46A
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D46A#FFFFFF#000000##000000
##F0D46A1.001.4714.3314.33
#FFFFFF1.471.0021.0021.00
#00000014.3321.001.001.00
##00000014.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0d46a;
/* rgb */ color: rgb(240, 212, 106);
/* oklch */ color: oklch(87.3% 0.129 94.8);
Tailwind
colors: {
  custom: {
    50: '#f8e097',
    500: '#f0d46a',
    950: '#000000',
  },
}
SCSS
$custom: #f0d46a;
$custom-light: #f8e097;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d46a",
  "rgb": {
    "r": 240,
    "g": 212,
    "b": 106
  },
  "hsl": {
    "h": 47.463,
    "s": 81.707,
    "l": 67.843
  },
  "oklch": {
    "l": 0.87258,
    "c": 0.12949,
    "h": 94.8
  },
  "luminance": 0.66653
}

Semantic roles & 50–950 ramp

primary
#F0D46A
secondary
#3655C8
accent
#34DE07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F0D46A

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

Preview Lab → · Contrast checker → · Palette generator →

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