#F0D15E#F0D15E

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

Color values

HEX#F0D15E
RGBrgb(240, 209, 94)
HSLhsl(47, 83%, 65%)
HSVhsv(47, 61%, 94%)
CMYKcmyk(0%, 12.9%, 60.8%, 5.9%)
CIE-LABlab(84.45, -2.26, 59.65)
CIE-LCHlch(84.45, 59.70, 92.17°)
OKLaboklab(86.53% -0.0102 0.1372)
OKLCHoklch(86.53% 0.138 94.2)
XYZxyz(60.7587, 64.9374, 19.9213)
Luminance0.6493 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D15E #5E7DF0
analogous
#F0885E #F0D15E #C6F05E
triadic
#F0D15E #5EF0D1 #D15EF0
tetradic
#F0D15E #5EF088 #5E7DF0 #F05EC6
square
#F0D15E #5EF088 #5E7DF0 #F05EC6
split-complementary
#F0D15E #5EC6F0 #885EF0
monochromatic
#C29C12 #EBC126 #F0D15E #F5E196 #FAF1CE

Accessibility & contrast

On white

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

On black

13.99
#F0D15E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D15E
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D15E#FFFFFF#000000##000000
##F0D15E1.001.5013.9913.99
#FFFFFF1.501.0021.0021.00
#00000013.9921.001.001.00
##00000013.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CD52
Deuteranopia (green-blind)
#EDD763
Tritanopia (blue-blind)
#FFC2B8
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #f0d15e;
/* rgb */ color: rgb(240, 209, 94);
/* oklch */ color: oklch(86.5% 0.138 94.2);
Tailwind
colors: {
  custom: {
    50: '#f8de90',
    500: '#f0d15e',
    950: '#000000',
  },
}
SCSS
$custom: #f0d15e;
$custom-light: #f8de90;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d15e",
  "rgb": {
    "r": 240,
    "g": 209,
    "b": 94
  },
  "hsl": {
    "h": 47.26,
    "s": 82.955,
    "l": 65.49
  },
  "oklch": {
    "l": 0.86525,
    "c": 0.13756,
    "h": 94.2
  },
  "luminance": 0.64934
}

Semantic roles & 50–950 ramp

primary
#F0D15E
secondary
#3351BF
accent
#34DF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0D15E

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

Preview Lab → · Contrast checker → · Palette generator →

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