#F0DA70#F0DA70

#F0DA70 is a very light, vivid yellow. Relative luminance 0.698; OKLCH L 88.5% C 0.129 H 97.8°. Best body text is #000000 at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#F0DA70
RGBrgb(240, 218, 112)
HSLhsl(50, 81%, 69%)
HSVhsv(50, 53%, 94%)
CMYKcmyk(0%, 9.2%, 53.3%, 5.9%)
CIE-LABlab(86.92, -5.52, 54.26)
CIE-LCHlch(86.92, 54.55, 95.81°)
OKLaboklab(88.54% -0.0175 0.1276)
OKLCHoklch(88.54% 0.129 97.8)
XYZxyz(63.9334, 69.8405, 25.4390)
Luminance0.6984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DA70 #7086F0
analogous
#F09A70 #F0DA70 #C6F070
triadic
#F0DA70 #70F0DA #DA70F0
tetradic
#F0DA70 #70F09A #7086F0 #F070C6
square
#F0DA70 #70F09A #7086F0 #F070C6
split-complementary
#F0DA70 #70C6F0 #9A70F0
monochromatic
#D0B016 #EACC39 #F0DA70 #F6E8A7 #FCF7DF

Accessibility & contrast

On white

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

On black

14.97
#F0DA70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DA70
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DA70#FFFFFF#000000##000000
##F0DA701.001.4014.9714.97
#FFFFFF1.401.0021.0021.00
#00000014.9721.001.001.00
##00000014.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD566
Deuteranopia (green-blind)
#F2DD75
Tritanopia (blue-blind)
#FFCDC2
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f0da70;
/* rgb */ color: rgb(240, 218, 112);
/* oklch */ color: oklch(88.5% 0.129 97.8);
Tailwind
colors: {
  custom: {
    50: '#f7e59c',
    500: '#f0da70',
    950: '#000000',
  },
}
SCSS
$custom: #f0da70;
$custom-light: #f7e59c;
$custom-dark: #000000;
JSON
{
  "hex": "#f0da70",
  "rgb": {
    "r": 240,
    "g": 218,
    "b": 112
  },
  "hsl": {
    "h": 49.688,
    "s": 81.013,
    "l": 69.02
  },
  "oklch": {
    "l": 0.88536,
    "c": 0.12882,
    "h": 97.8
  },
  "luminance": 0.69838
}

Semantic roles & 50–950 ramp

primary
#F0DA70
secondary
#3B54C9
accent
#2DDD08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F0DA70

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

Preview Lab → · Contrast checker → · Palette generator →

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