#F0F56D#F0F56D

#F0F56D is a very light, vivid yellow. Relative luminance 0.849; OKLCH L 94.0% C 0.158 H 111.0°. Best body text is #000000 at 17.99:1 contrast (WCAG AA passes).

Color values

HEX#F0F56D
RGBrgb(240, 245, 109)
HSLhsl(62, 87%, 69%)
HSVhsv(62, 56%, 96%)
CMYKcmyk(2%, 0%, 55.5%, 3.9%)
CIE-LABlab(93.86, -19.10, 63.60)
CIE-LCHlch(93.86, 66.40, 106.71°)
OKLaboklab(94.04% -0.0566 0.1474)
OKLCHoklch(94.04% 0.158 111)
XYZxyz(71.3497, 84.9358, 27.1007)
Luminance0.8493 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F56D #726DF5
analogous
#F5B66D #F0F56D #ACF56D
triadic
#F0F56D #6DF0F5 #F56DF0
tetradic
#F0F56D #6DF5B6 #726DF5 #F56DAC
square
#F0F56D #6DF5B6 #726DF5 #F56DAC
split-complementary
#F0F56D #6DACF5 #B66DF5
monochromatic
#D1D90F #EAF134 #F0F56D #F6F9A6 #FCFDE0

Accessibility & contrast

On white

1.17
#F0F56D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.99
#F0F56D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F56D
17.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F56D#FFFFFF#000000##000000
##F0F56D1.001.1717.9917.99
#FFFFFF1.171.0021.0021.00
#00000017.9921.001.001.00
##00000017.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB5F
Deuteranopia (green-blind)
#FFEF75
Tritanopia (blue-blind)
#FFE8D7
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f0f56d;
/* rgb */ color: rgb(240, 245, 109);
/* oklch */ color: oklch(94.0% 0.158 111.0);
Tailwind
colors: {
  custom: {
    50: '#f8f89b',
    500: '#f0f56d',
    950: '#000000',
  },
}
SCSS
$custom: #f0f56d;
$custom-light: #f8f89b;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f56d",
  "rgb": {
    "r": 240,
    "g": 245,
    "b": 109
  },
  "hsl": {
    "h": 62.206,
    "s": 87.179,
    "l": 69.412
  },
  "oklch": {
    "l": 0.94042,
    "c": 0.15794,
    "h": 111
  },
  "luminance": 0.84934
}

Semantic roles & 50–950 ramp

primary
#F0F56D
secondary
#3D37CF
accent
#02E40A
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F0F56D

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

Preview Lab → · Contrast checker → · Palette generator →

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