#F0DF70#F0DF70

#F0DF70 is a very light, vivid yellow. Relative luminance 0.725; OKLCH L 89.5% C 0.133 H 100.7°. Best body text is #000000 at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#F0DF70
RGBrgb(240, 223, 112)
HSLhsl(52, 81%, 69%)
HSVhsv(52, 53%, 94%)
CMYKcmyk(0%, 7.1%, 53.3%, 5.9%)
CIE-LABlab(88.20, -8.04, 55.76)
CIE-LCHlch(88.20, 56.34, 98.20°)
OKLaboklab(89.55% -0.0248 0.1309)
OKLCHoklch(89.55% 0.133 100.7)
XYZxyz(65.2496, 72.4729, 25.8777)
Luminance0.7247 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DF70 #7081F0
analogous
#F09F70 #F0DF70 #C1F070
triadic
#F0DF70 #70F0DF #DF70F0
tetradic
#F0DF70 #70F09F #7081F0 #F070C1
square
#F0DF70 #70F09F #7081F0 #F070C1
split-complementary
#F0DF70 #70C1F0 #9F70F0
monochromatic
#D0B716 #EAD339 #F0DF70 #F6EBA7 #FCF8DF

Accessibility & contrast

On white

1.36
#F0DF70 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.49
#F0DF70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DF70
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DF70#FFFFFF#000000##000000
##F0DF701.001.3615.4915.49
#FFFFFF1.361.0021.0021.00
#00000015.4921.001.001.00
##00000015.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D966
Deuteranopia (green-blind)
#F6E075
Tritanopia (blue-blind)
#FFD2C6
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f0df70;
/* rgb */ color: rgb(240, 223, 112);
/* oklch */ color: oklch(89.5% 0.133 100.7);
Tailwind
colors: {
  custom: {
    50: '#f7e89c',
    500: '#f0df70',
    950: '#000000',
  },
}
SCSS
$custom: #f0df70;
$custom-light: #f7e89c;
$custom-dark: #000000;
JSON
{
  "hex": "#f0df70",
  "rgb": {
    "r": 240,
    "g": 223,
    "b": 112
  },
  "hsl": {
    "h": 52.031,
    "s": 81.013,
    "l": 69.02
  },
  "oklch": {
    "l": 0.89548,
    "c": 0.1332,
    "h": 100.7
  },
  "luminance": 0.7247
}

Semantic roles & 50–950 ramp

primary
#F0DF70
secondary
#3B4EC9
accent
#24DD08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F0DF70

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

Preview Lab → · Contrast checker → · Palette generator →

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