#F0DD66#F0DD66

#F0DD66 is a very light, vivid yellow. Relative luminance 0.712; OKLCH L 89.0% C 0.140 H 100.3°. Best body text is #000000 at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#F0DD66
RGBrgb(240, 221, 102)
HSLhsl(52, 82%, 67%)
HSVhsv(52, 58%, 94%)
CMYKcmyk(0%, 7.9%, 57.5%, 5.9%)
CIE-LABlab(87.58, -7.79, 59.60)
CIE-LCHlch(87.58, 60.11, 97.45°)
OKLaboklab(89.03% -0.0252 0.1381)
OKLCHoklch(89.03% 0.14 100.3)
XYZxyz(64.1923, 71.2000, 22.9295)
Luminance0.7120 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DD66 #6679F0
analogous
#F09866 #F0DD66 #BEF066
triadic
#F0DD66 #66F0DD #DD66F0
tetradic
#F0DD66 #66F098 #6679F0 #F066BE
square
#F0DD66 #66F098 #6679F0 #F066BE
split-complementary
#F0DD66 #66BEF0 #9866F0
monochromatic
#C8AF14 #EBD12E #F0DD66 #F5E99E #FBF6D5

Accessibility & contrast

On white

1.38
#F0DD66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.24
#F0DD66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DD66
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DD66#FFFFFF#000000##000000
##F0DD661.001.3815.2415.24
#FFFFFF1.381.0021.0021.00
#00000015.2421.001.001.00
##00000015.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD75A
Deuteranopia (green-blind)
#F5DF6C
Tritanopia (blue-blind)
#FFCFC3
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f0dd66;
/* rgb */ color: rgb(240, 221, 102);
/* oklch */ color: oklch(89.0% 0.140 100.3);
Tailwind
colors: {
  custom: {
    50: '#f8e795',
    500: '#f0dd66',
    950: '#000000',
  },
}
SCSS
$custom: #f0dd66;
$custom-light: #f8e795;
$custom-dark: #000000;
JSON
{
  "hex": "#f0dd66",
  "rgb": {
    "r": 240,
    "g": 221,
    "b": 102
  },
  "hsl": {
    "h": 51.739,
    "s": 82.143,
    "l": 67.059
  },
  "oklch": {
    "l": 0.89028,
    "c": 0.14034,
    "h": 100.3
  },
  "luminance": 0.71197
}

Semantic roles & 50–950 ramp

primary
#F0DD66
secondary
#3549C5
accent
#25DF07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F0DD66

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

Preview Lab → · Contrast checker → · Palette generator →

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