#F0E56C#F0E56C

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

Color values

HEX#F0E56C
RGBrgb(240, 229, 108)
HSLhsl(55, 81%, 68%)
HSVhsv(55, 55%, 94%)
CMYKcmyk(0%, 4.6%, 55%, 5.9%)
CIE-LABlab(89.70, -11.34, 59.32)
CIE-LCHlch(89.70, 60.39, 100.83°)
OKLaboklab(90.73% -0.0347 0.1381)
OKLCHoklch(90.73% 0.142 104.1)
XYZxyz(66.6634, 75.6488, 25.2746)
Luminance0.7565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E56C #6C77F0
analogous
#F0A36C #F0E56C #B9F06C
triadic
#F0E56C #6CF0E5 #E56CF0
tetradic
#F0E56C #6CF0A3 #6C77F0 #F06CB9
square
#F0E56C #6CF0A3 #6C77F0 #F06CB9
split-complementary
#F0E56C #6CB9F0 #A36CF0
monochromatic
#CDBD15 #EADB34 #F0E56C #F6EFA4 #FBF9DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0E56C#FFFFFF#000000##000000
##F0E56C1.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)
#F7DE60
Deuteranopia (green-blind)
#FAE472
Tritanopia (blue-blind)
#FFD8CA
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f0e56c;
/* rgb */ color: rgb(240, 229, 108);
/* oklch */ color: oklch(90.7% 0.142 104.1);
Tailwind
colors: {
  custom: {
    50: '#f7ed9a',
    500: '#f0e56c',
    950: '#000000',
  },
}
SCSS
$custom: #f0e56c;
$custom-light: #f7ed9a;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e56c",
  "rgb": {
    "r": 240,
    "g": 229,
    "b": 108
  },
  "hsl": {
    "h": 55,
    "s": 81.481,
    "l": 68.235
  },
  "oklch": {
    "l": 0.90726,
    "c": 0.14243,
    "h": 104.1
  },
  "luminance": 0.75647
}

Semantic roles & 50–950 ramp

primary
#F0E56C
secondary
#3844C8
accent
#1ADE08
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F0E56C

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

Preview Lab → · Contrast checker → · Palette generator →

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