#F0DD60#F0DD60

#F0DD60 is a very light, vivid yellow. Relative luminance 0.711; OKLCH L 89.0% C 0.145 H 100.7°. Best body text is #000000 at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#F0DD60
RGBrgb(240, 221, 96)
HSLhsl(52, 83%, 66%)
HSVhsv(52, 60%, 94%)
CMYKcmyk(0%, 7.9%, 60%, 5.9%)
CIE-LABlab(87.53, -8.21, 62.18)
CIE-LCHlch(87.53, 62.72, 97.52°)
OKLaboklab(88.97% -0.027 0.1428)
OKLCHoklch(88.97% 0.145 100.7)
XYZxyz(63.9054, 71.0853, 21.4187)
Luminance0.7108 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DD60 #6073F0
analogous
#F09560 #F0DD60 #BBF060
triadic
#F0DD60 #60F0DD #DD60F0
tetradic
#F0DD60 #60F095 #6073F0 #F060BB
square
#F0DD60 #60F095 #6073F0 #F060BB
split-complementary
#F0DD60 #60BBF0 #9560F0
monochromatic
#C3AC12 #EBD128 #F0DD60 #F5E998 #FBF5D0

Accessibility & contrast

On white

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

On black

15.22
#F0DD60 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DD60
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DD60#FFFFFF#000000##000000
##F0DD601.001.3815.2215.22
#FFFFFF1.381.0021.0021.00
#00000015.2221.001.001.00
##00000015.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D752
Deuteranopia (green-blind)
#F5DF66
Tritanopia (blue-blind)
#FFCFC2
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f0dd60;
/* rgb */ color: rgb(240, 221, 96);
/* oklch */ color: oklch(89.0% 0.145 100.7);
Tailwind
colors: {
  custom: {
    50: '#f8e792',
    500: '#f0dd60',
    950: '#000000',
  },
}
SCSS
$custom: #f0dd60;
$custom-light: #f8e792;
$custom-dark: #000000;
JSON
{
  "hex": "#f0dd60",
  "rgb": {
    "r": 240,
    "g": 221,
    "b": 96
  },
  "hsl": {
    "h": 52.083,
    "s": 82.759,
    "l": 65.882
  },
  "oklch": {
    "l": 0.88966,
    "c": 0.14535,
    "h": 100.7
  },
  "luminance": 0.71083
}

Semantic roles & 50–950 ramp

primary
#F0DD60
secondary
#3346C1
accent
#23DF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F0DD60

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

Preview Lab → · Contrast checker → · Palette generator →

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