#F0DC64#F0DC64

#F0DC64 is a very light, vivid yellow. Relative luminance 0.706; OKLCH L 88.8% C 0.141 H 99.9°. Best body text is #000000 at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#F0DC64
RGBrgb(240, 220, 100)
HSLhsl(51, 82%, 67%)
HSVhsv(51, 58%, 94%)
CMYKcmyk(0%, 8.3%, 58.3%, 5.9%)
CIE-LABlab(87.31, -7.43, 60.18)
CIE-LCHlch(87.31, 60.64, 97.04°)
OKLaboklab(88.8% -0.0243 0.1391)
OKLCHoklch(88.8% 0.141 99.9)
XYZxyz(63.8310, 70.6344, 22.3256)
Luminance0.7063 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DC64 #6478F0
analogous
#F09664 #F0DC64 #BEF064
triadic
#F0DC64 #64F0DC #DC64F0
tetradic
#F0DC64 #64F096 #6478F0 #F064BE
square
#F0DC64 #64F096 #6478F0 #F064BE
split-complementary
#F0DC64 #64BEF0 #9664F0
monochromatic
#C6AD13 #EBCF2C #F0DC64 #F5E99C #FBF5D4

Accessibility & contrast

On white

1.39
#F0DC64 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.13
#F0DC64 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DC64
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DC64#FFFFFF#000000##000000
##F0DC641.001.3915.1315.13
#FFFFFF1.391.0021.0021.00
#00000015.1321.001.001.00
##00000015.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD657
Deuteranopia (green-blind)
#F4DE6A
Tritanopia (blue-blind)
#FFCEC2
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f0dc64;
/* rgb */ color: rgb(240, 220, 100);
/* oklch */ color: oklch(88.8% 0.141 99.9);
Tailwind
colors: {
  custom: {
    50: '#f8e694',
    500: '#f0dc64',
    950: '#000000',
  },
}
SCSS
$custom: #f0dc64;
$custom-light: #f8e694;
$custom-dark: #000000;
JSON
{
  "hex": "#f0dc64",
  "rgb": {
    "r": 240,
    "g": 220,
    "b": 100
  },
  "hsl": {
    "h": 51.429,
    "s": 82.353,
    "l": 66.667
  },
  "oklch": {
    "l": 0.88804,
    "c": 0.14118,
    "h": 99.9
  },
  "luminance": 0.70632
}

Semantic roles & 50–950 ramp

primary
#F0DC64
secondary
#3549C4
accent
#26DF07
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0DC64

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

Preview Lab → · Contrast checker → · Palette generator →

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