#F0F767#F0F767

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

Color values

HEX#F0F767
RGBrgb(240, 247, 103)
HSLhsl(63, 90%, 69%)
HSVhsv(63, 58%, 97%)
CMYKcmyk(2.8%, 0%, 58.3%, 3.1%)
CIE-LABlab(94.32, -20.49, 66.68)
CIE-LCHlch(94.32, 69.75, 107.08°)
OKLaboklab(94.4% -0.0612 0.1533)
OKLCHoklch(94.4% 0.165 111.8)
XYZxyz(71.6460, 86.0276, 25.6602)
Luminance0.8603 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F767 #6E67F7
analogous
#F7B667 #F0F767 #A8F767
triadic
#F0F767 #67F0F7 #F767F0
tetradic
#F0F767 #67F7B6 #6E67F7 #F767A8
square
#F0F767 #67F7B6 #6E67F7 #F767A8
split-complementary
#F0F767 #67A8F7 #B667F7
monochromatic
#CED80B #EAF42D #F0F767 #F6FAA1 #FBFDDB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0F767#FFFFFF#000000##000000
##F0F7671.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)
#FFED57
Deuteranopia (green-blind)
#FFF170
Tritanopia (blue-blind)
#FFE9D8
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f0f767;
/* rgb */ color: rgb(240, 247, 103);
/* oklch */ color: oklch(94.4% 0.165 111.8);
Tailwind
colors: {
  custom: {
    50: '#f8f998',
    500: '#f0f767',
    950: '#000000',
  },
}
SCSS
$custom: #f0f767;
$custom-light: #f8f998;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f767",
  "rgb": {
    "r": 240,
    "g": 247,
    "b": 103
  },
  "hsl": {
    "h": 62.917,
    "s": 90,
    "l": 68.627
  },
  "oklch": {
    "l": 0.94399,
    "c": 0.16504,
    "h": 111.8
  },
  "luminance": 0.86026
}

Semantic roles & 50–950 ramp

primary
#F0F767
secondary
#3932D0
accent
#00E60B
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F0F767

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

Preview Lab → · Contrast checker → · Palette generator →

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