#F0E76C#F0E76C

#F0E76C is a very light, vivid yellow. Relative luminance 0.768; OKLCH L 91.1% C 0.144 H 105.1°. Best body text is #000000 at 16.35:1 contrast (WCAG AA passes).

Color values

HEX#F0E76C
RGBrgb(240, 231, 108)
HSLhsl(56, 81%, 68%)
HSVhsv(56, 55%, 94%)
CMYKcmyk(0%, 3.7%, 55%, 5.9%)
CIE-LABlab(90.21, -12.34, 59.91)
CIE-LCHlch(90.21, 61.17, 101.63°)
OKLaboklab(91.14% -0.0375 0.1394)
OKLCHoklch(91.14% 0.144 105.1)
XYZxyz(67.2199, 76.7620, 25.4601)
Luminance0.7676 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E76C #6C75F0
analogous
#F0A56C #F0E76C #B7F06C
triadic
#F0E76C #6CF0E7 #E76CF0
tetradic
#F0E76C #6CF0A5 #6C75F0 #F06CB7
square
#F0E76C #6CF0A5 #6C75F0 #F06CB7
split-complementary
#F0E76C #6CB7F0 #A56CF0
monochromatic
#CDC015 #EADE34 #F0E76C #F6F0A4 #FBF9DB

Accessibility & contrast

On white

1.28
#F0E76C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.35
#F0E76C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E76C
16.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E76C#FFFFFF#000000##000000
##F0E76C1.001.2816.3516.35
#FFFFFF1.281.0021.0021.00
#00000016.3521.001.001.00
##00000016.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E060
Deuteranopia (green-blind)
#FCE672
Tritanopia (blue-blind)
#FFDACC
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f0e76c;
/* rgb */ color: rgb(240, 231, 108);
/* oklch */ color: oklch(91.1% 0.144 105.1);
Tailwind
colors: {
  custom: {
    50: '#f7ee9a',
    500: '#f0e76c',
    950: '#000000',
  },
}
SCSS
$custom: #f0e76c;
$custom-light: #f7ee9a;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e76c",
  "rgb": {
    "r": 240,
    "g": 231,
    "b": 108
  },
  "hsl": {
    "h": 55.909,
    "s": 81.481,
    "l": 68.235
  },
  "oklch": {
    "l": 0.91136,
    "c": 0.14436,
    "h": 105.1
  },
  "luminance": 0.7676
}

Semantic roles & 50–950 ramp

primary
#F0E76C
secondary
#3842C8
accent
#16DE08
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F0E76C

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

Preview Lab → · Contrast checker → · Palette generator →

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