#F0F35E#F0F35E

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

Color values

HEX#F0F35E
RGBrgb(240, 243, 94)
HSLhsl(61, 86%, 66%)
HSVhsv(61, 61%, 95%)
CMYKcmyk(1.2%, 0%, 61.3%, 4.7%)
CIE-LABlab(93.21, -19.16, 69.17)
CIE-LCHlch(93.21, 71.77, 105.48°)
OKLaboklab(93.48% -0.0583 0.1574)
OKLCHoklch(93.48% 0.168 110.3)
XYZxyz(70.0082, 83.4364, 23.0045)
Luminance0.8344 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F35E #615EF3
analogous
#F3AB5E #F0F35E #A5F35E
triadic
#F0F35E #5EF0F3 #F35EF0
tetradic
#F0F35E #5EF3AB #615EF3 #F35EA5
square
#F0F35E #5EF3AB #615EF3 #F35EA5
split-complementary
#F0F35E #5EA5F3 #AB5EF3
monochromatic
#C4C80F #EBEF25 #F0F35E #F5F797 #FBFBD0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0F35E#FFFFFF#000000##000000
##F0F35E1.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)
#FFE94B
Deuteranopia (green-blind)
#FFEE67
Tritanopia (blue-blind)
#FFE5D4
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f0f35e;
/* rgb */ color: rgb(240, 243, 94);
/* oklch */ color: oklch(93.5% 0.168 110.3);
Tailwind
colors: {
  custom: {
    50: '#f8f692',
    500: '#f0f35e',
    950: '#000000',
  },
}
SCSS
$custom: #f0f35e;
$custom-light: #f8f692;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f35e",
  "rgb": {
    "r": 240,
    "g": 243,
    "b": 94
  },
  "hsl": {
    "h": 61.208,
    "s": 86.127,
    "l": 66.078
  },
  "oklch": {
    "l": 0.93481,
    "c": 0.16785,
    "h": 110.3
  },
  "luminance": 0.83435
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F0F35E

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

Preview Lab → · Contrast checker → · Palette generator →

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