#F0DC84#F0DC84

#F0DC84 is a very light, moderate yellow. Relative luminance 0.714; OKLCH L 89.2% C 0.111 H 96.9°. Best body text is #000000 at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#F0DC84
RGBrgb(240, 220, 132)
HSLhsl(49, 78%, 73%)
HSVhsv(49, 45%, 94%)
CMYKcmyk(0%, 8.3%, 45%, 5.9%)
CIE-LABlab(87.67, -4.77, 45.57)
CIE-LCHlch(87.67, 45.82, 95.98°)
OKLaboklab(89.21% -0.0133 0.11)
OKLCHoklch(89.21% 0.111 96.9)
XYZxyz(65.6950, 71.3800, 32.1425)
Luminance0.7138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DC84 #8498F0
analogous
#F0A684 #F0DC84 #CEF084
triadic
#F0DC84 #84F0DC #DC84F0
tetradic
#F0DC84 #84F0A6 #8498F0 #F084CE
square
#F0DC84 #84F0A6 #8498F0 #F084CE
split-complementary
#F0DC84 #84CEF0 #A684F0
monochromatic
#DEBA1B #E9CC4D #F0DC84 #F7ECBB #FCF7E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0DC84#FFFFFF#000000##000000
##F0DC841.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)
#ECD87D
Deuteranopia (green-blind)
#F1DF87
Tritanopia (blue-blind)
#FFD0C7
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f0dc84;
/* rgb */ color: rgb(240, 220, 132);
/* oklch */ color: oklch(89.2% 0.111 96.9);
Tailwind
colors: {
  custom: {
    50: '#f7e6a9',
    500: '#f0dc84',
    950: '#000000',
  },
}
SCSS
$custom: #f0dc84;
$custom-light: #f7e6a9;
$custom-dark: #000000;
JSON
{
  "hex": "#f0dc84",
  "rgb": {
    "r": 240,
    "g": 220,
    "b": 132
  },
  "hsl": {
    "h": 48.889,
    "s": 78.261,
    "l": 72.941
  },
  "oklch": {
    "l": 0.89208,
    "c": 0.1108,
    "h": 96.9
  },
  "luminance": 0.71378
}

Semantic roles & 50–950 ramp

primary
#F0DC84
secondary
#4D64CB
accent
#31DB0B
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #F0DC84

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

Preview Lab → · Contrast checker → · Palette generator →

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