#F0F35D#F0F35D

#F0F35D is a very light, vivid yellow. Relative luminance 0.834; OKLCH L 93.5% C 0.169 H 110.3°. Best body text is #000000 at 17.68:1 contrast (WCAG AA passes).

Color values

HEX#F0F35D
RGBrgb(240, 243, 93)
HSLhsl(61, 86%, 66%)
HSVhsv(61, 62%, 95%)
CMYKcmyk(1.2%, 0%, 61.7%, 4.7%)
CIE-LABlab(93.20, -19.22, 69.56)
CIE-LCHlch(93.20, 72.17, 105.45°)
OKLaboklab(93.47% -0.0586 0.1581)
OKLCHoklch(93.47% 0.169 110.3)
XYZxyz(69.9636, 83.4186, 22.7697)
Luminance0.8342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F35D #605DF3
analogous
#F3AB5D #F0F35D #A5F35D
triadic
#F0F35D #5DF0F3 #F35DF0
tetradic
#F0F35D #5DF3AB #605DF3 #F35DA5
square
#F0F35D #5DF3AB #605DF3 #F35DA5
split-complementary
#F0F35D #5DA5F3 #AB5DF3
monochromatic
#C3C70F #EBEF24 #F0F35D #F5F796 #FBFBCF

Accessibility & contrast

On white

1.19
#F0F35D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.68
#F0F35D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F35D
17.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F35D#FFFFFF#000000##000000
##F0F35D1.001.1917.6817.68
#FFFFFF1.191.0021.0021.00
#00000017.6821.001.001.00
##00000017.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE94A
Deuteranopia (green-blind)
#FFEE66
Tritanopia (blue-blind)
#FFE5D4
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f0f35d;
/* rgb */ color: rgb(240, 243, 93);
/* oklch */ color: oklch(93.5% 0.169 110.3);
Tailwind
colors: {
  custom: {
    50: '#f8f691',
    500: '#f0f35d',
    950: '#000000',
  },
}
SCSS
$custom: #f0f35d;
$custom-light: #f8f691;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f35d",
  "rgb": {
    "r": 240,
    "g": 243,
    "b": 93
  },
  "hsl": {
    "h": 61.2,
    "s": 86.207,
    "l": 65.882
  },
  "oklch": {
    "l": 0.93473,
    "c": 0.1686,
    "h": 110.3
  },
  "luminance": 0.83417
}

Semantic roles & 50–950 ramp

primary
#F0F35D
secondary
#3330C4
accent
#03E307
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F0F35D

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

Preview Lab → · Contrast checker → · Palette generator →

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