#F0D668#F0D668

#F0D668 is a very light, vivid yellow. Relative luminance 0.676; OKLCH L 87.6% C 0.133 H 96.2°. Best body text is #000000 at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#F0D668
RGBrgb(240, 214, 104)
HSLhsl(49, 82%, 67%)
HSVhsv(49, 57%, 94%)
CMYKcmyk(0%, 10.8%, 56.7%, 5.9%)
CIE-LABlab(85.82, -4.11, 56.69)
CIE-LCHlch(85.82, 56.83, 94.15°)
OKLaboklab(87.64% -0.0143 0.132)
OKLCHoklch(87.64% 0.133 96.2)
XYZxyz(62.4829, 67.6207, 22.8549)
Luminance0.6762 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D668 #6882F0
analogous
#F09268 #F0D668 #C6F068
triadic
#F0D668 #68F0D6 #D668F0
tetradic
#F0D668 #68F092 #6882F0 #F068C6
square
#F0D668 #68F092 #6882F0 #F068C6
split-complementary
#F0D668 #68C6F0 #9268F0
monochromatic
#CAA714 #EAC730 #F0D668 #F6E5A0 #FBF4D7

Accessibility & contrast

On white

1.45
#F0D668 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.52
#F0D668 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D668
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D668#FFFFFF#000000##000000
##F0D6681.001.4514.5214.52
#FFFFFF1.451.0021.0021.00
#00000014.5221.001.001.00
##00000014.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D25D
Deuteranopia (green-blind)
#EFDA6D
Tritanopia (blue-blind)
#FFC8BD
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f0d668;
/* rgb */ color: rgb(240, 214, 104);
/* oklch */ color: oklch(87.6% 0.133 96.2);
Tailwind
colors: {
  custom: {
    50: '#f8e296',
    500: '#f0d668',
    950: '#000000',
  },
}
SCSS
$custom: #f0d668;
$custom-light: #f8e296;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d668",
  "rgb": {
    "r": 240,
    "g": 214,
    "b": 104
  },
  "hsl": {
    "h": 48.529,
    "s": 81.928,
    "l": 67.451
  },
  "oklch": {
    "l": 0.87636,
    "c": 0.13281,
    "h": 96.2
  },
  "luminance": 0.67618
}

Semantic roles & 50–950 ramp

primary
#F0D668
secondary
#3651C6
accent
#30DE07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F0D668

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

Preview Lab → · Contrast checker → · Palette generator →

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