#F0F765#F0F765

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

Color values

HEX#F0F765
RGBrgb(240, 247, 101)
HSLhsl(63, 90%, 68%)
HSVhsv(63, 59%, 97%)
CMYKcmyk(2.8%, 0%, 59.1%, 3.1%)
CIE-LABlab(94.31, -20.63, 67.49)
CIE-LCHlch(94.31, 70.57, 106.99°)
OKLaboklab(94.38% -0.0618 0.1548)
OKLCHoklch(94.38% 0.167 111.8)
XYZxyz(71.5468, 85.9880, 25.1378)
Luminance0.8599 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F765 #6C65F7
analogous
#F7B565 #F0F765 #A7F765
triadic
#F0F765 #65F0F7 #F765F0
tetradic
#F0F765 #65F7B5 #6C65F7 #F765A7
square
#F0F765 #65F7B5 #6C65F7 #F765A7
split-complementary
#F0F765 #65A7F7 #B565F7
monochromatic
#CDD60B #EAF42B #F0F765 #F6FA9F #FBFDD9

Accessibility & contrast

On white

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

On black

18.20
#F0F765 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F765
18.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F765#FFFFFF#000000##000000
##F0F7651.001.1518.2018.20
#FFFFFF1.151.0021.0021.00
#00000018.2021.001.001.00
##00000018.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0f765;
/* rgb */ color: rgb(240, 247, 101);
/* oklch */ color: oklch(94.4% 0.167 111.8);
Tailwind
colors: {
  custom: {
    50: '#f8f996',
    500: '#f0f765',
    950: '#000000',
  },
}
SCSS
$custom: #f0f765;
$custom-light: #f8f996;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f765",
  "rgb": {
    "r": 240,
    "g": 247,
    "b": 101
  },
  "hsl": {
    "h": 62.877,
    "s": 90.123,
    "l": 68.235
  },
  "oklch": {
    "l": 0.9438,
    "c": 0.16664,
    "h": 111.8
  },
  "luminance": 0.85986
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F0F765

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

Preview Lab → · Contrast checker → · Palette generator →

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