#F0D266#F0D266

#F0D266 is a very light, vivid yellow. Relative luminance 0.656; OKLCH L 86.8% C 0.132 H 94.0°. Best body text is #000000 at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#F0D266
RGBrgb(240, 210, 102)
HSLhsl(47, 82%, 67%)
HSVhsv(47, 58%, 94%)
CMYKcmyk(0%, 12.5%, 57.5%, 5.9%)
CIE-LABlab(84.78, -2.22, 56.42)
CIE-LCHlch(84.78, 56.46, 92.25°)
OKLaboklab(86.81% -0.0091 0.1312)
OKLCHoklch(86.81% 0.132 94)
XYZxyz(61.3826, 65.5807, 21.9929)
Luminance0.6558 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D266 #6684F0
analogous
#F08D66 #F0D266 #C9F066
triadic
#F0D266 #66F0D2 #D266F0
tetradic
#F0D266 #66F08D #6684F0 #F066C9
square
#F0D266 #66F08D #6684F0 #F066C9
split-complementary
#F0D266 #66C9F0 #8D66F0
monochromatic
#C8A114 #EBC22E #F0D266 #F5E29E #FBF3D5

Accessibility & contrast

On white

1.49
#F0D266 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.12
#F0D266 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D266
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D266#FFFFFF#000000##000000
##F0D2661.001.4914.1214.12
#FFFFFF1.491.0021.0021.00
#00000014.1221.001.001.00
##00000014.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0d266;
/* rgb */ color: rgb(240, 210, 102);
/* oklch */ color: oklch(86.8% 0.132 94.0);
Tailwind
colors: {
  custom: {
    50: '#f8df95',
    500: '#f0d266',
    950: '#000000',
  },
}
SCSS
$custom: #f0d266;
$custom-light: #f8df95;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d266",
  "rgb": {
    "r": 240,
    "g": 210,
    "b": 102
  },
  "hsl": {
    "h": 46.957,
    "s": 82.143,
    "l": 67.059
  },
  "oklch": {
    "l": 0.86812,
    "c": 0.13154,
    "h": 94
  },
  "luminance": 0.65578
}

Semantic roles & 50–950 ramp

primary
#F0D266
secondary
#3554C5
accent
#36DF07
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0D266

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

Preview Lab → · Contrast checker → · Palette generator →

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