#F0D568#F0D568

#F0D568 is a very light, vivid yellow. Relative luminance 0.671; OKLCH L 87.4% C 0.132 H 95.6°. Best body text is #000000 at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#F0D568
RGBrgb(240, 213, 104)
HSLhsl(48, 82%, 67%)
HSVhsv(48, 57%, 94%)
CMYKcmyk(0%, 11.2%, 56.7%, 5.9%)
CIE-LABlab(85.56, -3.60, 56.39)
CIE-LCHlch(85.56, 56.51, 93.65°)
OKLaboklab(87.44% -0.0129 0.1314)
OKLCHoklch(87.44% 0.132 95.6)
XYZxyz(62.2306, 67.1161, 22.7708)
Luminance0.6711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D568 #6883F0
analogous
#F09168 #F0D568 #C7F068
triadic
#F0D568 #68F0D5 #D568F0
tetradic
#F0D568 #68F091 #6883F0 #F068C7
square
#F0D568 #68F091 #6883F0 #F068C7
split-complementary
#F0D568 #68C7F0 #9168F0
monochromatic
#CAA614 #EAC630 #F0D568 #F6E4A0 #FBF4D7

Accessibility & contrast

On white

1.46
#F0D568 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.42
#F0D568 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D568
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D568#FFFFFF#000000##000000
##F0D5681.001.4614.4214.42
#FFFFFF1.461.0021.0021.00
#00000014.4221.001.001.00
##00000014.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D15D
Deuteranopia (green-blind)
#EFDA6D
Tritanopia (blue-blind)
#FFC7BD
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f0d568;
/* rgb */ color: rgb(240, 213, 104);
/* oklch */ color: oklch(87.4% 0.132 95.6);
Tailwind
colors: {
  custom: {
    50: '#f8e196',
    500: '#f0d568',
    950: '#000000',
  },
}
SCSS
$custom: #f0d568;
$custom-light: #f8e196;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d568",
  "rgb": {
    "r": 240,
    "g": 213,
    "b": 104
  },
  "hsl": {
    "h": 48.088,
    "s": 81.928,
    "l": 67.451
  },
  "oklch": {
    "l": 0.87435,
    "c": 0.13203,
    "h": 95.6
  },
  "luminance": 0.67113
}

Semantic roles & 50–950 ramp

primary
#F0D568
secondary
#3652C6
accent
#32DE07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F0D568

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

Preview Lab → · Contrast checker → · Palette generator →

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