#F0D05A#F0D05A

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

Color values

HEX#F0D05A
RGBrgb(240, 208, 90)
HSLhsl(47, 83%, 65%)
HSVhsv(47, 63%, 94%)
CMYKcmyk(0%, 13.3%, 62.5%, 5.9%)
CIE-LABlab(84.16, -2.01, 61.09)
CIE-LCHlch(84.16, 61.12, 91.88°)
OKLaboklab(86.29% -0.0099 0.1397)
OKLCHoklch(86.29% 0.14 94.1)
XYZxyz(60.3393, 64.3783, 18.9189)
Luminance0.6438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D05A #5A7AF0
analogous
#F0855A #F0D05A #C5F05A
triadic
#F0D05A #5AF0D0 #D05AF0
tetradic
#F0D05A #5AF085 #5A7AF0 #F05AC5
square
#F0D05A #5AF085 #5A7AF0 #F05AC5
split-complementary
#F0D05A #5AC5F0 #855AF0
monochromatic
#BE9911 #EBC022 #F0D05A #F5E092 #FAF0CA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0D05A#FFFFFF#000000##000000
##F0D05A1.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)
#E4CC4D
Deuteranopia (green-blind)
#ECD660
Tritanopia (blue-blind)
#FFC1B7
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #f0d05a;
/* rgb */ color: rgb(240, 208, 90);
/* oklch */ color: oklch(86.3% 0.140 94.1);
Tailwind
colors: {
  custom: {
    50: '#f8de8d',
    500: '#f0d05a',
    950: '#000000',
  },
}
SCSS
$custom: #f0d05a;
$custom-light: #f8de8d;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d05a",
  "rgb": {
    "r": 240,
    "g": 208,
    "b": 90
  },
  "hsl": {
    "h": 47.2,
    "s": 83.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.86285,
    "c": 0.14006,
    "h": 94.1
  },
  "luminance": 0.64375
}

Semantic roles & 50–950 ramp

primary
#F0D05A
secondary
#324FBD
accent
#34E006
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F0D05A

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

Preview Lab → · Contrast checker → · Palette generator →

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