#F0D15C#F0D15C

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

Color values

HEX#F0D15C
RGBrgb(240, 209, 92)
HSLhsl(47, 83%, 65%)
HSVhsv(47, 62%, 94%)
CMYKcmyk(0%, 12.9%, 61.7%, 5.9%)
CIE-LABlab(84.43, -2.39, 60.51)
CIE-LCHlch(84.43, 60.56, 92.26°)
OKLaboklab(86.51% -0.0108 0.1388)
OKLCHoklch(86.51% 0.139 94.5)
XYZxyz(60.6701, 64.9019, 19.4548)
Luminance0.6490 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D15C #5C7BF0
analogous
#F0875C #F0D15C #C5F05C
triadic
#F0D15C #5CF0D1 #D15CF0
tetradic
#F0D15C #5CF087 #5C7BF0 #F05CC5
square
#F0D15C #5CF087 #5C7BF0 #F05CC5
split-complementary
#F0D15C #5CC5F0 #875CF0
monochromatic
#C09B12 #EBC124 #F0D15C #F5E194 #FAF1CC

Accessibility & contrast

On white

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

On black

13.98
#F0D15C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D15C
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D15C#FFFFFF#000000##000000
##F0D15C1.001.5013.9813.98
#FFFFFF1.501.0021.0021.00
#00000013.9821.001.001.00
##00000013.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0d15c;
/* rgb */ color: rgb(240, 209, 92);
/* oklch */ color: oklch(86.5% 0.139 94.5);
Tailwind
colors: {
  custom: {
    50: '#f8de8e',
    500: '#f0d15c',
    950: '#000000',
  },
}
SCSS
$custom: #f0d15c;
$custom-light: #f8de8e;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d15c",
  "rgb": {
    "r": 240,
    "g": 209,
    "b": 92
  },
  "hsl": {
    "h": 47.432,
    "s": 83.146,
    "l": 65.098
  },
  "oklch": {
    "l": 0.86505,
    "c": 0.13917,
    "h": 94.5
  },
  "luminance": 0.64899
}

Semantic roles & 50–950 ramp

primary
#F0D15C
secondary
#324FBE
accent
#34E006
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0D15C

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

Preview Lab → · Contrast checker → · Palette generator →

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