#F0DD6C#F0DD6C

#F0DD6C is a very light, vivid yellow. Relative luminance 0.713; OKLCH L 89.1% C 0.135 H 99.9°. Best body text is #000000 at 15.26:1 contrast (WCAG AA passes).

Color values

HEX#F0DD6C
RGBrgb(240, 221, 108)
HSLhsl(51, 81%, 68%)
HSVhsv(51, 55%, 94%)
CMYKcmyk(0%, 7.9%, 55%, 5.9%)
CIE-LABlab(87.64, -7.35, 56.96)
CIE-LCHlch(87.64, 57.43, 97.35°)
OKLaboklab(89.1% -0.0232 0.1331)
OKLCHoklch(89.1% 0.135 99.9)
XYZxyz(64.5007, 71.3234, 24.5537)
Luminance0.7132 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DD6C #6C7FF0
analogous
#F09B6C #F0DD6C #C1F06C
triadic
#F0DD6C #6CF0DD #DD6CF0
tetradic
#F0DD6C #6CF09B #6C7FF0 #F06CC1
square
#F0DD6C #6CF09B #6C7FF0 #F06CC1
split-complementary
#F0DD6C #6CC1F0 #9B6CF0
monochromatic
#CDB215 #EAD034 #F0DD6C #F6EAA4 #FBF7DB

Accessibility & contrast

On white

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

On black

15.26
#F0DD6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DD6C
15.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DD6C#FFFFFF#000000##000000
##F0DD6C1.001.3815.2615.26
#FFFFFF1.381.0021.0021.00
#00000015.2621.001.001.00
##00000015.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD861
Deuteranopia (green-blind)
#F4DF71
Tritanopia (blue-blind)
#FFCFC4
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f0dd6c;
/* rgb */ color: rgb(240, 221, 108);
/* oklch */ color: oklch(89.1% 0.135 99.9);
Tailwind
colors: {
  custom: {
    50: '#f8e799',
    500: '#f0dd6c',
    950: '#000000',
  },
}
SCSS
$custom: #f0dd6c;
$custom-light: #f8e799;
$custom-dark: #000000;
JSON
{
  "hex": "#f0dd6c",
  "rgb": {
    "r": 240,
    "g": 221,
    "b": 108
  },
  "hsl": {
    "h": 51.364,
    "s": 81.481,
    "l": 68.235
  },
  "oklch": {
    "l": 0.89095,
    "c": 0.13506,
    "h": 99.9
  },
  "luminance": 0.71321
}

Semantic roles & 50–950 ramp

primary
#F0DD6C
secondary
#384DC8
accent
#26DE08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F0DD6C

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

Preview Lab → · Contrast checker → · Palette generator →

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