#F6ED5D#F6ED5D

#F6ED5D is a very light, vivid yellow. Relative luminance 0.810; OKLCH L 92.7% C 0.162 H 105.7°. Best body text is #000000 at 17.19:1 contrast (WCAG AA passes).

Color values

HEX#F6ED5D
RGBrgb(246, 237, 93)
HSLhsl(56, 89%, 66%)
HSVhsv(56, 62%, 96%)
CMYKcmyk(0%, 3.7%, 62.2%, 3.5%)
CIE-LABlab(92.11, -13.89, 68.55)
CIE-LCHlch(92.11, 69.94, 101.45°)
OKLaboklab(92.72% -0.0439 0.1558)
OKLCHoklch(92.72% 0.162 105.7)
XYZxyz(70.2685, 80.9539, 22.2780)
Luminance0.8095 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6ED5D #5D66F6
analogous
#F6A15D #F6ED5D #B2F65D
triadic
#F6ED5D #5DF6ED #ED5DF6
tetradic
#F6ED5D #5DF6A1 #5D66F6 #F65DB2
square
#F6ED5D #5DF6A1 #5D66F6 #F65DB2
split-complementary
#F6ED5D #5DB2F6 #A15DF6
monochromatic
#CDC20B #F3E723 #F6ED5D #F9F397 #FCFAD1

Accessibility & contrast

On white

1.22
#F6ED5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.19
#F6ED5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6ED5D
17.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6ED5D#FFFFFF#000000##000000
##F6ED5D1.001.2217.1917.19
#FFFFFF1.221.0021.0021.00
#00000017.1921.001.001.00
##00000017.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE54B
Deuteranopia (green-blind)
#FFEB66
Tritanopia (blue-blind)
#FFDECF
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f6ed5d;
/* rgb */ color: rgb(246, 237, 93);
/* oklch */ color: oklch(92.7% 0.162 105.7);
Tailwind
colors: {
  custom: {
    50: '#fcf291',
    500: '#f6ed5d',
    950: '#000000',
  },
}
SCSS
$custom: #f6ed5d;
$custom-light: #fcf291;
$custom-dark: #000000;
JSON
{
  "hex": "#f6ed5d",
  "rgb": {
    "r": 246,
    "g": 237,
    "b": 93
  },
  "hsl": {
    "h": 56.471,
    "s": 89.474,
    "l": 66.471
  },
  "oklch": {
    "l": 0.92721,
    "c": 0.16185,
    "h": 105.7
  },
  "luminance": 0.80952
}

Semantic roles & 50–950 ramp

primary
#F6ED5D
secondary
#2E37C9
accent
#0DE600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F6ED5D

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

Preview Lab → · Contrast checker → · Palette generator →

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