#F0DD70#F0DD70

#F0DD70 is a very light, vivid yellow. Relative luminance 0.714; OKLCH L 89.1% C 0.131 H 99.6°. Best body text is #000000 at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#F0DD70
RGBrgb(240, 221, 112)
HSLhsl(51, 81%, 69%)
HSVhsv(51, 53%, 94%)
CMYKcmyk(0%, 7.9%, 53.3%, 5.9%)
CIE-LABlab(87.68, -7.04, 55.16)
CIE-LCHlch(87.68, 55.61, 97.27°)
OKLaboklab(89.14% -0.0219 0.1296)
OKLCHoklch(89.14% 0.131 99.6)
XYZxyz(64.7184, 71.4105, 25.7006)
Luminance0.7141 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DD70 #7083F0
analogous
#F09D70 #F0DD70 #C3F070
triadic
#F0DD70 #70F0DD #DD70F0
tetradic
#F0DD70 #70F09D #7083F0 #F070C3
square
#F0DD70 #70F09D #7083F0 #F070C3
split-complementary
#F0DD70 #70C3F0 #9D70F0
monochromatic
#D0B416 #EAD039 #F0DD70 #F6EAA7 #FCF7DF

Accessibility & contrast

On white

1.37
#F0DD70 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.28
#F0DD70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DD70
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DD70#FFFFFF#000000##000000
##F0DD701.001.3715.2815.28
#FFFFFF1.371.0021.0021.00
#00000015.2821.001.001.00
##00000015.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD866
Deuteranopia (green-blind)
#F4DF75
Tritanopia (blue-blind)
#FFD0C4
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f0dd70;
/* rgb */ color: rgb(240, 221, 112);
/* oklch */ color: oklch(89.1% 0.131 99.6);
Tailwind
colors: {
  custom: {
    50: '#f7e79c',
    500: '#f0dd70',
    950: '#000000',
  },
}
SCSS
$custom: #f0dd70;
$custom-light: #f7e79c;
$custom-dark: #000000;
JSON
{
  "hex": "#f0dd70",
  "rgb": {
    "r": 240,
    "g": 221,
    "b": 112
  },
  "hsl": {
    "h": 51.094,
    "s": 81.013,
    "l": 69.02
  },
  "oklch": {
    "l": 0.89142,
    "c": 0.13141,
    "h": 99.6
  },
  "luminance": 0.71408
}

Semantic roles & 50–950 ramp

primary
#F0DD70
secondary
#3B50C9
accent
#28DD08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F0DD70

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

Preview Lab → · Contrast checker → · Palette generator →

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