#F0DB64#F0DB64

#F0DB64 is a very light, vivid yellow. Relative luminance 0.701; OKLCH L 88.6% C 0.140 H 99.4°. Best body text is #000000 at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#F0DB64
RGBrgb(240, 219, 100)
HSLhsl(51, 82%, 67%)
HSVhsv(51, 58%, 94%)
CMYKcmyk(0%, 8.8%, 58.3%, 5.9%)
CIE-LABlab(87.05, -6.93, 59.89)
CIE-LCHlch(87.05, 60.29, 96.60°)
OKLaboklab(88.6% -0.0229 0.1385)
OKLCHoklch(88.6% 0.14 99.4)
XYZxyz(63.5694, 70.1110, 22.2384)
Luminance0.7011 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DB64 #6479F0
analogous
#F09564 #F0DB64 #BFF064
triadic
#F0DB64 #64F0DB #DB64F0
tetradic
#F0DB64 #64F095 #6479F0 #F064BF
square
#F0DB64 #64F095 #6479F0 #F064BF
split-complementary
#F0DB64 #64BFF0 #9564F0
monochromatic
#C6AC13 #EBCE2C #F0DB64 #F5E89C #FBF5D4

Accessibility & contrast

On white

1.40
#F0DB64 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.02
#F0DB64 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DB64
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DB64#FFFFFF#000000##000000
##F0DB641.001.4015.0215.02
#FFFFFF1.401.0021.0021.00
#00000015.0221.001.001.00
##00000015.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED658
Deuteranopia (green-blind)
#F4DD6A
Tritanopia (blue-blind)
#FFCDC1
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f0db64;
/* rgb */ color: rgb(240, 219, 100);
/* oklch */ color: oklch(88.6% 0.140 99.4);
Tailwind
colors: {
  custom: {
    50: '#f8e594',
    500: '#f0db64',
    950: '#000000',
  },
}
SCSS
$custom: #f0db64;
$custom-light: #f8e594;
$custom-dark: #000000;
JSON
{
  "hex": "#f0db64",
  "rgb": {
    "r": 240,
    "g": 219,
    "b": 100
  },
  "hsl": {
    "h": 51,
    "s": 82.353,
    "l": 66.667
  },
  "oklch": {
    "l": 0.88601,
    "c": 0.14033,
    "h": 99.4
  },
  "luminance": 0.70108
}

Semantic roles & 50–950 ramp

primary
#F0DB64
secondary
#354AC4
accent
#27DF07
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0DB64

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

Preview Lab → · Contrast checker → · Palette generator →

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