#F0DF84#F0DF84

#F0DF84 is a very light, moderate yellow. Relative luminance 0.730; OKLCH L 89.8% C 0.114 H 99.0°. Best body text is #000000 at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#F0DF84
RGBrgb(240, 223, 132)
HSLhsl(51, 78%, 73%)
HSVhsv(51, 45%, 94%)
CMYKcmyk(0%, 7.1%, 45%, 5.9%)
CIE-LABlab(88.43, -6.29, 46.52)
CIE-LCHlch(88.43, 46.95, 97.70°)
OKLaboklab(89.81% -0.0177 0.1121)
OKLCHoklch(89.81% 0.114 99)
XYZxyz(66.4894, 72.9688, 32.4073)
Luminance0.7297 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DF84 #8495F0
analogous
#F0A984 #F0DF84 #CBF084
triadic
#F0DF84 #84F0DF #DF84F0
tetradic
#F0DF84 #84F0A9 #8495F0 #F084CB
square
#F0DF84 #84F0A9 #8495F0 #F084CB
split-complementary
#F0DF84 #84CBF0 #A984F0
monochromatic
#DEC01B #E9D14D #F0DF84 #F7EDBB #FCF8E4

Accessibility & contrast

On white

1.35
#F0DF84 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.59
#F0DF84 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DF84
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DF84#FFFFFF#000000##000000
##F0DF841.001.3515.5915.59
#FFFFFF1.351.0021.0021.00
#00000015.5921.001.001.00
##00000015.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFDA7D
Deuteranopia (green-blind)
#F4E188
Tritanopia (blue-blind)
#FFD3C9
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f0df84;
/* rgb */ color: rgb(240, 223, 132);
/* oklch */ color: oklch(89.8% 0.114 99.0);
Tailwind
colors: {
  custom: {
    50: '#f7e8a9',
    500: '#f0df84',
    950: '#000000',
  },
}
SCSS
$custom: #f0df84;
$custom-light: #f7e8a9;
$custom-dark: #000000;
JSON
{
  "hex": "#f0df84",
  "rgb": {
    "r": 240,
    "g": 223,
    "b": 132
  },
  "hsl": {
    "h": 50.556,
    "s": 78.261,
    "l": 72.941
  },
  "oklch": {
    "l": 0.89812,
    "c": 0.11352,
    "h": 99
  },
  "luminance": 0.72967
}

Semantic roles & 50–950 ramp

primary
#F0DF84
secondary
#4D61CB
accent
#2CDB0B
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #F0DF84

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

Preview Lab → · Contrast checker → · Palette generator →

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