#F0F45C#F0F45C

#F0F45C 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#F0F45C
RGBrgb(240, 244, 92)
HSLhsl(62, 87%, 66%)
HSVhsv(62, 62%, 96%)
CMYKcmyk(1.6%, 0%, 62.3%, 4.3%)
CIE-LABlab(93.45, -19.77, 70.23)
CIE-LCHlch(93.45, 72.95, 105.72°)
OKLaboklab(93.67% -0.0603 0.1593)
OKLCHoklch(93.67% 0.17 110.7)
XYZxyz(70.2197, 84.0011, 22.6380)
Luminance0.8400 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F45C #605CF4
analogous
#F4AC5C #F0F45C #A4F45C
triadic
#F0F45C #5CF0F4 #F45CF0
tetradic
#F0F45C #5CF4AC #605CF4 #F45CA4
square
#F0F45C #5CF4AC #605CF4 #F45CA4
split-complementary
#F0F45C #5CA4F4 #AC5CF4
monochromatic
#C3C80E #EBF023 #F0F45C #F5F895 #FBFCCF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0F45C#FFFFFF#000000##000000
##F0F45C1.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)
#FFEA48
Deuteranopia (green-blind)
#FFEE66
Tritanopia (blue-blind)
#FFE6D5
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f0f45c;
/* rgb */ color: rgb(240, 244, 92);
/* oklch */ color: oklch(93.7% 0.170 110.7);
Tailwind
colors: {
  custom: {
    50: '#f8f791',
    500: '#f0f45c',
    950: '#000000',
  },
}
SCSS
$custom: #f0f45c;
$custom-light: #f8f791;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f45c",
  "rgb": {
    "r": 240,
    "g": 244,
    "b": 92
  },
  "hsl": {
    "h": 61.579,
    "s": 87.356,
    "l": 65.882
  },
  "oklch": {
    "l": 0.93673,
    "c": 0.17035,
    "h": 110.7
  },
  "luminance": 0.83999
}

Semantic roles & 50–950 ramp

primary
#F0F45C
secondary
#332FC5
accent
#02E408
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F0F45C

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

Preview Lab → · Contrast checker → · Palette generator →

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