#F0DB70#F0DB70

#F0DB70 is a very light, vivid yellow. Relative luminance 0.704; OKLCH L 88.7% C 0.130 H 98.4°. Best body text is #000000 at 15.07:1 contrast (WCAG AA passes).

Color values

HEX#F0DB70
RGBrgb(240, 219, 112)
HSLhsl(50, 81%, 69%)
HSVhsv(50, 53%, 94%)
CMYKcmyk(0%, 8.8%, 53.3%, 5.9%)
CIE-LABlab(87.17, -6.03, 54.56)
CIE-LCHlch(87.17, 54.90, 96.30°)
OKLaboklab(88.74% -0.019 0.1283)
OKLCHoklch(88.74% 0.13 98.4)
XYZxyz(64.1935, 70.3607, 25.5257)
Luminance0.7036 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DB70 #7085F0
analogous
#F09B70 #F0DB70 #C5F070
triadic
#F0DB70 #70F0DB #DB70F0
tetradic
#F0DB70 #70F09B #7085F0 #F070C5
square
#F0DB70 #70F09B #7085F0 #F070C5
split-complementary
#F0DB70 #70C5F0 #9B70F0
monochromatic
#D0B116 #EACD39 #F0DB70 #F6E9A7 #FCF7DF

Accessibility & contrast

On white

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

On black

15.07
#F0DB70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DB70
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DB70#FFFFFF#000000##000000
##F0DB701.001.3915.0715.07
#FFFFFF1.391.0021.0021.00
#00000015.0721.001.001.00
##00000015.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD666
Deuteranopia (green-blind)
#F3DE75
Tritanopia (blue-blind)
#FFCEC3
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f0db70;
/* rgb */ color: rgb(240, 219, 112);
/* oklch */ color: oklch(88.7% 0.130 98.4);
Tailwind
colors: {
  custom: {
    50: '#f7e59c',
    500: '#f0db70',
    950: '#000000',
  },
}
SCSS
$custom: #f0db70;
$custom-light: #f7e59c;
$custom-dark: #000000;
JSON
{
  "hex": "#f0db70",
  "rgb": {
    "r": 240,
    "g": 219,
    "b": 112
  },
  "hsl": {
    "h": 50.156,
    "s": 81.013,
    "l": 69.02
  },
  "oklch": {
    "l": 0.88738,
    "c": 0.12967,
    "h": 98.4
  },
  "luminance": 0.70358
}

Semantic roles & 50–950 ramp

primary
#F0DB70
secondary
#3B53C9
accent
#2BDD08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F0DB70

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

Preview Lab → · Contrast checker → · Palette generator →

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