#F0F45B#F0F45B

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

Color values

HEX#F0F45B
RGBrgb(240, 244, 91)
HSLhsl(62, 87%, 66%)
HSVhsv(62, 63%, 96%)
CMYKcmyk(1.6%, 0%, 62.7%, 4.3%)
CIE-LABlab(93.44, -19.83, 70.61)
CIE-LCHlch(93.44, 73.34, 105.68°)
OKLaboklab(93.66% -0.0605 0.16)
OKLCHoklch(93.66% 0.171 110.7)
XYZxyz(70.1763, 83.9837, 22.4093)
Luminance0.8398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F45B #5F5BF4
analogous
#F4AC5B #F0F45B #A3F45B
triadic
#F0F45B #5BF0F4 #F45BF0
tetradic
#F0F45B #5BF4AC #5F5BF4 #F45BA3
square
#F0F45B #5BF4AC #5F5BF4 #F45BA3
split-complementary
#F0F45B #5BA3F4 #AC5BF4
monochromatic
#C2C70D #EBF022 #F0F45B #F5F894 #FAFCCE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0F45B#FFFFFF#000000##000000
##F0F45B1.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)
#FFEA47
Deuteranopia (green-blind)
#FFEE65
Tritanopia (blue-blind)
#FFE6D4
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f0f45b;
/* rgb */ color: rgb(240, 244, 91);
/* oklch */ color: oklch(93.7% 0.171 110.7);
Tailwind
colors: {
  custom: {
    50: '#f8f790',
    500: '#f0f45b',
    950: '#000000',
  },
}
SCSS
$custom: #f0f45b;
$custom-light: #f8f790;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f45b",
  "rgb": {
    "r": 240,
    "g": 244,
    "b": 91
  },
  "hsl": {
    "h": 61.569,
    "s": 87.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.93664,
    "c": 0.17109,
    "h": 110.7
  },
  "luminance": 0.83982
}

Semantic roles & 50–950 ramp

primary
#F0F45B
secondary
#332FC4
accent
#02E407
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F0F45B

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

Preview Lab → · Contrast checker → · Palette generator →

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