#F0E76D#F0E76D

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

Color values

HEX#F0E76D
RGBrgb(240, 231, 109)
HSLhsl(56, 81%, 68%)
HSVhsv(56, 55%, 94%)
CMYKcmyk(0%, 3.7%, 54.6%, 5.9%)
CIE-LABlab(90.22, -12.26, 59.47)
CIE-LCHlch(90.22, 60.72, 101.65°)
OKLaboklab(91.15% -0.0372 0.1386)
OKLCHoklch(91.15% 0.143 105)
XYZxyz(67.2735, 76.7834, 25.7420)
Luminance0.7678 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E76D #6D76F0
analogous
#F0A56D #F0E76D #B7F06D
triadic
#F0E76D #6DF0E7 #E76DF0
tetradic
#F0E76D #6DF0A5 #6D76F0 #F06DB7
square
#F0E76D #6DF0A5 #6D76F0 #F06DB7
split-complementary
#F0E76D #6DB7F0 #A56DF0
monochromatic
#CDC115 #EADE36 #F0E76D #F6F0A4 #FBF9DC

Accessibility & contrast

On white

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

On black

16.36
#F0E76D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E76D
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E76D#FFFFFF#000000##000000
##F0E76D1.001.2816.3616.36
#FFFFFF1.281.0021.0021.00
#00000016.3621.001.001.00
##00000016.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0e76d;
/* rgb */ color: rgb(240, 231, 109);
/* oklch */ color: oklch(91.1% 0.143 105.0);
Tailwind
colors: {
  custom: {
    50: '#f7ee9a',
    500: '#f0e76d',
    950: '#000000',
  },
}
SCSS
$custom: #f0e76d;
$custom-light: #f7ee9a;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e76d",
  "rgb": {
    "r": 240,
    "g": 231,
    "b": 109
  },
  "hsl": {
    "h": 55.878,
    "s": 81.366,
    "l": 68.431
  },
  "oklch": {
    "l": 0.91147,
    "c": 0.14348,
    "h": 105
  },
  "luminance": 0.76781
}

Semantic roles & 50–950 ramp

primary
#F0E76D
secondary
#3942C9
accent
#16DE08
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F0E76D

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

Preview Lab → · Contrast checker → · Palette generator →

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