#F0E76A#F0E76A

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

Color values

HEX#F0E76A
RGBrgb(240, 231, 106)
HSLhsl(56, 82%, 68%)
HSVhsv(56, 56%, 94%)
CMYKcmyk(0%, 3.7%, 55.8%, 5.9%)
CIE-LABlab(90.19, -12.48, 60.78)
CIE-LCHlch(90.19, 62.05, 101.61°)
OKLaboklab(91.11% -0.0382 0.141)
OKLCHoklch(91.11% 0.146 105.1)
XYZxyz(67.1147, 76.7199, 24.9059)
Luminance0.7672 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E76A #6A73F0
analogous
#F0A46A #F0E76A #B6F06A
triadic
#F0E76A #6AF0E7 #E76AF0
tetradic
#F0E76A #6AF0A4 #6A73F0 #F06AB6
square
#F0E76A #6AF0A4 #6A73F0 #F06AB6
split-complementary
#F0E76A #6AB6F0 #A46AF0
monochromatic
#CBBF14 #EADE32 #F0E76A #F6F0A2 #FBF9D9

Accessibility & contrast

On white

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

On black

16.34
#F0E76A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E76A
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E76A#FFFFFF#000000##000000
##F0E76A1.001.2816.3416.34
#FFFFFF1.281.0021.0021.00
#00000016.3421.001.001.00
##00000016.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E05D
Deuteranopia (green-blind)
#FCE671
Tritanopia (blue-blind)
#FFD9CB
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f0e76a;
/* rgb */ color: rgb(240, 231, 106);
/* oklch */ color: oklch(91.1% 0.146 105.1);
Tailwind
colors: {
  custom: {
    50: '#f8ee98',
    500: '#f0e76a',
    950: '#000000',
  },
}
SCSS
$custom: #f0e76a;
$custom-light: #f8ee98;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e76a",
  "rgb": {
    "r": 240,
    "g": 231,
    "b": 106
  },
  "hsl": {
    "h": 55.97,
    "s": 81.707,
    "l": 67.843
  },
  "oklch": {
    "l": 0.91114,
    "c": 0.14611,
    "h": 105.1
  },
  "luminance": 0.76718
}

Semantic roles & 50–950 ramp

primary
#F0E76A
secondary
#3640C8
accent
#16DE07
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F0E76A

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

Preview Lab → · Contrast checker → · Palette generator →

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