#F0DB60#F0DB60

#F0DB60 is a very light, vivid yellow. Relative luminance 0.700; OKLCH L 88.6% C 0.144 H 99.7°. Best body text is #000000 at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#F0DB60
RGBrgb(240, 219, 96)
HSLhsl(51, 83%, 66%)
HSVhsv(51, 60%, 94%)
CMYKcmyk(0%, 8.8%, 60%, 5.9%)
CIE-LABlab(87.01, -7.20, 61.61)
CIE-LCHlch(87.01, 62.03, 96.67°)
OKLaboklab(88.56% -0.0241 0.1416)
OKLCHoklch(88.56% 0.144 99.7)
XYZxyz(63.3805, 70.0355, 21.2437)
Luminance0.7003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DB60 #6075F0
analogous
#F09360 #F0DB60 #BDF060
triadic
#F0DB60 #60F0DB #DB60F0
tetradic
#F0DB60 #60F093 #6075F0 #F060BD
square
#F0DB60 #60F093 #6075F0 #F060BD
split-complementary
#F0DB60 #60BDF0 #9360F0
monochromatic
#C3A912 #EBCE28 #F0DB60 #F5E898 #FBF4D0

Accessibility & contrast

On white

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

On black

15.01
#F0DB60 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DB60
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DB60#FFFFFF#000000##000000
##F0DB601.001.4015.0115.01
#FFFFFF1.401.0021.0021.00
#00000015.0121.001.001.00
##00000015.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED553
Deuteranopia (green-blind)
#F4DD66
Tritanopia (blue-blind)
#FFCDC0
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f0db60;
/* rgb */ color: rgb(240, 219, 96);
/* oklch */ color: oklch(88.6% 0.144 99.7);
Tailwind
colors: {
  custom: {
    50: '#f8e592',
    500: '#f0db60',
    950: '#000000',
  },
}
SCSS
$custom: #f0db60;
$custom-light: #f8e592;
$custom-dark: #000000;
JSON
{
  "hex": "#f0db60",
  "rgb": {
    "r": 240,
    "g": 219,
    "b": 96
  },
  "hsl": {
    "h": 51.25,
    "s": 82.759,
    "l": 65.882
  },
  "oklch": {
    "l": 0.8856,
    "c": 0.14366,
    "h": 99.7
  },
  "luminance": 0.70033
}

Semantic roles & 50–950 ramp

primary
#F0DB60
secondary
#3348C1
accent
#26DF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0DB60

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

Preview Lab → · Contrast checker → · Palette generator →

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