#F0F967#F0F967

#F0F967 is a very light, vivid yellow. Relative luminance 0.873; OKLCH L 94.8% C 0.167 H 112.5°. Best body text is #000000 at 18.45:1 contrast (WCAG AA passes).

Color values

HEX#F0F967
RGBrgb(240, 249, 103)
HSLhsl(64, 92%, 69%)
HSVhsv(64, 59%, 98%)
CMYKcmyk(3.6%, 0%, 58.6%, 2.4%)
CIE-LABlab(94.85, -21.45, 67.25)
CIE-LCHlch(94.85, 70.59, 107.69°)
OKLaboklab(94.82% -0.0639 0.1545)
OKLCHoklch(94.82% 0.167 112.5)
XYZxyz(72.2608, 87.2574, 25.8651)
Luminance0.8726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F967 #7067F9
analogous
#F9B967 #F0F967 #A7F967
triadic
#F0F967 #67F0F9 #F967F0
tetradic
#F0F967 #67F9B9 #7067F9 #F967A7
square
#F0F967 #67F9B9 #7067F9 #F967A7
split-complementary
#F0F967 #67A7F9 #B967F9
monochromatic
#D0DD09 #EAF72C #F0F967 #F6FBA2 #FCFEDD

Accessibility & contrast

On white

1.14
#F0F967 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.45
#F0F967 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F967
18.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F967#FFFFFF#000000##000000
##F0F9671.001.1418.4518.45
#FFFFFF1.141.0021.0021.00
#00000018.4521.001.001.00
##00000018.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE56
Deuteranopia (green-blind)
#FFF270
Tritanopia (blue-blind)
#FFEBDA
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f0f967;
/* rgb */ color: rgb(240, 249, 103);
/* oklch */ color: oklch(94.8% 0.167 112.5);
Tailwind
colors: {
  custom: {
    50: '#f8fb98',
    500: '#f0f967',
    950: '#000000',
  },
}
SCSS
$custom: #f0f967;
$custom-light: #f8fb98;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f967",
  "rgb": {
    "r": 240,
    "g": 249,
    "b": 103
  },
  "hsl": {
    "h": 63.699,
    "s": 92.405,
    "l": 69.02
  },
  "oklch": {
    "l": 0.94817,
    "c": 0.16719,
    "h": 112.5
  },
  "luminance": 0.87256
}

Semantic roles & 50–950 ramp

primary
#F0F967
secondary
#3B31D3
accent
#00E60E
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F0F967

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

Preview Lab → · Contrast checker → · Palette generator →

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