#F0F153#F0F153

#F0F153 is a very light, vivid yellow. Relative luminance 0.821; OKLCH L 93.0% C 0.174 H 109.7°. Best body text is #000000 at 17.41:1 contrast (WCAG AA passes).

Color values

HEX#F0F153
RGBrgb(240, 241, 83)
HSLhsl(60, 85%, 64%)
HSVhsv(60, 66%, 95%)
CMYKcmyk(0.4%, 0%, 65.6%, 5.5%)
CIE-LABlab(92.60, -18.84, 72.82)
CIE-LCHlch(92.60, 75.22, 104.51°)
OKLaboklab(92.97% -0.0585 0.1635)
OKLCHoklch(92.97% 0.174 109.7)
XYZxyz(68.9541, 82.0623, 20.3893)
Luminance0.8206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F153 #5453F1
analogous
#F1A353 #F0F153 #A1F153
triadic
#F0F153 #53F0F1 #F153F0
tetradic
#F0F153 #53F1A3 #5453F1 #F153A1
square
#F0F153 #53F1A3 #5453F1 #F153A1
split-complementary
#F0F153 #53A1F1 #A353F1
monochromatic
#B9BA0F #EBEC1A #F0F153 #F5F68C #FAFAC4

Accessibility & contrast

On white

1.21
#F0F153 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.41
#F0F153 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F153
17.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F153#FFFFFF#000000##000000
##F0F1531.001.2117.4117.41
#FFFFFF1.211.0021.0021.00
#00000017.4121.001.001.00
##00000017.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE73C
Deuteranopia (green-blind)
#FFEC5E
Tritanopia (blue-blind)
#FFE2D1
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f0f153;
/* rgb */ color: rgb(240, 241, 83);
/* oklch */ color: oklch(93.0% 0.174 109.7);
Tailwind
colors: {
  custom: {
    50: '#f8f58b',
    500: '#f0f153',
    950: '#000000',
  },
}
SCSS
$custom: #f0f153;
$custom-light: #f8f58b;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f153",
  "rgb": {
    "r": 240,
    "g": 241,
    "b": 83
  },
  "hsl": {
    "h": 60.38,
    "s": 84.946,
    "l": 63.529
  },
  "oklch": {
    "l": 0.92974,
    "c": 0.17366,
    "h": 109.7
  },
  "luminance": 0.8206
}

Semantic roles & 50–950 ramp

primary
#F0F153
secondary
#302FB9
accent
#04E105
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F0F153

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

Preview Lab → · Contrast checker → · Palette generator →

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