#F0F97D#F0F97D

#F0F97D is a very light, vivid yellow. Relative luminance 0.878; OKLCH L 95.1% C 0.148 H 112.6°. Best body text is #000000 at 18.55:1 contrast (WCAG AA passes).

Color values

HEX#F0F97D
RGBrgb(240, 249, 125)
HSLhsl(64, 91%, 73%)
HSVhsv(64, 50%, 98%)
CMYKcmyk(3.6%, 0%, 49.8%, 2.4%)
CIE-LABlab(95.06, -19.74, 57.87)
CIE-LCHlch(95.06, 61.14, 108.83°)
OKLaboklab(95.06% -0.0569 0.1367)
OKLCHoklch(95.06% 0.148 112.6)
XYZxyz(73.5139, 87.7586, 32.4645)
Luminance0.8776 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F97D #867DF9
analogous
#F9C47D #F0F97D #B2F97D
triadic
#F0F97D #7DF0F9 #F97DF0
tetradic
#F0F97D #7DF9C4 #867DF9 #F97DB2
square
#F0F97D #7DF9C4 #867DF9 #F97DB2
split-complementary
#F0F97D #7DB2F9 #C47DF9
monochromatic
#E0F00B #E9F642 #F0F97D #F7FCB7 #FCFEE2

Accessibility & contrast

On white

1.13
#F0F97D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.55
#F0F97D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F97D
18.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F97D#FFFFFF#000000##000000
##F0F97D1.001.1318.5518.55
#FFFFFF1.131.0021.0021.00
#00000018.5521.001.001.00
##00000018.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF72
Deuteranopia (green-blind)
#FFF284
Tritanopia (blue-blind)
#FDEDDD
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f0f97d;
/* rgb */ color: rgb(240, 249, 125);
/* oklch */ color: oklch(95.1% 0.148 112.6);
Tailwind
colors: {
  custom: {
    50: '#f7fba5',
    500: '#f0f97d',
    950: '#000000',
  },
}
SCSS
$custom: #f0f97d;
$custom-light: #f7fba5;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f97d",
  "rgb": {
    "r": 240,
    "g": 249,
    "b": 125
  },
  "hsl": {
    "h": 64.355,
    "s": 91.176,
    "l": 73.333
  },
  "oklch": {
    "l": 0.95055,
    "c": 0.14802,
    "h": 112.6
  },
  "luminance": 0.87757
}

Semantic roles & 50–950 ramp

primary
#F0F97D
secondary
#4F44D6
accent
#00E611
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #F0F97D

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

Preview Lab → · Contrast checker → · Palette generator →

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