#F0F76B#F0F76B

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

Color values

HEX#F0F76B
RGBrgb(240, 247, 107)
HSLhsl(63, 90%, 69%)
HSVhsv(63, 57%, 97%)
CMYKcmyk(2.8%, 0%, 56.7%, 3.1%)
CIE-LABlab(94.36, -20.21, 65.02)
CIE-LCHlch(94.36, 68.09, 107.26°)
OKLaboklab(94.44% -0.06 0.1502)
OKLCHoklch(94.44% 0.162 111.8)
XYZxyz(71.8516, 86.1099, 26.7429)
Luminance0.8611 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F76B #726BF7
analogous
#F7B86B #F0F76B #AAF76B
triadic
#F0F76B #6BF0F7 #F76BF0
tetradic
#F0F76B #6BF7B8 #726BF7 #F76BAA
square
#F0F76B #6BF7B8 #726BF7 #F76BAA
split-complementary
#F0F76B #6BAAF7 #B86BF7
monochromatic
#D1DC0C #EAF431 #F0F76B #F6FAA5 #FCFDDF

Accessibility & contrast

On white

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

On black

18.22
#F0F76B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F76B
18.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F76B#FFFFFF#000000##000000
##F0F76B1.001.1518.2218.22
#FFFFFF1.151.0021.0021.00
#00000018.2221.001.001.00
##00000018.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED5C
Deuteranopia (green-blind)
#FFF173
Tritanopia (blue-blind)
#FFEAD9
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f0f76b;
/* rgb */ color: rgb(240, 247, 107);
/* oklch */ color: oklch(94.4% 0.162 111.8);
Tailwind
colors: {
  custom: {
    50: '#f8f99a',
    500: '#f0f76b',
    950: '#000000',
  },
}
SCSS
$custom: #f0f76b;
$custom-light: #f8f99a;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f76b",
  "rgb": {
    "r": 240,
    "g": 247,
    "b": 107
  },
  "hsl": {
    "h": 63,
    "s": 89.744,
    "l": 69.412
  },
  "oklch": {
    "l": 0.94438,
    "c": 0.16177,
    "h": 111.8
  },
  "luminance": 0.86108
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F0F76B

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

Preview Lab → · Contrast checker → · Palette generator →

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