#F0D05B#F0D05B

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

Color values

HEX#F0D05B
RGBrgb(240, 208, 91)
HSLhsl(47, 83%, 65%)
HSVhsv(47, 62%, 94%)
CMYKcmyk(0%, 13.3%, 62.1%, 5.9%)
CIE-LABlab(84.17, -1.95, 60.66)
CIE-LCHlch(84.17, 60.70, 91.84°)
OKLaboklab(86.3% -0.0096 0.1389)
OKLCHoklch(86.3% 0.139 94)
XYZxyz(60.3821, 64.3954, 19.1446)
Luminance0.6439 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D05B #5B7BF0
analogous
#F0855B #F0D05B #C6F05B
triadic
#F0D05B #5BF0D0 #D05BF0
tetradic
#F0D05B #5BF085 #5B7BF0 #F05BC6
square
#F0D05B #5BF085 #5B7BF0 #F05BC6
split-complementary
#F0D05B #5BC6F0 #855BF0
monochromatic
#BF9A11 #EBC023 #F0D05B #F5E093 #FAF0CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #f0d05b;
/* rgb */ color: rgb(240, 208, 91);
/* oklch */ color: oklch(86.3% 0.139 94.0);
Tailwind
colors: {
  custom: {
    50: '#f8de8e',
    500: '#f0d05b',
    950: '#000000',
  },
}
SCSS
$custom: #f0d05b;
$custom-light: #f8de8e;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d05b",
  "rgb": {
    "r": 240,
    "g": 208,
    "b": 91
  },
  "hsl": {
    "h": 47.114,
    "s": 83.24,
    "l": 64.902
  },
  "oklch": {
    "l": 0.86295,
    "c": 0.13927,
    "h": 94
  },
  "luminance": 0.64392
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F0D05B

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

Preview Lab → · Contrast checker → · Palette generator →

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