#F0F66B#F0F66B

#F0F66B is a very light, vivid yellow. Relative luminance 0.855; OKLCH L 94.2% C 0.161 H 111.4°. Best body text is #000000 at 18.10:1 contrast (WCAG AA passes).

Color values

HEX#F0F66B
RGBrgb(240, 246, 107)
HSLhsl(63, 89%, 69%)
HSVhsv(63, 57%, 96%)
CMYKcmyk(2.4%, 0%, 56.5%, 3.5%)
CIE-LABlab(94.10, -19.73, 64.73)
CIE-LCHlch(94.10, 67.67, 106.95°)
OKLaboklab(94.23% -0.0586 0.1496)
OKLCHoklch(94.23% 0.161 111.4)
XYZxyz(71.5466, 85.4999, 26.6413)
Luminance0.8550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F66B #716BF6
analogous
#F6B76B #F0F66B #ABF66B
triadic
#F0F66B #6BF0F6 #F66BF0
tetradic
#F0F66B #6BF6B7 #716BF6 #F66BAB
square
#F0F66B #6BF6B7 #716BF6 #F66BAB
split-complementary
#F0F66B #6BABF6 #B76BF6
monochromatic
#D1D90D #EAF231 #F0F66B #F6FAA5 #FCFDDE

Accessibility & contrast

On white

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

On black

18.10
#F0F66B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F66B
18.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F66B#FFFFFF#000000##000000
##F0F66B1.001.1618.1018.10
#FFFFFF1.161.0021.0021.00
#00000018.1021.001.001.00
##00000018.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC5C
Deuteranopia (green-blind)
#FFF073
Tritanopia (blue-blind)
#FFE9D8
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f0f66b;
/* rgb */ color: rgb(240, 246, 107);
/* oklch */ color: oklch(94.2% 0.161 111.4);
Tailwind
colors: {
  custom: {
    50: '#f8f99a',
    500: '#f0f66b',
    950: '#000000',
  },
}
SCSS
$custom: #f0f66b;
$custom-light: #f8f99a;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f66b",
  "rgb": {
    "r": 240,
    "g": 246,
    "b": 107
  },
  "hsl": {
    "h": 62.59,
    "s": 88.535,
    "l": 69.216
  },
  "oklch": {
    "l": 0.9423,
    "c": 0.1607,
    "h": 111.4
  },
  "luminance": 0.85498
}

Semantic roles & 50–950 ramp

primary
#F0F66B
secondary
#3C36D0
accent
#00E50A
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F0F66B

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

Preview Lab → · Contrast checker → · Palette generator →

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