#F0D16D#F0D16D

#F0D16D is a very light, vivid yellow. Relative luminance 0.652; OKLCH L 86.7% C 0.125 H 92.4°. Best body text is #000000 at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#F0D16D
RGBrgb(240, 209, 109)
HSLhsl(46, 81%, 68%)
HSVhsv(46, 55%, 94%)
CMYKcmyk(0%, 12.9%, 54.6%, 5.9%)
CIE-LABlab(84.60, -1.18, 52.95)
CIE-LCHlch(84.60, 52.96, 91.27°)
OKLaboklab(86.7% -0.0053 0.1245)
OKLCHoklch(86.7% 0.125 92.4)
XYZxyz(61.4984, 65.2332, 23.8170)
Luminance0.6523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D16D #6D8CF0
analogous
#F08F6D #F0D16D #CDF06D
triadic
#F0D16D #6DF0D1 #D16DF0
tetradic
#F0D16D #6DF08F #6D8CF0 #F06DCD
square
#F0D16D #6DF08F #6D8CF0 #F06DCD
split-complementary
#F0D16D #6DCDF0 #8F6DF0
monochromatic
#CDA215 #EAC036 #F0D16D #F6E2A4 #FBF4DC

Accessibility & contrast

On white

1.50
#F0D16D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.05
#F0D16D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D16D
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D16D#FFFFFF#000000##000000
##F0D16D1.001.5014.0514.05
#FFFFFF1.501.0021.0021.00
#00000014.0521.001.001.00
##00000014.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CE64
Deuteranopia (green-blind)
#EBD771
Tritanopia (blue-blind)
#FFC3BA
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #f0d16d;
/* rgb */ color: rgb(240, 209, 109);
/* oklch */ color: oklch(86.7% 0.125 92.4);
Tailwind
colors: {
  custom: {
    50: '#f8de99',
    500: '#f0d16d',
    950: '#000000',
  },
}
SCSS
$custom: #f0d16d;
$custom-light: #f8de99;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d16d",
  "rgb": {
    "r": 240,
    "g": 209,
    "b": 109
  },
  "hsl": {
    "h": 45.802,
    "s": 81.366,
    "l": 68.431
  },
  "oklch": {
    "l": 0.86695,
    "c": 0.12458,
    "h": 92.4
  },
  "luminance": 0.6523
}

Semantic roles & 50–950 ramp

primary
#F0D16D
secondary
#395BC9
accent
#3ADE08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F0D16D

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

Preview Lab → · Contrast checker → · Palette generator →

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