#F0D15A#F0D15A

#F0D15A is a very light, vivid yellow. Relative luminance 0.649; OKLCH L 86.5% C 0.141 H 94.6°. Best body text is #000000 at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#F0D15A
RGBrgb(240, 209, 90)
HSLhsl(48, 83%, 65%)
HSVhsv(48, 63%, 94%)
CMYKcmyk(0%, 12.9%, 62.5%, 5.9%)
CIE-LABlab(84.42, -2.52, 61.37)
CIE-LCHlch(84.42, 61.42, 92.35°)
OKLaboklab(86.49% -0.0114 0.1403)
OKLCHoklch(86.49% 0.141 94.6)
XYZxyz(60.5839, 64.8674, 19.0004)
Luminance0.6486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D15A #5A79F0
analogous
#F0865A #F0D15A #C4F05A
triadic
#F0D15A #5AF0D1 #D15AF0
tetradic
#F0D15A #5AF086 #5A79F0 #F05AC4
square
#F0D15A #5AF086 #5A79F0 #F05AC4
split-complementary
#F0D15A #5AC4F0 #865AF0
monochromatic
#BE9B11 #EBC122 #F0D15A #F5E192 #FAF0CA

Accessibility & contrast

On white

1.50
#F0D15A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.97
#F0D15A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D15A
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D15A#FFFFFF#000000##000000
##F0D15A1.001.5013.9713.97
#FFFFFF1.501.0021.0021.00
#00000013.9721.001.001.00
##00000013.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CD4D
Deuteranopia (green-blind)
#EDD760
Tritanopia (blue-blind)
#FFC2B7
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #f0d15a;
/* rgb */ color: rgb(240, 209, 90);
/* oklch */ color: oklch(86.5% 0.141 94.6);
Tailwind
colors: {
  custom: {
    50: '#f8de8d',
    500: '#f0d15a',
    950: '#000000',
  },
}
SCSS
$custom: #f0d15a;
$custom-light: #f8de8d;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d15a",
  "rgb": {
    "r": 240,
    "g": 209,
    "b": 90
  },
  "hsl": {
    "h": 47.6,
    "s": 83.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.86485,
    "c": 0.14075,
    "h": 94.6
  },
  "luminance": 0.64864
}

Semantic roles & 50–950 ramp

primary
#F0D15A
secondary
#324EBD
accent
#33E006
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F0D15A

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

Preview Lab → · Contrast checker → · Palette generator →

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