#F0DC6C#F0DC6C

#F0DC6C is a very light, vivid yellow. Relative luminance 0.708; OKLCH L 88.9% C 0.134 H 99.3°. Best body text is #000000 at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#F0DC6C
RGBrgb(240, 220, 108)
HSLhsl(51, 81%, 68%)
HSVhsv(51, 55%, 94%)
CMYKcmyk(0%, 8.3%, 55%, 5.9%)
CIE-LABlab(87.39, -6.84, 56.66)
CIE-LCHlch(87.39, 57.07, 96.89°)
OKLaboklab(88.89% -0.0218 0.1324)
OKLCHoklch(88.89% 0.134 99.3)
XYZxyz(64.2374, 70.7969, 24.4659)
Luminance0.7079 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DC6C #6C80F0
analogous
#F09A6C #F0DC6C #C2F06C
triadic
#F0DC6C #6CF0DC #DC6CF0
tetradic
#F0DC6C #6CF09A #6C80F0 #F06CC2
square
#F0DC6C #6CF09A #6C80F0 #F06CC2
split-complementary
#F0DC6C #6CC2F0 #9A6CF0
monochromatic
#CDB115 #EACF34 #F0DC6C #F6E9A4 #FBF6DB

Accessibility & contrast

On white

1.39
#F0DC6C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.16
#F0DC6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DC6C
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DC6C#FFFFFF#000000##000000
##F0DC6C1.001.3915.1615.16
#FFFFFF1.391.0021.0021.00
#00000015.1621.001.001.00
##00000015.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED761
Deuteranopia (green-blind)
#F4DE71
Tritanopia (blue-blind)
#FFCEC3
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f0dc6c;
/* rgb */ color: rgb(240, 220, 108);
/* oklch */ color: oklch(88.9% 0.134 99.3);
Tailwind
colors: {
  custom: {
    50: '#f8e699',
    500: '#f0dc6c',
    950: '#000000',
  },
}
SCSS
$custom: #f0dc6c;
$custom-light: #f8e699;
$custom-dark: #000000;
JSON
{
  "hex": "#f0dc6c",
  "rgb": {
    "r": 240,
    "g": 220,
    "b": 108
  },
  "hsl": {
    "h": 50.909,
    "s": 81.481,
    "l": 68.235
  },
  "oklch": {
    "l": 0.88892,
    "c": 0.13419,
    "h": 99.3
  },
  "luminance": 0.70794
}

Semantic roles & 50–950 ramp

primary
#F0DC6C
secondary
#384EC8
accent
#28DE08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F0DC6C

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

Preview Lab → · Contrast checker → · Palette generator →

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