#F0F95A#F0F95A

#F0F95A is a very light, vivid yellow. Relative luminance 0.870; OKLCH L 94.7% C 0.177 H 112.4°. Best body text is #000000 at 18.40:1 contrast (WCAG AA passes).

Color values

HEX#F0F95A
RGBrgb(240, 249, 90)
HSLhsl(63, 93%, 66%)
HSVhsv(63, 64%, 98%)
CMYKcmyk(3.6%, 0%, 63.9%, 2.4%)
CIE-LABlab(94.75, -22.28, 72.36)
CIE-LCHlch(94.75, 75.72, 107.11°)
OKLaboklab(94.7% -0.0675 0.1636)
OKLCHoklch(94.7% 0.177 112.4)
XYZxyz(71.6583, 87.0164, 22.6919)
Luminance0.8701 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F95A #635AF9
analogous
#F9B35A #F0F95A #A1F95A
triadic
#F0F95A #5AF0F9 #F95AF0
tetradic
#F0F95A #5AF9B3 #635AF9 #F95AA1
square
#F0F95A #5AF9B3 #635AF9 #F95AA1
split-complementary
#F0F95A #5AA1F9 #B35AF9
monochromatic
#C6D108 #EBF71F #F0F95A #F5FB95 #FBFDD0

Accessibility & contrast

On white

1.14
#F0F95A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.40
#F0F95A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F95A
18.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F95A#FFFFFF#000000##000000
##F0F95A1.001.1418.4018.40
#FFFFFF1.141.0021.0021.00
#00000018.4021.001.001.00
##00000018.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE44
Deuteranopia (green-blind)
#FFF265
Tritanopia (blue-blind)
#FFEBD8
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f0f95a;
/* rgb */ color: rgb(240, 249, 90);
/* oklch */ color: oklch(94.7% 0.177 112.4);
Tailwind
colors: {
  custom: {
    50: '#f8fb90',
    500: '#f0f95a',
    950: '#000000',
  },
}
SCSS
$custom: #f0f95a;
$custom-light: #f8fb90;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f95a",
  "rgb": {
    "r": 240,
    "g": 249,
    "b": 90
  },
  "hsl": {
    "h": 63.396,
    "s": 92.982,
    "l": 66.471
  },
  "oklch": {
    "l": 0.94703,
    "c": 0.17696,
    "h": 112.4
  },
  "luminance": 0.87015
}

Semantic roles & 50–950 ramp

primary
#F0F95A
secondary
#342BCC
accent
#00E60D
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F0F95A

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

Preview Lab → · Contrast checker → · Palette generator →

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