#F0F760#F0F760

#F0F760 is a very light, vivid yellow. Relative luminance 0.859; OKLCH L 94.3% C 0.170 H 111.8°. Best body text is #000000 at 18.18:1 contrast (WCAG AA passes).

Color values

HEX#F0F760
RGBrgb(240, 247, 96)
HSLhsl(63, 90%, 67%)
HSVhsv(63, 61%, 97%)
CMYKcmyk(2.8%, 0%, 61.1%, 3.1%)
CIE-LABlab(94.27, -20.96, 69.49)
CIE-LCHlch(94.27, 72.58, 106.78°)
OKLaboklab(94.33% -0.0632 0.1583)
OKLCHoklch(94.33% 0.17 111.8)
XYZxyz(71.3092, 85.8929, 23.8866)
Luminance0.8589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F760 #6760F7
analogous
#F7B260 #F0F760 #A5F760
triadic
#F0F760 #60F0F7 #F760F0
tetradic
#F0F760 #60F7B2 #6760F7 #F760A5
square
#F0F760 #60F7B2 #6760F7 #F760A5
split-complementary
#F0F760 #60A5F7 #B260F7
monochromatic
#C9D20B #EBF426 #F0F760 #F5FA9A #FBFDD5

Accessibility & contrast

On white

1.16
#F0F760 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.18
#F0F760 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F760
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F760#FFFFFF#000000##000000
##F0F7601.001.1618.1818.18
#FFFFFF1.161.0021.0021.00
#00000018.1821.001.001.00
##00000018.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC4D
Deuteranopia (green-blind)
#FFF06A
Tritanopia (blue-blind)
#FFE9D7
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f0f760;
/* rgb */ color: rgb(240, 247, 96);
/* oklch */ color: oklch(94.3% 0.170 111.8);
Tailwind
colors: {
  custom: {
    50: '#f8f993',
    500: '#f0f760',
    950: '#000000',
  },
}
SCSS
$custom: #f0f760;
$custom-light: #f8f993;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f760",
  "rgb": {
    "r": 240,
    "g": 247,
    "b": 96
  },
  "hsl": {
    "h": 62.781,
    "s": 90.419,
    "l": 67.255
  },
  "oklch": {
    "l": 0.94334,
    "c": 0.17049,
    "h": 111.8
  },
  "luminance": 0.85891
}

Semantic roles & 50–950 ramp

primary
#F0F760
secondary
#352ECD
accent
#00E60B
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F0F760

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

Preview Lab → · Contrast checker → · Palette generator →

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