#F0DC6D#F0DC6D

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

Color values

HEX#F0DC6D
RGBrgb(240, 220, 109)
HSLhsl(51, 81%, 68%)
HSVhsv(51, 55%, 94%)
CMYKcmyk(0%, 8.3%, 54.6%, 5.9%)
CIE-LABlab(87.40, -6.77, 56.22)
CIE-LCHlch(87.40, 56.62, 96.86°)
OKLaboklab(88.9% -0.0214 0.1316)
OKLCHoklch(88.9% 0.133 99.3)
XYZxyz(64.2909, 70.8183, 24.7478)
Luminance0.7082 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DC6D #6D81F0
analogous
#F09A6D #F0DC6D #C2F06D
triadic
#F0DC6D #6DF0DC #DC6DF0
tetradic
#F0DC6D #6DF09A #6D81F0 #F06DC2
square
#F0DC6D #6DF09A #6D81F0 #F06DC2
split-complementary
#F0DC6D #6DC2F0 #9A6DF0
monochromatic
#CDB115 #EACF36 #F0DC6D #F6E9A4 #FBF7DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0DC6D#FFFFFF#000000##000000
##F0DC6D1.001.3815.1615.16
#FFFFFF1.381.0021.0021.00
#00000015.1621.001.001.00
##00000015.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0dc6d;
/* rgb */ color: rgb(240, 220, 109);
/* oklch */ color: oklch(88.9% 0.133 99.3);
Tailwind
colors: {
  custom: {
    50: '#f7e69a',
    500: '#f0dc6d',
    950: '#000000',
  },
}
SCSS
$custom: #f0dc6d;
$custom-light: #f7e69a;
$custom-dark: #000000;
JSON
{
  "hex": "#f0dc6d",
  "rgb": {
    "r": 240,
    "g": 220,
    "b": 109
  },
  "hsl": {
    "h": 50.84,
    "s": 81.366,
    "l": 68.431
  },
  "oklch": {
    "l": 0.88904,
    "c": 0.13329,
    "h": 99.3
  },
  "luminance": 0.70816
}

Semantic roles & 50–950 ramp

primary
#F0DC6D
secondary
#394FC9
accent
#28DE08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F0DC6D

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

Preview Lab → · Contrast checker → · Palette generator →

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