#F0F762#F0F762

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

Color values

HEX#F0F762
RGBrgb(240, 247, 98)
HSLhsl(63, 90%, 68%)
HSVhsv(63, 60%, 97%)
CMYKcmyk(2.8%, 0%, 60.3%, 3.1%)
CIE-LABlab(94.28, -20.83, 68.70)
CIE-LCHlch(94.28, 71.79, 106.87°)
OKLaboklab(94.35% -0.0626 0.1569)
OKLCHoklch(94.35% 0.169 111.8)
XYZxyz(71.4025, 85.9302, 24.3778)
Luminance0.8593 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F762 #6962F7
analogous
#F7B462 #F0F762 #A5F762
triadic
#F0F762 #62F0F7 #F762F0
tetradic
#F0F762 #62F7B4 #6962F7 #F762A5
square
#F0F762 #62F7B4 #6962F7 #F762A5
split-complementary
#F0F762 #62A5F7 #B462F7
monochromatic
#CAD40B #EAF428 #F0F762 #F6FA9C #FBFDD6

Accessibility & contrast

On white

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

On black

18.19
#F0F762 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F762
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F762#FFFFFF#000000##000000
##F0F7621.001.1518.1918.19
#FFFFFF1.151.0021.0021.00
#00000018.1921.001.001.00
##00000018.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0f762;
/* rgb */ color: rgb(240, 247, 98);
/* oklch */ color: oklch(94.4% 0.169 111.8);
Tailwind
colors: {
  custom: {
    50: '#f8f995',
    500: '#f0f762',
    950: '#000000',
  },
}
SCSS
$custom: #f0f762;
$custom-light: #f8f995;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f762",
  "rgb": {
    "r": 240,
    "g": 247,
    "b": 98
  },
  "hsl": {
    "h": 62.819,
    "s": 90.303,
    "l": 67.647
  },
  "oklch": {
    "l": 0.94352,
    "c": 0.16897,
    "h": 111.8
  },
  "luminance": 0.85929
}

Semantic roles & 50–950 ramp

primary
#F0F762
secondary
#362FCF
accent
#00E60B
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F0F762

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

Preview Lab → · Contrast checker → · Palette generator →

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