#F0D968#F0D968

#F0D968 is a very light, vivid yellow. Relative luminance 0.692; OKLCH L 88.2% C 0.135 H 98.0°. Best body text is #000000 at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#F0D968
RGBrgb(240, 217, 104)
HSLhsl(50, 82%, 67%)
HSVhsv(50, 57%, 94%)
CMYKcmyk(0%, 9.6%, 56.7%, 5.9%)
CIE-LABlab(86.58, -5.63, 57.56)
CIE-LCHlch(86.58, 57.84, 95.59°)
OKLaboklab(88.24% -0.0187 0.1339)
OKLCHoklch(88.24% 0.135 98)
XYZxyz(63.2491, 69.1531, 23.1103)
Luminance0.6915 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D968 #687FF0
analogous
#F09568 #F0D968 #C3F068
triadic
#F0D968 #68F0D9 #D968F0
tetradic
#F0D968 #68F095 #687FF0 #F068C3
square
#F0D968 #68F095 #687FF0 #F068C3
split-complementary
#F0D968 #68C3F0 #9568F0
monochromatic
#CAAB14 #EACB30 #F0D968 #F6E7A0 #FBF5D7

Accessibility & contrast

On white

1.42
#F0D968 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.83
#F0D968 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D968
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D968#FFFFFF#000000##000000
##F0D9681.001.4214.8314.83
#FFFFFF1.421.0021.0021.00
#00000014.8321.001.001.00
##00000014.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD45D
Deuteranopia (green-blind)
#F2DC6D
Tritanopia (blue-blind)
#FFCBC0
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f0d968;
/* rgb */ color: rgb(240, 217, 104);
/* oklch */ color: oklch(88.2% 0.135 98.0);
Tailwind
colors: {
  custom: {
    50: '#f8e496',
    500: '#f0d968',
    950: '#000000',
  },
}
SCSS
$custom: #f0d968;
$custom-light: #f8e496;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d968",
  "rgb": {
    "r": 240,
    "g": 217,
    "b": 104
  },
  "hsl": {
    "h": 49.853,
    "s": 81.928,
    "l": 67.451
  },
  "oklch": {
    "l": 0.8824,
    "c": 0.13521,
    "h": 98
  },
  "luminance": 0.6915
}

Semantic roles & 50–950 ramp

primary
#F0D968
secondary
#364EC6
accent
#2CDE07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F0D968

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

Preview Lab → · Contrast checker → · Palette generator →

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