#F0F55D#F0F55D

#F0F55D is a very light, vivid yellow. Relative luminance 0.846; OKLCH L 93.9% C 0.171 H 111.1°. Best body text is #000000 at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#F0F55D
RGBrgb(240, 245, 93)
HSLhsl(62, 88%, 66%)
HSVhsv(62, 62%, 96%)
CMYKcmyk(2%, 0%, 62%, 3.9%)
CIE-LABlab(93.72, -20.19, 70.11)
CIE-LCHlch(93.72, 72.96, 106.06°)
OKLaboklab(93.89% -0.0613 0.1592)
OKLCHoklch(93.89% 0.171 111.1)
XYZxyz(70.5654, 84.6221, 22.9703)
Luminance0.8462 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F55D #625DF5
analogous
#F5AE5D #F0F55D #A4F55D
triadic
#F0F55D #5DF0F5 #F55DF0
tetradic
#F0F55D #5DF5AE #625DF5 #F55DA4
square
#F0F55D #5DF5AE #625DF5 #F55DA4
split-complementary
#F0F55D #5DA4F5 #AE5DF5
monochromatic
#C5CB0D #EBF123 #F0F55D #F5F997 #FBFCD0

Accessibility & contrast

On white

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

On black

17.92
#F0F55D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F55D
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F55D#FFFFFF#000000##000000
##F0F55D1.001.1717.9217.92
#FFFFFF1.171.0021.0021.00
#00000017.9221.001.001.00
##00000017.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB4A
Deuteranopia (green-blind)
#FFEF67
Tritanopia (blue-blind)
#FFE7D5
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f0f55d;
/* rgb */ color: rgb(240, 245, 93);
/* oklch */ color: oklch(93.9% 0.171 111.1);
Tailwind
colors: {
  custom: {
    50: '#f8f891',
    500: '#f0f55d',
    950: '#000000',
  },
}
SCSS
$custom: #f0f55d;
$custom-light: #f8f891;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f55d",
  "rgb": {
    "r": 240,
    "g": 245,
    "b": 93
  },
  "hsl": {
    "h": 61.974,
    "s": 88.372,
    "l": 66.275
  },
  "oklch": {
    "l": 0.9389,
    "c": 0.17065,
    "h": 111.1
  },
  "luminance": 0.8462
}

Semantic roles & 50–950 ramp

primary
#F0F55D
secondary
#342FC7
accent
#01E508
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F0F55D

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

Preview Lab → · Contrast checker → · Palette generator →

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