#F0D566#F0D566

#F0D566 is a very light, vivid yellow. Relative luminance 0.671; OKLCH L 87.4% C 0.134 H 95.8°. Best body text is #000000 at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#F0D566
RGBrgb(240, 213, 102)
HSLhsl(48, 82%, 67%)
HSVhsv(48, 58%, 94%)
CMYKcmyk(0%, 11.2%, 57.5%, 5.9%)
CIE-LABlab(85.54, -3.75, 57.28)
CIE-LCHlch(85.54, 57.41, 93.74°)
OKLaboklab(87.41% -0.0135 0.1331)
OKLCHoklch(87.41% 0.134 95.8)
XYZxyz(62.1302, 67.0759, 22.2421)
Luminance0.6707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D566 #6681F0
analogous
#F09066 #F0D566 #C6F066
triadic
#F0D566 #66F0D5 #D566F0
tetradic
#F0D566 #66F090 #6681F0 #F066C6
square
#F0D566 #66F090 #6681F0 #F066C6
split-complementary
#F0D566 #66C6F0 #9066F0
monochromatic
#C8A514 #EBC62E #F0D566 #F5E49E #FBF4D5

Accessibility & contrast

On white

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

On black

14.41
#F0D566 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D566
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D566#FFFFFF#000000##000000
##F0D5661.001.4614.4114.41
#FFFFFF1.461.0021.0021.00
#00000014.4121.001.001.00
##00000014.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D15B
Deuteranopia (green-blind)
#EFDA6B
Tritanopia (blue-blind)
#FFC7BC
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f0d566;
/* rgb */ color: rgb(240, 213, 102);
/* oklch */ color: oklch(87.4% 0.134 95.8);
Tailwind
colors: {
  custom: {
    50: '#f8e195',
    500: '#f0d566',
    950: '#000000',
  },
}
SCSS
$custom: #f0d566;
$custom-light: #f8e195;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d566",
  "rgb": {
    "r": 240,
    "g": 213,
    "b": 102
  },
  "hsl": {
    "h": 48.261,
    "s": 82.143,
    "l": 67.059
  },
  "oklch": {
    "l": 0.87413,
    "c": 0.13378,
    "h": 95.8
  },
  "luminance": 0.67073
}

Semantic roles & 50–950 ramp

primary
#F0D566
secondary
#3551C5
accent
#31DF07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0D566

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

Preview Lab → · Contrast checker → · Palette generator →

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