#F0E56D#F0E56D

#F0E56D is a very light, vivid yellow. Relative luminance 0.757; OKLCH L 90.7% C 0.142 H 104.0°. Best body text is #000000 at 16.13:1 contrast (WCAG AA passes).

Color values

HEX#F0E56D
RGBrgb(240, 229, 109)
HSLhsl(55, 81%, 68%)
HSVhsv(55, 55%, 94%)
CMYKcmyk(0%, 4.6%, 54.6%, 5.9%)
CIE-LABlab(89.71, -11.27, 58.88)
CIE-LCHlch(89.71, 59.95, 100.83°)
OKLaboklab(90.74% -0.0344 0.1373)
OKLCHoklch(90.74% 0.142 104)
XYZxyz(66.7169, 75.6702, 25.5565)
Luminance0.7567 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E56D #6D78F0
analogous
#F0A36D #F0E56D #B9F06D
triadic
#F0E56D #6DF0E5 #E56DF0
tetradic
#F0E56D #6DF0A3 #6D78F0 #F06DB9
square
#F0E56D #6DF0A3 #6D78F0 #F06DB9
split-complementary
#F0E56D #6DB9F0 #A36DF0
monochromatic
#CDBE15 #EADB36 #F0E56D #F6EFA4 #FBF9DC

Accessibility & contrast

On white

1.30
#F0E56D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.13
#F0E56D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E56D
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E56D#FFFFFF#000000##000000
##F0E56D1.001.3016.1316.13
#FFFFFF1.301.0021.0021.00
#00000016.1321.001.001.00
##00000016.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DE61
Deuteranopia (green-blind)
#FAE473
Tritanopia (blue-blind)
#FFD8CA
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f0e56d;
/* rgb */ color: rgb(240, 229, 109);
/* oklch */ color: oklch(90.7% 0.142 104.0);
Tailwind
colors: {
  custom: {
    50: '#f7ed9a',
    500: '#f0e56d',
    950: '#000000',
  },
}
SCSS
$custom: #f0e56d;
$custom-light: #f7ed9a;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e56d",
  "rgb": {
    "r": 240,
    "g": 229,
    "b": 109
  },
  "hsl": {
    "h": 54.962,
    "s": 81.366,
    "l": 68.431
  },
  "oklch": {
    "l": 0.90737,
    "c": 0.14153,
    "h": 104
  },
  "luminance": 0.75668
}

Semantic roles & 50–950 ramp

primary
#F0E56D
secondary
#3945C9
accent
#1ADE08
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F0E56D

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

Preview Lab → · Contrast checker → · Palette generator →

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