#F0F55E#F0F55E

#F0F55E is a very light, vivid yellow. Relative luminance 0.846; OKLCH L 93.9% C 0.170 H 111.1°. Best body text is #000000 at 17.93:1 contrast (WCAG AA passes).

Color values

HEX#F0F55E
RGBrgb(240, 245, 94)
HSLhsl(62, 88%, 66%)
HSVhsv(62, 62%, 96%)
CMYKcmyk(2%, 0%, 61.6%, 3.9%)
CIE-LABlab(93.73, -20.12, 69.72)
CIE-LCHlch(93.73, 72.57, 106.10°)
OKLaboklab(93.9% -0.0611 0.1586)
OKLCHoklch(93.9% 0.17 111.1)
XYZxyz(70.6100, 84.6399, 23.2051)
Luminance0.8464 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F55E #635EF5
analogous
#F5AF5E #F0F55E #A5F55E
triadic
#F0F55E #5EF0F5 #F55EF0
tetradic
#F0F55E #5EF5AF #635EF5 #F55EA5
square
#F0F55E #5EF5AF #635EF5 #F55EA5
split-complementary
#F0F55E #5EA5F5 #AF5EF5
monochromatic
#C6CC0D #EBF124 #F0F55E #F5F998 #FBFCD1

Accessibility & contrast

On white

1.17
#F0F55E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.93
#F0F55E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F55E
17.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F55E#FFFFFF#000000##000000
##F0F55E1.001.1717.9317.93
#FFFFFF1.171.0021.0021.00
#00000017.9321.001.001.00
##00000017.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB4B
Deuteranopia (green-blind)
#FFEF68
Tritanopia (blue-blind)
#FFE7D6
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f0f55e;
/* rgb */ color: rgb(240, 245, 94);
/* oklch */ color: oklch(93.9% 0.170 111.1);
Tailwind
colors: {
  custom: {
    50: '#f8f892',
    500: '#f0f55e',
    950: '#000000',
  },
}
SCSS
$custom: #f0f55e;
$custom-light: #f8f892;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f55e",
  "rgb": {
    "r": 240,
    "g": 245,
    "b": 94
  },
  "hsl": {
    "h": 61.987,
    "s": 88.304,
    "l": 66.471
  },
  "oklch": {
    "l": 0.93899,
    "c": 0.16991,
    "h": 111.1
  },
  "luminance": 0.84638
}

Semantic roles & 50–950 ramp

primary
#F0F55E
secondary
#342FC8
accent
#01E508
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F0F55E

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

Preview Lab → · Contrast checker → · Palette generator →

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