#F0DE6C#F0DE6C

#F0DE6C is a very light, vivid yellow. Relative luminance 0.719; OKLCH L 89.3% C 0.136 H 100.5°. Best body text is #000000 at 15.37:1 contrast (WCAG AA passes).

Color values

HEX#F0DE6C
RGBrgb(240, 222, 108)
HSLhsl(52, 81%, 68%)
HSVhsv(52, 55%, 94%)
CMYKcmyk(0%, 7.5%, 55%, 5.9%)
CIE-LABlab(87.90, -7.85, 57.25)
CIE-LCHlch(87.90, 57.79, 97.81°)
OKLaboklab(89.3% -0.0247 0.1337)
OKLCHoklch(89.3% 0.136 100.5)
XYZxyz(64.7655, 71.8530, 24.6419)
Luminance0.7185 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DE6C #6C7EF0
analogous
#F09C6C #F0DE6C #C0F06C
triadic
#F0DE6C #6CF0DE #DE6CF0
tetradic
#F0DE6C #6CF09C #6C7EF0 #F06CC0
square
#F0DE6C #6CF09C #6C7EF0 #F06CC0
split-complementary
#F0DE6C #6CC0F0 #9C6CF0
monochromatic
#CDB415 #EAD234 #F0DE6C #F6EAA4 #FBF7DB

Accessibility & contrast

On white

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

On black

15.37
#F0DE6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DE6C
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DE6C#FFFFFF#000000##000000
##F0DE6C1.001.3715.3715.37
#FFFFFF1.371.0021.0021.00
#00000015.3721.001.001.00
##00000015.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D861
Deuteranopia (green-blind)
#F5E071
Tritanopia (blue-blind)
#FFD0C4
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f0de6c;
/* rgb */ color: rgb(240, 222, 108);
/* oklch */ color: oklch(89.3% 0.136 100.5);
Tailwind
colors: {
  custom: {
    50: '#f8e899',
    500: '#f0de6c',
    950: '#000000',
  },
}
SCSS
$custom: #f0de6c;
$custom-light: #f8e899;
$custom-dark: #000000;
JSON
{
  "hex": "#f0de6c",
  "rgb": {
    "r": 240,
    "g": 222,
    "b": 108
  },
  "hsl": {
    "h": 51.818,
    "s": 81.481,
    "l": 68.235
  },
  "oklch": {
    "l": 0.89298,
    "c": 0.13595,
    "h": 100.5
  },
  "luminance": 0.71851
}

Semantic roles & 50–950 ramp

primary
#F0DE6C
secondary
#384BC8
accent
#25DE08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F0DE6C

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

Preview Lab → · Contrast checker → · Palette generator →

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