#F0DD62#F0DD62

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

Color values

HEX#F0DD62
RGBrgb(240, 221, 98)
HSLhsl(52, 83%, 66%)
HSVhsv(52, 59%, 94%)
CMYKcmyk(0%, 7.9%, 59.2%, 5.9%)
CIE-LABlab(87.54, -8.07, 61.33)
CIE-LCHlch(87.54, 61.86, 97.50°)
OKLaboklab(88.99% -0.0264 0.1413)
OKLCHoklch(88.99% 0.144 100.6)
XYZxyz(63.9987, 71.1226, 21.9098)
Luminance0.7112 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DD62 #6275F0
analogous
#F09662 #F0DD62 #BCF062
triadic
#F0DD62 #62F0DD #DD62F0
tetradic
#F0DD62 #62F096 #6275F0 #F062BC
square
#F0DD62 #62F096 #6275F0 #F062BC
split-complementary
#F0DD62 #62BCF0 #9662F0
monochromatic
#C5AD13 #EBD12A #F0DD62 #F5E99A #FBF5D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0DD62#FFFFFF#000000##000000
##F0DD621.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)
#F0D755
Deuteranopia (green-blind)
#F5DF68
Tritanopia (blue-blind)
#FFCFC2
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f0dd62;
/* rgb */ color: rgb(240, 221, 98);
/* oklch */ color: oklch(89.0% 0.144 100.6);
Tailwind
colors: {
  custom: {
    50: '#f8e793',
    500: '#f0dd62',
    950: '#000000',
  },
}
SCSS
$custom: #f0dd62;
$custom-light: #f8e793;
$custom-dark: #000000;
JSON
{
  "hex": "#f0dd62",
  "rgb": {
    "r": 240,
    "g": 221,
    "b": 98
  },
  "hsl": {
    "h": 51.972,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.88986,
    "c": 0.14372,
    "h": 100.6
  },
  "luminance": 0.7112
}

Semantic roles & 50–950 ramp

primary
#F0DD62
secondary
#3447C2
accent
#23DF07
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F0DD62

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

Preview Lab → · Contrast checker → · Palette generator →

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