#F0F45D#F0F45D

#F0F45D is a very light, vivid yellow. Relative luminance 0.840; OKLCH L 93.7% C 0.170 H 110.7°. Best body text is #000000 at 17.80:1 contrast (WCAG AA passes).

Color values

HEX#F0F45D
RGBrgb(240, 244, 93)
HSLhsl(62, 87%, 66%)
HSVhsv(62, 62%, 96%)
CMYKcmyk(1.6%, 0%, 61.9%, 4.3%)
CIE-LABlab(93.46, -19.70, 69.84)
CIE-LCHlch(93.46, 72.56, 105.76°)
OKLaboklab(93.68% -0.06 0.1587)
OKLCHoklch(93.68% 0.17 110.7)
XYZxyz(70.2637, 84.0187, 22.8697)
Luminance0.8402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F45D #615DF4
analogous
#F4AC5D #F0F45D #A4F45D
triadic
#F0F45D #5DF0F4 #F45DF0
tetradic
#F0F45D #5DF4AC #615DF4 #F45DA4
square
#F0F45D #5DF4AC #615DF4 #F45DA4
split-complementary
#F0F45D #5DA4F4 #AC5DF4
monochromatic
#C4C90E #EBF024 #F0F45D #F5F896 #FBFCD0

Accessibility & contrast

On white

1.18
#F0F45D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.80
#F0F45D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F45D
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F45D#FFFFFF#000000##000000
##F0F45D1.001.1817.8017.80
#FFFFFF1.181.0021.0021.00
#00000017.8021.001.001.00
##00000017.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA4A
Deuteranopia (green-blind)
#FFEE67
Tritanopia (blue-blind)
#FFE6D5
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f0f45d;
/* rgb */ color: rgb(240, 244, 93);
/* oklch */ color: oklch(93.7% 0.170 110.7);
Tailwind
colors: {
  custom: {
    50: '#f8f791',
    500: '#f0f45d',
    950: '#000000',
  },
}
SCSS
$custom: #f0f45d;
$custom-light: #f8f791;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f45d",
  "rgb": {
    "r": 240,
    "g": 244,
    "b": 93
  },
  "hsl": {
    "h": 61.589,
    "s": 87.283,
    "l": 66.078
  },
  "oklch": {
    "l": 0.93681,
    "c": 0.16962,
    "h": 110.7
  },
  "luminance": 0.84017
}

Semantic roles & 50–950 ramp

primary
#F0F45D
secondary
#3430C6
accent
#02E408
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F0F45D

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

Preview Lab → · Contrast checker → · Palette generator →

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