#F0DB78#F0DB78

#F0DB78 is a very light, vivid yellow. Relative luminance 0.705; OKLCH L 88.8% C 0.122 H 97.6°. Best body text is #000000 at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#F0DB78
RGBrgb(240, 219, 120)
HSLhsl(50, 80%, 71%)
HSVhsv(50, 50%, 94%)
CMYKcmyk(0%, 8.8%, 50%, 5.9%)
CIE-LABlab(87.26, -5.36, 50.89)
CIE-LCHlch(87.26, 51.18, 96.01°)
OKLaboklab(88.84% -0.0162 0.121)
OKLCHoklch(88.84% 0.122 97.6)
XYZxyz(64.6589, 70.5469, 27.9767)
Luminance0.7054 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DB78 #788DF0
analogous
#F09F78 #F0DB78 #C9F078
triadic
#F0DB78 #78F0DB #DB78F0
tetradic
#F0DB78 #78F09F #788DF0 #F078C9
square
#F0DB78 #78F09F #788DF0 #F078C9
split-complementary
#F0DB78 #78C9F0 #9F78F0
monochromatic
#D6B518 #EACC41 #F0DB78 #F6EAAF #FCF8E3

Accessibility & contrast

On white

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

On black

15.11
#F0DB78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DB78
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DB78#FFFFFF#000000##000000
##F0DB781.001.3915.1115.11
#FFFFFF1.391.0021.0021.00
#00000015.1121.001.001.00
##00000015.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD66F
Deuteranopia (green-blind)
#F2DE7C
Tritanopia (blue-blind)
#FFCEC4
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f0db78;
/* rgb */ color: rgb(240, 219, 120);
/* oklch */ color: oklch(88.8% 0.122 97.6);
Tailwind
colors: {
  custom: {
    50: '#f7e5a1',
    500: '#f0db78',
    950: '#000000',
  },
}
SCSS
$custom: #f0db78;
$custom-light: #f7e5a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f0db78",
  "rgb": {
    "r": 240,
    "g": 219,
    "b": 120
  },
  "hsl": {
    "h": 49.5,
    "s": 80,
    "l": 70.588
  },
  "oklch": {
    "l": 0.88839,
    "c": 0.12204,
    "h": 97.6
  },
  "luminance": 0.70544
}

Semantic roles & 50–950 ramp

primary
#F0DB78
secondary
#425ACA
accent
#2EDC09
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #F0DB78

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

Preview Lab → · Contrast checker → · Palette generator →

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