#F0D03E#F0D03E

#F0D03E is a very light, vivid yellow. Relative luminance 0.640; OKLCH L 86.1% C 0.159 H 96.2°. Best body text is #000000 at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#F0D03E
RGBrgb(240, 208, 62)
HSLhsl(49, 86%, 59%)
HSVhsv(49, 74%, 94%)
CMYKcmyk(0%, 13.3%, 74.2%, 5.9%)
CIE-LABlab(83.96, -3.46, 71.93)
CIE-LCHlch(83.96, 72.01, 92.76°)
OKLaboklab(86.06% -0.0172 0.158)
OKLCHoklch(86.06% 0.159 96.2)
XYZxyz(59.3637, 63.9880, 13.7806)
Luminance0.6399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D03E #3E5EF0
analogous
#F0773E #F0D03E #B7F03E
triadic
#F0D03E #3EF0D0 #D03EF0
tetradic
#F0D03E #3EF077 #3E5EF0 #F03EB7
square
#F0D03E #3EF077 #3E5EF0 #F03EB7
split-complementary
#F0D03E #3EB7F0 #773EF0
monochromatic
#A78B0D #DFBA11 #F0D03E #F4DE77 #F9ECB0

Accessibility & contrast

On white

1.52
#F0D03E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.80
#F0D03E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D03E
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D03E#FFFFFF#000000##000000
##F0D03E1.001.5213.8013.80
#FFFFFF1.521.0021.0021.00
#00000013.8021.001.001.00
##00000013.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CB23
Deuteranopia (green-blind)
#EED647
Tritanopia (blue-blind)
#FFC0B4
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #f0d03e;
/* rgb */ color: rgb(240, 208, 62);
/* oklch */ color: oklch(86.1% 0.159 96.2);
Tailwind
colors: {
  custom: {
    50: '#f9de7d',
    500: '#f0d03e',
    950: '#000000',
  },
}
SCSS
$custom: #f0d03e;
$custom-light: #f9de7d;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d03e",
  "rgb": {
    "r": 240,
    "g": 208,
    "b": 62
  },
  "hsl": {
    "h": 49.213,
    "s": 85.577,
    "l": 59.216
  },
  "oklch": {
    "l": 0.8606,
    "c": 0.15894,
    "h": 96.2
  },
  "luminance": 0.63985
}

Semantic roles & 50–950 ramp

primary
#F0D03E
secondary
#2A41A8
accent
#51FC2C
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#18150A
muted
#86847D

Preview Lab

Preview with #F0D03E

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

Preview Lab → · Contrast checker → · Palette generator →

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