#F6DE5D#F6DE5D

#F6DE5D is a very light, vivid yellow. Relative luminance 0.726; OKLCH L 89.7% C 0.149 H 98.8°. Best body text is #000000 at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#F6DE5D
RGBrgb(246, 222, 93)
HSLhsl(51, 89%, 66%)
HSVhsv(51, 62%, 96%)
CMYKcmyk(0%, 9.8%, 62.2%, 3.5%)
CIE-LABlab(88.27, -6.44, 64.42)
CIE-LCHlch(88.27, 64.75, 95.71°)
OKLaboklab(89.67% -0.0227 0.147)
OKLCHoklch(89.67% 0.149 98.8)
XYZxyz(66.1059, 72.6286, 20.8905)
Luminance0.7263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6DE5D #5D75F6
analogous
#F6925D #F6DE5D #C2F65D
triadic
#F6DE5D #5DF6DE #DE5DF6
tetradic
#F6DE5D #5DF692 #5D75F6 #F65DC2
square
#F6DE5D #5DF692 #5D75F6 #F65DC2
split-complementary
#F6DE5D #5DC2F6 #925DF6
monochromatic
#CDAF0B #F3D223 #F6DE5D #F9EA97 #FCF6D1

Accessibility & contrast

On white

1.35
#F6DE5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.53
#F6DE5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6DE5D
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6DE5D#FFFFFF#000000##000000
##F6DE5D1.001.3515.5315.53
#FFFFFF1.351.0021.0021.00
#00000015.5321.001.001.00
##00000015.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D94E
Deuteranopia (green-blind)
#F8E164
Tritanopia (blue-blind)
#FFCFC3
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f6de5d;
/* rgb */ color: rgb(246, 222, 93);
/* oklch */ color: oklch(89.7% 0.149 98.8);
Tailwind
colors: {
  custom: {
    50: '#fce890',
    500: '#f6de5d',
    950: '#000000',
  },
}
SCSS
$custom: #f6de5d;
$custom-light: #fce890;
$custom-dark: #000000;
JSON
{
  "hex": "#f6de5d",
  "rgb": {
    "r": 246,
    "g": 222,
    "b": 93
  },
  "hsl": {
    "h": 50.588,
    "s": 89.474,
    "l": 66.471
  },
  "oklch": {
    "l": 0.8967,
    "c": 0.14879,
    "h": 98.8
  },
  "luminance": 0.72626
}

Semantic roles & 50–950 ramp

primary
#F6DE5D
secondary
#2E46C9
accent
#24E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F6DE5D

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

Preview Lab → · Contrast checker → · Palette generator →

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