#F0F055#F0F055

#F0F055 is a very light, vivid yellow. Relative luminance 0.815; OKLCH L 92.8% C 0.171 H 109.3°. Best body text is #000000 at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#F0F055
RGBrgb(240, 240, 85)
HSLhsl(60, 84%, 64%)
HSVhsv(60, 65%, 94%)
CMYKcmyk(0%, 0%, 64.6%, 5.9%)
CIE-LABlab(92.36, -18.25, 71.81)
CIE-LCHlch(92.36, 74.09, 104.26°)
OKLaboklab(92.78% -0.0567 0.1617)
OKLCHoklch(92.78% 0.171 109.3)
XYZxyz(68.7372, 81.5033, 20.7034)
Luminance0.8150 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F055 #5555F0
analogous
#F0A255 #F0F055 #A2F055
triadic
#F0F055 #55F0F0 #F055F0
tetradic
#F0F055 #55F0A2 #5555F0 #F055A2
square
#F0F055 #55F0A2 #5555F0 #F055A2
split-complementary
#F0F055 #55A2F0 #A255F0
monochromatic
#BABA10 #EBEB1D #F0F055 #F5F58D #FAFAC5

Accessibility & contrast

On white

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

On black

17.30
#F0F055 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F055
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F055#FFFFFF#000000##000000
##F0F0551.001.2117.3017.30
#FFFFFF1.211.0021.0021.00
#00000017.3021.001.001.00
##00000017.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE63F
Deuteranopia (green-blind)
#FFEB5F
Tritanopia (blue-blind)
#FFE1D0
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f0f055;
/* rgb */ color: rgb(240, 240, 85);
/* oklch */ color: oklch(92.8% 0.171 109.3);
Tailwind
colors: {
  custom: {
    50: '#f8f48d',
    500: '#f0f055',
    950: '#000000',
  },
}
SCSS
$custom: #f0f055;
$custom-light: #f8f48d;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f055",
  "rgb": {
    "r": 240,
    "g": 240,
    "b": 85
  },
  "hsl": {
    "h": 60,
    "s": 83.784,
    "l": 63.725
  },
  "oklch": {
    "l": 0.92781,
    "c": 0.17132,
    "h": 109.3
  },
  "luminance": 0.81501
}

Semantic roles & 50–950 ramp

primary
#F0F055
secondary
#3030B9
accent
#05E005
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F0F055

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

Preview Lab → · Contrast checker → · Palette generator →

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