#F0D558#F0D558

#F0D558 is a very light, vivid yellow. Relative luminance 0.668; OKLCH L 87.3% C 0.145 H 97.1°. Best body text is #000000 at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#F0D558
RGBrgb(240, 213, 88)
HSLhsl(49, 84%, 64%)
HSVhsv(49, 63%, 94%)
CMYKcmyk(0%, 11.2%, 63.3%, 5.9%)
CIE-LABlab(85.41, -4.68, 63.31)
CIE-LCHlch(85.41, 63.48, 94.23°)
OKLaboklab(87.27% -0.0178 0.1441)
OKLCHoklch(87.27% 0.145 97.1)
XYZxyz(61.4936, 66.8213, 18.8893)
Luminance0.6682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D558 #5873F0
analogous
#F08958 #F0D558 #BFF058
triadic
#F0D558 #58F0D5 #D558F0
tetradic
#F0D558 #58F089 #5873F0 #F058BF
square
#F0D558 #58F089 #5873F0 #F058BF
split-complementary
#F0D558 #58BFF0 #8958F0
monochromatic
#BD9E11 #EBC720 #F0D558 #F5E390 #FAF1C8

Accessibility & contrast

On white

1.46
#F0D558 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.36
#F0D558 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D558
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D558#FFFFFF#000000##000000
##F0D5581.001.4614.3614.36
#FFFFFF1.461.0021.0021.00
#00000014.3621.001.001.00
##00000014.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D049
Deuteranopia (green-blind)
#F0D95E
Tritanopia (blue-blind)
#FFC6BA
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f0d558;
/* rgb */ color: rgb(240, 213, 88);
/* oklch */ color: oklch(87.3% 0.145 97.1);
Tailwind
colors: {
  custom: {
    50: '#f8e18c',
    500: '#f0d558',
    950: '#000000',
  },
}
SCSS
$custom: #f0d558;
$custom-light: #f8e18c;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d558",
  "rgb": {
    "r": 240,
    "g": 213,
    "b": 88
  },
  "hsl": {
    "h": 49.342,
    "s": 83.516,
    "l": 64.314
  },
  "oklch": {
    "l": 0.8727,
    "c": 0.14523,
    "h": 97.1
  },
  "luminance": 0.66818
}

Semantic roles & 50–950 ramp

primary
#F0D558
secondary
#314ABB
accent
#2CE006
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F0D558

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

Preview Lab → · Contrast checker → · Palette generator →

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