#F0D366#F0D366

#F0D366 is a very light, vivid yellow. Relative luminance 0.661; OKLCH L 87.0% C 0.132 H 94.6°. Best body text is #000000 at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#F0D366
RGBrgb(240, 211, 102)
HSLhsl(47, 82%, 67%)
HSVhsv(47, 58%, 94%)
CMYKcmyk(0%, 12.1%, 57.5%, 5.9%)
CIE-LABlab(85.04, -2.73, 56.71)
CIE-LCHlch(85.04, 56.77, 92.75°)
OKLaboklab(87.01% -0.0106 0.1319)
OKLCHoklch(87.01% 0.132 94.6)
XYZxyz(61.6302, 66.0760, 22.0755)
Luminance0.6607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D366 #6683F0
analogous
#F08E66 #F0D366 #C8F066
triadic
#F0D366 #66F0D3 #D366F0
tetradic
#F0D366 #66F08E #6683F0 #F066C8
square
#F0D366 #66F08E #6683F0 #F066C8
split-complementary
#F0D366 #66C8F0 #8E66F0
monochromatic
#C8A214 #EBC32E #F0D366 #F5E39E #FBF3D5

Accessibility & contrast

On white

1.48
#F0D366 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.21
#F0D366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D366
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D366#FFFFFF#000000##000000
##F0D3661.001.4814.2114.21
#FFFFFF1.481.0021.0021.00
#00000014.2121.001.001.00
##00000014.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CF5B
Deuteranopia (green-blind)
#EDD86B
Tritanopia (blue-blind)
#FFC5BB
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #f0d366;
/* rgb */ color: rgb(240, 211, 102);
/* oklch */ color: oklch(87.0% 0.132 94.6);
Tailwind
colors: {
  custom: {
    50: '#f8e095',
    500: '#f0d366',
    950: '#000000',
  },
}
SCSS
$custom: #f0d366;
$custom-light: #f8e095;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d366",
  "rgb": {
    "r": 240,
    "g": 211,
    "b": 102
  },
  "hsl": {
    "h": 47.391,
    "s": 82.143,
    "l": 67.059
  },
  "oklch": {
    "l": 0.87012,
    "c": 0.13228,
    "h": 94.6
  },
  "luminance": 0.66073
}

Semantic roles & 50–950 ramp

primary
#F0D366
secondary
#3553C5
accent
#34DF07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0D366

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

Preview Lab → · Contrast checker → · Palette generator →

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