#F0D05E#F0D05E

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

Color values

HEX#F0D05E
RGBrgb(240, 208, 94)
HSLhsl(47, 83%, 65%)
HSVhsv(47, 61%, 94%)
CMYKcmyk(0%, 13.3%, 60.8%, 5.9%)
CIE-LABlab(84.20, -1.75, 59.37)
CIE-LCHlch(84.20, 59.40, 91.69°)
OKLaboklab(86.33% -0.0087 0.1366)
OKLCHoklch(86.33% 0.137 93.6)
XYZxyz(60.5141, 64.4482, 19.8398)
Luminance0.6444 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D05E #5E7EF0
analogous
#F0875E #F0D05E #C7F05E
triadic
#F0D05E #5EF0D0 #D05EF0
tetradic
#F0D05E #5EF087 #5E7EF0 #F05EC7
square
#F0D05E #5EF087 #5E7EF0 #F05EC7
split-complementary
#F0D05E #5EC7F0 #875EF0
monochromatic
#C29B12 #EBC026 #F0D05E #F5E096 #FAF1CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0D05E#FFFFFF#000000##000000
##F0D05E1.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)
#E4CC52
Deuteranopia (green-blind)
#ECD663
Tritanopia (blue-blind)
#FFC1B7
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #f0d05e;
/* rgb */ color: rgb(240, 208, 94);
/* oklch */ color: oklch(86.3% 0.137 93.6);
Tailwind
colors: {
  custom: {
    50: '#f8de90',
    500: '#f0d05e',
    950: '#000000',
  },
}
SCSS
$custom: #f0d05e;
$custom-light: #f8de90;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d05e",
  "rgb": {
    "r": 240,
    "g": 208,
    "b": 94
  },
  "hsl": {
    "h": 46.849,
    "s": 82.955,
    "l": 65.49
  },
  "oklch": {
    "l": 0.86326,
    "c": 0.13686,
    "h": 93.6
  },
  "luminance": 0.64445
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F0D05E

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

Preview Lab → · Contrast checker → · Palette generator →

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