#F0D05F#F0D05F

#F0D05F is a very light, vivid yellow. Relative luminance 0.645; OKLCH L 86.3% C 0.136 H 93.5°. Best body text is #000000 at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#F0D05F
RGBrgb(240, 208, 95)
HSLhsl(47, 83%, 66%)
HSVhsv(47, 60%, 94%)
CMYKcmyk(0%, 13.3%, 60.4%, 5.9%)
CIE-LABlab(84.21, -1.68, 58.94)
CIE-LCHlch(84.21, 58.96, 91.64°)
OKLaboklab(86.34% -0.0084 0.1358)
OKLCHoklch(86.34% 0.136 93.5)
XYZxyz(60.5593, 64.4663, 20.0777)
Luminance0.6446 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D05F #5F7FF0
analogous
#F0885F #F0D05F #C7F05F
triadic
#F0D05F #5FF0D0 #D05FF0
tetradic
#F0D05F #5FF088 #5F7FF0 #F05FC7
square
#F0D05F #5FF088 #5F7FF0 #F05FC7
split-complementary
#F0D05F #5FC7F0 #885FF0
monochromatic
#C29C12 #EBC027 #F0D05F #F5E097 #FAF1CF

Accessibility & contrast

On white

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

On black

13.89
#F0D05F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D05F
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D05F#FFFFFF#000000##000000
##F0D05F1.001.5113.8913.89
#FFFFFF1.511.0021.0021.00
#00000013.8921.001.001.00
##00000013.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0d05f;
/* rgb */ color: rgb(240, 208, 95);
/* oklch */ color: oklch(86.3% 0.136 93.5);
Tailwind
colors: {
  custom: {
    50: '#f8de90',
    500: '#f0d05f',
    950: '#000000',
  },
}
SCSS
$custom: #f0d05f;
$custom-light: #f8de90;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d05f",
  "rgb": {
    "r": 240,
    "g": 208,
    "b": 95
  },
  "hsl": {
    "h": 46.759,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.86336,
    "c": 0.13604,
    "h": 93.5
  },
  "luminance": 0.64463
}

Semantic roles & 50–950 ramp

primary
#F0D05F
secondary
#3352C0
accent
#36DF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0D05F

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

Preview Lab → · Contrast checker → · Palette generator →

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