#F0F25D#F0F25D

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

Color values

HEX#F0F25D
RGBrgb(240, 242, 93)
HSLhsl(61, 85%, 66%)
HSVhsv(61, 62%, 95%)
CMYKcmyk(0.8%, 0%, 61.6%, 5.1%)
CIE-LABlab(92.94, -18.74, 69.28)
CIE-LCHlch(92.94, 71.77, 105.14°)
OKLaboklab(93.26% -0.0573 0.1575)
OKLCHoklch(93.26% 0.168 110)
XYZxyz(69.6652, 82.8217, 22.6702)
Luminance0.8282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F25D #5F5DF2
analogous
#F2A95D #F0F25D #A6F25D
triadic
#F0F25D #5DF0F2 #F25DF0
tetradic
#F0F25D #5DF2A9 #5F5DF2 #F25DA6
square
#F0F25D #5DF2A9 #5F5DF2 #F25DA6
split-complementary
#F0F25D #5DA6F2 #A95DF2
monochromatic
#C2C510 #EBED24 #F0F25D #F5F796 #FAFBCE

Accessibility & contrast

On white

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

On black

17.56
#F0F25D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F25D
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F25D#FFFFFF#000000##000000
##F0F25D1.001.2017.5617.56
#FFFFFF1.201.0021.0021.00
#00000017.5621.001.001.00
##00000017.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0f25d;
/* rgb */ color: rgb(240, 242, 93);
/* oklch */ color: oklch(93.3% 0.168 110.0);
Tailwind
colors: {
  custom: {
    50: '#f8f691',
    500: '#f0f25d',
    950: '#000000',
  },
}
SCSS
$custom: #f0f25d;
$custom-light: #f8f691;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f25d",
  "rgb": {
    "r": 240,
    "g": 242,
    "b": 93
  },
  "hsl": {
    "h": 60.805,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.93264,
    "c": 0.16758,
    "h": 110
  },
  "luminance": 0.8282
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F0F25D

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

Preview Lab → · Contrast checker → · Palette generator →

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