#F6D04F#F6D04F

#F6D04F is a very light, vivid yellow. Relative luminance 0.653; OKLCH L 86.8% C 0.149 H 92.4°. Best body text is #000000 at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#F6D04F
RGBrgb(246, 208, 79)
HSLhsl(46, 90%, 64%)
HSVhsv(46, 68%, 96%)
CMYKcmyk(0%, 15.4%, 67.9%, 3.5%)
CIE-LABlab(84.62, -0.15, 66.37)
CIE-LCHlch(84.62, 66.37, 90.13°)
OKLaboklab(86.75% -0.0062 0.149)
OKLCHoklch(86.75% 0.149 92.4)
XYZxyz(61.9764, 65.2726, 16.7301)
Luminance0.6527 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6D04F #4F75F6
analogous
#F67C4F #F6D04F #C8F64F
triadic
#F6D04F #4FF6D0 #D04FF6
tetradic
#F6D04F #4FF67C #4F75F6 #F64FC8
square
#F6D04F #4FF67C #4F75F6 #F64FC8
split-complementary
#F6D04F #4FC8F6 #7C4FF6
monochromatic
#C1970A #F3C015 #F6D04F #F9E089 #FCEFC3

Accessibility & contrast

On white

1.49
#F6D04F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.05
#F6D04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6D04F
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6D04F#FFFFFF#000000##000000
##F6D04F1.001.4914.0514.05
#FFFFFF1.491.0021.0021.00
#00000014.0521.001.001.00
##00000014.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD3E
Deuteranopia (green-blind)
#EFD855
Tritanopia (blue-blind)
#FFC0B5
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #f6d04f;
/* rgb */ color: rgb(246, 208, 79);
/* oklch */ color: oklch(86.8% 0.149 92.4);
Tailwind
colors: {
  custom: {
    50: '#fdde87',
    500: '#f6d04f',
    950: '#000000',
  },
}
SCSS
$custom: #f6d04f;
$custom-light: #fdde87;
$custom-dark: #000000;
JSON
{
  "hex": "#f6d04f",
  "rgb": {
    "r": 246,
    "g": 208,
    "b": 79
  },
  "hsl": {
    "h": 46.347,
    "s": 90.27,
    "l": 63.725
  },
  "oklch": {
    "l": 0.8675,
    "c": 0.14917,
    "h": 92.4
  },
  "luminance": 0.65269
}

Semantic roles & 50–950 ramp

primary
#F6D04F
secondary
#2B4CBE
accent
#34E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F6D04F

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

Preview Lab → · Contrast checker → · Palette generator →

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