#F0F768#F0F768

#F0F768 is a very light, vivid yellow. Relative luminance 0.860; OKLCH L 94.4% C 0.164 H 111.8°. Best body text is #000000 at 18.21:1 contrast (WCAG AA passes).

Color values

HEX#F0F768
RGBrgb(240, 247, 104)
HSLhsl(63, 90%, 69%)
HSVhsv(63, 58%, 97%)
CMYKcmyk(2.8%, 0%, 57.9%, 3.1%)
CIE-LABlab(94.33, -20.42, 66.27)
CIE-LCHlch(94.33, 69.34, 107.13°)
OKLaboklab(94.41% -0.0609 0.1525)
OKLCHoklch(94.41% 0.164 111.8)
XYZxyz(71.6965, 86.0478, 25.9261)
Luminance0.8605 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F768 #6F68F7
analogous
#F7B768 #F0F768 #A9F768
triadic
#F0F768 #68F0F7 #F768F0
tetradic
#F0F768 #68F7B7 #6F68F7 #F768A9
square
#F0F768 #68F7B7 #6F68F7 #F768A9
split-complementary
#F0F768 #68A9F7 #B768F7
monochromatic
#CFD90C #EAF42E #F0F768 #F6FAA2 #FCFDDC

Accessibility & contrast

On white

1.15
#F0F768 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.21
#F0F768 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F768
18.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F768#FFFFFF#000000##000000
##F0F7681.001.1518.2118.21
#FFFFFF1.151.0021.0021.00
#00000018.2121.001.001.00
##00000018.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED58
Deuteranopia (green-blind)
#FFF171
Tritanopia (blue-blind)
#FFE9D8
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f0f768;
/* rgb */ color: rgb(240, 247, 104);
/* oklch */ color: oklch(94.4% 0.164 111.8);
Tailwind
colors: {
  custom: {
    50: '#f8f998',
    500: '#f0f768',
    950: '#000000',
  },
}
SCSS
$custom: #f0f768;
$custom-light: #f8f998;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f768",
  "rgb": {
    "r": 240,
    "g": 247,
    "b": 104
  },
  "hsl": {
    "h": 62.937,
    "s": 89.937,
    "l": 68.824
  },
  "oklch": {
    "l": 0.94409,
    "c": 0.16423,
    "h": 111.8
  },
  "luminance": 0.86046
}

Semantic roles & 50–950 ramp

primary
#F0F768
secondary
#3A33D1
accent
#00E60B
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F0F768

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

Preview Lab → · Contrast checker → · Palette generator →

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