#F0D168#F0D168

#F0D168 is a very light, vivid yellow. Relative luminance 0.651; OKLCH L 86.6% C 0.129 H 93.1°. Best body text is #000000 at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#F0D168
RGBrgb(240, 209, 104)
HSLhsl(46, 82%, 67%)
HSVhsv(46, 57%, 94%)
CMYKcmyk(0%, 12.9%, 56.7%, 5.9%)
CIE-LABlab(84.55, -1.56, 55.23)
CIE-LCHlch(84.55, 55.25, 91.62°)
OKLaboklab(86.64% -0.007 0.1289)
OKLCHoklch(86.64% 0.129 93.1)
XYZxyz(61.2369, 65.1286, 22.4396)
Luminance0.6513 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D168 #6887F0
analogous
#F08D68 #F0D168 #CBF068
triadic
#F0D168 #68F0D1 #D168F0
tetradic
#F0D168 #68F08D #6887F0 #F068CB
square
#F0D168 #68F08D #6887F0 #F068CB
split-complementary
#F0D168 #68CBF0 #8D68F0
monochromatic
#CAA014 #EAC030 #F0D168 #F6E2A0 #FBF3D7

Accessibility & contrast

On white

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

On black

14.03
#F0D168 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D168
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D168#FFFFFF#000000##000000
##F0D1681.001.5014.0314.03
#FFFFFF1.501.0021.0021.00
#00000014.0321.001.001.00
##00000014.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CE5E
Deuteranopia (green-blind)
#ECD76C
Tritanopia (blue-blind)
#FFC3B9
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #f0d168;
/* rgb */ color: rgb(240, 209, 104);
/* oklch */ color: oklch(86.6% 0.129 93.1);
Tailwind
colors: {
  custom: {
    50: '#f8de96',
    500: '#f0d168',
    950: '#000000',
  },
}
SCSS
$custom: #f0d168;
$custom-light: #f8de96;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d168",
  "rgb": {
    "r": 240,
    "g": 209,
    "b": 104
  },
  "hsl": {
    "h": 46.324,
    "s": 81.928,
    "l": 67.451
  },
  "oklch": {
    "l": 0.86635,
    "c": 0.12907,
    "h": 93.1
  },
  "luminance": 0.65126
}

Semantic roles & 50–950 ramp

primary
#F0D168
secondary
#3657C6
accent
#38DE07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F0D168

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

Preview Lab → · Contrast checker → · Palette generator →

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