#F6DC5C#F6DC5C

#F6DC5C is a very light, vivid yellow. Relative luminance 0.716; OKLCH L 89.3% C 0.148 H 97.8°. Best body text is #000000 at 15.31:1 contrast (WCAG AA passes).

Color values

HEX#F6DC5C
RGBrgb(246, 220, 92)
HSLhsl(50, 90%, 66%)
HSVhsv(50, 63%, 96%)
CMYKcmyk(0%, 10.6%, 62.6%, 3.5%)
CIE-LABlab(87.75, -5.50, 64.29)
CIE-LCHlch(87.75, 64.52, 94.89°)
OKLaboklab(89.26% -0.0201 0.1466)
OKLCHoklch(89.26% 0.148 97.8)
XYZxyz(65.5338, 71.5550, 20.4827)
Luminance0.7155 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6DC5C #5C76F6
analogous
#F68F5C #F6DC5C #C3F65C
triadic
#F6DC5C #5CF6DC #DC5CF6
tetradic
#F6DC5C #5CF68F #5C76F6 #F65CC3
square
#F6DC5C #5CF68F #5C76F6 #F65CC3
split-complementary
#F6DC5C #5CC3F6 #8F5CF6
monochromatic
#CCAC0B #F3D022 #F6DC5C #F9E896 #FCF5D0

Accessibility & contrast

On white

1.37
#F6DC5C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.31
#F6DC5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6DC5C
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6DC5C#FFFFFF#000000##000000
##F6DC5C1.001.3715.3115.31
#FFFFFF1.371.0021.0021.00
#00000015.3121.001.001.00
##00000015.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D74D
Deuteranopia (green-blind)
#F7E063
Tritanopia (blue-blind)
#FFCDC1
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f6dc5c;
/* rgb */ color: rgb(246, 220, 92);
/* oklch */ color: oklch(89.3% 0.148 97.8);
Tailwind
colors: {
  custom: {
    50: '#fde68f',
    500: '#f6dc5c',
    950: '#000000',
  },
}
SCSS
$custom: #f6dc5c;
$custom-light: #fde68f;
$custom-dark: #000000;
JSON
{
  "hex": "#f6dc5c",
  "rgb": {
    "r": 246,
    "g": 220,
    "b": 92
  },
  "hsl": {
    "h": 49.87,
    "s": 89.535,
    "l": 66.275
  },
  "oklch": {
    "l": 0.89258,
    "c": 0.148,
    "h": 97.8
  },
  "luminance": 0.71552
}

Semantic roles & 50–950 ramp

primary
#F6DC5C
secondary
#2E48C8
accent
#27E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F6DC5C

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

Preview Lab → · Contrast checker → · Palette generator →

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