#F0F35F#F0F35F

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

Color values

HEX#F0F35F
RGBrgb(240, 243, 95)
HSLhsl(61, 86%, 66%)
HSVhsv(61, 61%, 95%)
CMYKcmyk(1.2%, 0%, 60.9%, 4.7%)
CIE-LABlab(93.21, -19.10, 68.77)
CIE-LCHlch(93.21, 71.37, 105.52°)
OKLaboklab(93.49% -0.0581 0.1567)
OKLCHoklch(93.49% 0.167 110.3)
XYZxyz(70.0534, 83.4545, 23.2423)
Luminance0.8345 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F35F #625FF3
analogous
#F3AC5F #F0F35F #A6F35F
triadic
#F0F35F #5FF0F3 #F35FF0
tetradic
#F0F35F #5FF3AC #625FF3 #F35FA6
square
#F0F35F #5FF3AC #625FF3 #F35FA6
split-complementary
#F0F35F #5FA6F3 #AC5FF3
monochromatic
#C5C90F #EBEF26 #F0F35F #F5F798 #FBFCD1

Accessibility & contrast

On white

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

On black

17.69
#F0F35F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F35F
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F35F#FFFFFF#000000##000000
##F0F35F1.001.1917.6917.69
#FFFFFF1.191.0021.0021.00
#00000017.6921.001.001.00
##00000017.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0f35f;
/* rgb */ color: rgb(240, 243, 95);
/* oklch */ color: oklch(93.5% 0.167 110.3);
Tailwind
colors: {
  custom: {
    50: '#f8f692',
    500: '#f0f35f',
    950: '#000000',
  },
}
SCSS
$custom: #f0f35f;
$custom-light: #f8f692;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f35f",
  "rgb": {
    "r": 240,
    "g": 243,
    "b": 95
  },
  "hsl": {
    "h": 61.216,
    "s": 86.047,
    "l": 66.275
  },
  "oklch": {
    "l": 0.9349,
    "c": 0.1671,
    "h": 110.3
  },
  "luminance": 0.83453
}

Semantic roles & 50–950 ramp

primary
#F0F35F
secondary
#3431C5
accent
#03E307
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F0F35F

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

Preview Lab → · Contrast checker → · Palette generator →

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