#F0F35C#F0F35C

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

Color values

HEX#F0F35C
RGBrgb(240, 243, 92)
HSLhsl(61, 86%, 66%)
HSVhsv(61, 62%, 95%)
CMYKcmyk(1.2%, 0%, 62.1%, 4.7%)
CIE-LABlab(93.19, -19.28, 69.95)
CIE-LCHlch(93.19, 72.56, 105.41°)
OKLaboklab(93.46% -0.0589 0.1588)
OKLCHoklch(93.46% 0.169 110.4)
XYZxyz(69.9196, 83.4010, 22.5380)
Luminance0.8340 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F35C #5F5CF3
analogous
#F3AA5C #F0F35C #A4F35C
triadic
#F0F35C #5CF0F3 #F35CF0
tetradic
#F0F35C #5CF3AA #5F5CF3 #F35CA4
square
#F0F35C #5CF3AA #5F5CF3 #F35CA4
split-complementary
#F0F35C #5CA4F3 #AA5CF3
monochromatic
#C2C60F #EBEF23 #F0F35C #F5F795 #FAFBCE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0F35C#FFFFFF#000000##000000
##F0F35C1.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)
#FFE949
Deuteranopia (green-blind)
#FFEE66
Tritanopia (blue-blind)
#FFE5D4
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f0f35c;
/* rgb */ color: rgb(240, 243, 92);
/* oklch */ color: oklch(93.5% 0.169 110.4);
Tailwind
colors: {
  custom: {
    50: '#f8f691',
    500: '#f0f35c',
    950: '#000000',
  },
}
SCSS
$custom: #f0f35c;
$custom-light: #f8f691;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f35c",
  "rgb": {
    "r": 240,
    "g": 243,
    "b": 92
  },
  "hsl": {
    "h": 61.192,
    "s": 86.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.93464,
    "c": 0.16933,
    "h": 110.4
  },
  "luminance": 0.83399
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F0F35C

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

Preview Lab → · Contrast checker → · Palette generator →

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