#F0F25E#F0F25E

#F0F25E is a very light, vivid yellow. Relative luminance 0.828; OKLCH L 93.3% C 0.167 H 110.0°. Best body text is #000000 at 17.57:1 contrast (WCAG AA passes).

Color values

HEX#F0F25E
RGBrgb(240, 242, 94)
HSLhsl(61, 85%, 66%)
HSVhsv(61, 61%, 95%)
CMYKcmyk(0.8%, 0%, 61.2%, 5.1%)
CIE-LABlab(92.94, -18.68, 68.89)
CIE-LCHlch(92.94, 71.38, 105.17°)
OKLaboklab(93.27% -0.057 0.1568)
OKLCHoklch(93.27% 0.167 110)
XYZxyz(69.7098, 82.8395, 22.9050)
Luminance0.8284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F25E #605EF2
analogous
#F2AA5E #F0F25E #A6F25E
triadic
#F0F25E #5EF0F2 #F25EF0
tetradic
#F0F25E #5EF2AA #605EF2 #F25EA6
square
#F0F25E #5EF2AA #605EF2 #F25EA6
split-complementary
#F0F25E #5EA6F2 #AA5EF2
monochromatic
#C3C610 #EBED25 #F0F25E #F5F797 #FBFBCF

Accessibility & contrast

On white

1.20
#F0F25E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.57
#F0F25E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F25E
17.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F25E#FFFFFF#000000##000000
##F0F25E1.001.2017.5717.57
#FFFFFF1.201.0021.0021.00
#00000017.5721.001.001.00
##00000017.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE84C
Deuteranopia (green-blind)
#FFED67
Tritanopia (blue-blind)
#FFE4D3
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f0f25e;
/* rgb */ color: rgb(240, 242, 94);
/* oklch */ color: oklch(93.3% 0.167 110.0);
Tailwind
colors: {
  custom: {
    50: '#f8f692',
    500: '#f0f25e',
    950: '#000000',
  },
}
SCSS
$custom: #f0f25e;
$custom-light: #f8f692;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f25e",
  "rgb": {
    "r": 240,
    "g": 242,
    "b": 94
  },
  "hsl": {
    "h": 60.811,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.93273,
    "c": 0.16683,
    "h": 110
  },
  "luminance": 0.82838
}

Semantic roles & 50–950 ramp

primary
#F0F25E
secondary
#3331C3
accent
#04E207
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F0F25E

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

Preview Lab → · Contrast checker → · Palette generator →

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