#F0DF55#F0DF55

#F0DF55 is a very light, vivid yellow. Relative luminance 0.720; OKLCH L 89.3% C 0.156 H 102.3°. Best body text is #000000 at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#F0DF55
RGBrgb(240, 223, 85)
HSLhsl(53, 84%, 64%)
HSVhsv(53, 65%, 94%)
CMYKcmyk(0%, 7.1%, 64.6%, 5.9%)
CIE-LABlab(87.95, -9.89, 67.24)
CIE-LCHlch(87.95, 67.96, 98.37°)
OKLaboklab(89.27% -0.033 0.152)
OKLCHoklch(89.27% 0.156 102.3)
XYZxyz(63.9651, 71.9591, 19.1127)
Luminance0.7196 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DF55 #5566F0
analogous
#F09155 #F0DF55 #B3F055
triadic
#F0DF55 #55F0DF #DF55F0
tetradic
#F0DF55 #55F091 #5566F0 #F055B3
square
#F0DF55 #55F091 #5566F0 #F055B3
split-complementary
#F0DF55 #55B3F0 #9155F0
monochromatic
#BAA810 #EBD41D #F0DF55 #F5EA8D #FAF4C5

Accessibility & contrast

On white

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

On black

15.39
#F0DF55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DF55
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DF55#FFFFFF#000000##000000
##F0DF551.001.3615.3915.39
#FFFFFF1.361.0021.0021.00
#00000015.3921.001.001.00
##00000015.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D843
Deuteranopia (green-blind)
#F8E05D
Tritanopia (blue-blind)
#FFD0C2
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f0df55;
/* rgb */ color: rgb(240, 223, 85);
/* oklch */ color: oklch(89.3% 0.156 102.3);
Tailwind
colors: {
  custom: {
    50: '#f8e88b',
    500: '#f0df55',
    950: '#000000',
  },
}
SCSS
$custom: #f0df55;
$custom-light: #f8e88b;
$custom-dark: #000000;
JSON
{
  "hex": "#f0df55",
  "rgb": {
    "r": 240,
    "g": 223,
    "b": 85
  },
  "hsl": {
    "h": 53.419,
    "s": 83.784,
    "l": 63.725
  },
  "oklch": {
    "l": 0.89272,
    "c": 0.15556,
    "h": 102.3
  },
  "luminance": 0.71956
}

Semantic roles & 50–950 ramp

primary
#F0DF55
secondary
#303FB9
accent
#1DE005
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160C
muted
#86847F

Preview Lab

Preview with #F0DF55

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

Preview Lab → · Contrast checker → · Palette generator →

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