#F0D05C#F0D05C

#F0D05C is a very light, vivid yellow. Relative luminance 0.644; OKLCH L 86.3% C 0.138 H 93.9°. Best body text is #000000 at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#F0D05C
RGBrgb(240, 208, 92)
HSLhsl(47, 83%, 65%)
HSVhsv(47, 62%, 94%)
CMYKcmyk(0%, 13.3%, 61.7%, 5.9%)
CIE-LABlab(84.18, -1.88, 60.24)
CIE-LCHlch(84.18, 60.26, 91.79°)
OKLaboklab(86.31% -0.0093 0.1382)
OKLCHoklch(86.31% 0.138 93.9)
XYZxyz(60.4256, 64.4128, 19.3733)
Luminance0.6441 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D05C #5C7CF0
analogous
#F0865C #F0D05C #C6F05C
triadic
#F0D05C #5CF0D0 #D05CF0
tetradic
#F0D05C #5CF086 #5C7CF0 #F05CC6
square
#F0D05C #5CF086 #5C7CF0 #F05CC6
split-complementary
#F0D05C #5CC6F0 #865CF0
monochromatic
#C09A12 #EBC024 #F0D05C #F5E094 #FAF0CC

Accessibility & contrast

On white

1.51
#F0D05C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.88
#F0D05C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D05C
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D05C#FFFFFF#000000##000000
##F0D05C1.001.5113.8813.88
#FFFFFF1.511.0021.0021.00
#00000013.8821.001.001.00
##00000013.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC4F
Deuteranopia (green-blind)
#ECD661
Tritanopia (blue-blind)
#FFC1B7
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #f0d05c;
/* rgb */ color: rgb(240, 208, 92);
/* oklch */ color: oklch(86.3% 0.138 93.9);
Tailwind
colors: {
  custom: {
    50: '#f8de8e',
    500: '#f0d05c',
    950: '#000000',
  },
}
SCSS
$custom: #f0d05c;
$custom-light: #f8de8e;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d05c",
  "rgb": {
    "r": 240,
    "g": 208,
    "b": 92
  },
  "hsl": {
    "h": 47.027,
    "s": 83.146,
    "l": 65.098
  },
  "oklch": {
    "l": 0.86305,
    "c": 0.13847,
    "h": 93.9
  },
  "luminance": 0.6441
}

Semantic roles & 50–950 ramp

primary
#F0D05C
secondary
#3250BE
accent
#35E006
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0D05C

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

Preview Lab → · Contrast checker → · Palette generator →

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