#F0D55F#F0D55F

#F0D55F is a very light, vivid yellow. Relative luminance 0.669; OKLCH L 87.3% C 0.140 H 96.5°. Best body text is #000000 at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#F0D55F
RGBrgb(240, 213, 95)
HSLhsl(49, 83%, 66%)
HSVhsv(49, 60%, 94%)
CMYKcmyk(0%, 11.2%, 60.4%, 5.9%)
CIE-LABlab(85.48, -4.23, 60.35)
CIE-LCHlch(85.48, 60.49, 94.01°)
OKLaboklab(87.34% -0.0157 0.1388)
OKLCHoklch(87.34% 0.14 96.5)
XYZxyz(61.7976, 66.9429, 20.4904)
Luminance0.6694 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D55F #5F7AF0
analogous
#F08D5F #F0D55F #C2F05F
triadic
#F0D55F #5FF0D5 #D55FF0
tetradic
#F0D55F #5FF08D #5F7AF0 #F05FC2
square
#F0D55F #5FF08D #5F7AF0 #F05FC2
split-complementary
#F0D55F #5FC2F0 #8D5FF0
monochromatic
#C2A212 #EBC627 #F0D55F #F5E497 #FAF2CF

Accessibility & contrast

On white

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

On black

14.39
#F0D55F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D55F
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D55F#FFFFFF#000000##000000
##F0D55F1.001.4614.3914.39
#FFFFFF1.461.0021.0021.00
#00000014.3921.001.001.00
##00000014.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D152
Deuteranopia (green-blind)
#EFD965
Tritanopia (blue-blind)
#FFC7BB
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f0d55f;
/* rgb */ color: rgb(240, 213, 95);
/* oklch */ color: oklch(87.3% 0.140 96.5);
Tailwind
colors: {
  custom: {
    50: '#f8e191',
    500: '#f0d55f',
    950: '#000000',
  },
}
SCSS
$custom: #f0d55f;
$custom-light: #f8e191;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d55f",
  "rgb": {
    "r": 240,
    "g": 213,
    "b": 95
  },
  "hsl": {
    "h": 48.828,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.87338,
    "c": 0.13968,
    "h": 96.5
  },
  "luminance": 0.6694
}

Semantic roles & 50–950 ramp

primary
#F0D55F
secondary
#334DC0
accent
#2FDF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0D55F

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

Preview Lab → · Contrast checker → · Palette generator →

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