#F0DC70#F0DC70

#F0DC70 is a very light, vivid yellow. Relative luminance 0.709; OKLCH L 88.9% C 0.131 H 99.0°. Best body text is #000000 at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#F0DC70
RGBrgb(240, 220, 112)
HSLhsl(51, 81%, 69%)
HSVhsv(51, 53%, 94%)
CMYKcmyk(0%, 8.3%, 53.3%, 5.9%)
CIE-LABlab(87.43, -6.53, 54.86)
CIE-LCHlch(87.43, 55.25, 96.79°)
OKLaboklab(88.94% -0.0204 0.1289)
OKLCHoklch(88.94% 0.131 99)
XYZxyz(64.4552, 70.8840, 25.6129)
Luminance0.7088 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DC70 #7084F0
analogous
#F09C70 #F0DC70 #C4F070
triadic
#F0DC70 #70F0DC #DC70F0
tetradic
#F0DC70 #70F09C #7084F0 #F070C4
square
#F0DC70 #70F09C #7084F0 #F070C4
split-complementary
#F0DC70 #70C4F0 #9C70F0
monochromatic
#D0B316 #EACE39 #F0DC70 #F6EAA7 #FCF7DF

Accessibility & contrast

On white

1.38
#F0DC70 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.18
#F0DC70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DC70
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DC70#FFFFFF#000000##000000
##F0DC701.001.3815.1815.18
#FFFFFF1.381.0021.0021.00
#00000015.1821.001.001.00
##00000015.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED766
Deuteranopia (green-blind)
#F3DE75
Tritanopia (blue-blind)
#FFCFC3
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f0dc70;
/* rgb */ color: rgb(240, 220, 112);
/* oklch */ color: oklch(88.9% 0.131 99.0);
Tailwind
colors: {
  custom: {
    50: '#f7e69c',
    500: '#f0dc70',
    950: '#000000',
  },
}
SCSS
$custom: #f0dc70;
$custom-light: #f7e69c;
$custom-dark: #000000;
JSON
{
  "hex": "#f0dc70",
  "rgb": {
    "r": 240,
    "g": 220,
    "b": 112
  },
  "hsl": {
    "h": 50.625,
    "s": 81.013,
    "l": 69.02
  },
  "oklch": {
    "l": 0.8894,
    "c": 0.13053,
    "h": 99
  },
  "luminance": 0.70882
}

Semantic roles & 50–950 ramp

primary
#F0DC70
secondary
#3B51C9
accent
#29DD08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F0DC70

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

Preview Lab → · Contrast checker → · Palette generator →

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