#F0D967#F0D967

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

Color values

HEX#F0D967
RGBrgb(240, 217, 103)
HSLhsl(50, 82%, 67%)
HSVhsv(50, 57%, 94%)
CMYKcmyk(0%, 9.6%, 57.1%, 5.9%)
CIE-LABlab(86.57, -5.70, 58.00)
CIE-LCHlch(86.57, 58.28, 95.62°)
OKLaboklab(88.23% -0.0191 0.1348)
OKLCHoklch(88.23% 0.136 98.1)
XYZxyz(63.1986, 69.1329, 22.8444)
Luminance0.6913 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D967 #677EF0
analogous
#F09567 #F0D967 #C3F067
triadic
#F0D967 #67F0D9 #D967F0
tetradic
#F0D967 #67F095 #677EF0 #F067C3
square
#F0D967 #67F095 #677EF0 #F067C3
split-complementary
#F0D967 #67C3F0 #9567F0
monochromatic
#C9AA14 #EBCB2F #F0D967 #F5E79F #FBF5D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0D967#FFFFFF#000000##000000
##F0D9671.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)
#ECD45C
Deuteranopia (green-blind)
#F2DC6C
Tritanopia (blue-blind)
#FFCBC0
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f0d967;
/* rgb */ color: rgb(240, 217, 103);
/* oklch */ color: oklch(88.2% 0.136 98.1);
Tailwind
colors: {
  custom: {
    50: '#f8e496',
    500: '#f0d967',
    950: '#000000',
  },
}
SCSS
$custom: #f0d967;
$custom-light: #f8e496;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d967",
  "rgb": {
    "r": 240,
    "g": 217,
    "b": 103
  },
  "hsl": {
    "h": 49.927,
    "s": 82.036,
    "l": 67.255
  },
  "oklch": {
    "l": 0.88229,
    "c": 0.13609,
    "h": 98.1
  },
  "luminance": 0.6913
}

Semantic roles & 50–950 ramp

primary
#F0D967
secondary
#354EC6
accent
#2BDE07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F0D967

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

Preview Lab → · Contrast checker → · Palette generator →

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