#F0D66D#F0D66D

#F0D66D is a very light, vivid yellow. Relative luminance 0.677; OKLCH L 87.7% C 0.128 H 95.7°. Best body text is #000000 at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#F0D66D
RGBrgb(240, 214, 109)
HSLhsl(48, 81%, 68%)
HSVhsv(48, 55%, 94%)
CMYKcmyk(0%, 10.8%, 54.6%, 5.9%)
CIE-LABlab(85.87, -3.73, 54.43)
CIE-LCHlch(85.87, 54.56, 93.92°)
OKLaboklab(87.7% -0.0127 0.1277)
OKLCHoklch(87.7% 0.128 95.7)
XYZxyz(62.7444, 67.7253, 24.2323)
Luminance0.6772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D66D #6D87F0
analogous
#F0946D #F0D66D #C8F06D
triadic
#F0D66D #6DF0D6 #D66DF0
tetradic
#F0D66D #6DF094 #6D87F0 #F06DC8
square
#F0D66D #6DF094 #6D87F0 #F06DC8
split-complementary
#F0D66D #6DC8F0 #946DF0
monochromatic
#CDA915 #EAC636 #F0D66D #F6E6A4 #FBF5DC

Accessibility & contrast

On white

1.44
#F0D66D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.54
#F0D66D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D66D
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D66D#FFFFFF#000000##000000
##F0D66D1.001.4414.5414.54
#FFFFFF1.441.0021.0021.00
#00000014.5421.001.001.00
##00000014.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D263
Deuteranopia (green-blind)
#EFDA72
Tritanopia (blue-blind)
#FFC8BE
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f0d66d;
/* rgb */ color: rgb(240, 214, 109);
/* oklch */ color: oklch(87.7% 0.128 95.7);
Tailwind
colors: {
  custom: {
    50: '#f8e29a',
    500: '#f0d66d',
    950: '#000000',
  },
}
SCSS
$custom: #f0d66d;
$custom-light: #f8e29a;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d66d",
  "rgb": {
    "r": 240,
    "g": 214,
    "b": 109
  },
  "hsl": {
    "h": 48.092,
    "s": 81.366,
    "l": 68.431
  },
  "oklch": {
    "l": 0.87695,
    "c": 0.12832,
    "h": 95.7
  },
  "luminance": 0.67723
}

Semantic roles & 50–950 ramp

primary
#F0D66D
secondary
#3955C9
accent
#32DE08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F0D66D

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

Preview Lab → · Contrast checker → · Palette generator →

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