#F6DE57#F6DE57

#F6DE57 is a very light, vivid yellow. Relative luminance 0.725; OKLCH L 89.6% C 0.153 H 99.1°. Best body text is #000000 at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#F6DE57
RGBrgb(246, 222, 87)
HSLhsl(51, 90%, 65%)
HSVhsv(51, 65%, 96%)
CMYKcmyk(0%, 9.8%, 64.6%, 3.5%)
CIE-LABlab(88.22, -6.80, 66.87)
CIE-LCHlch(88.22, 67.22, 95.81°)
OKLaboklab(89.62% -0.0244 0.1514)
OKLCHoklch(89.62% 0.153 99.1)
XYZxyz(65.8505, 72.5265, 19.5454)
Luminance0.7252 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6DE57 #576FF6
analogous
#F68E57 #F6DE57 #BFF657
triadic
#F6DE57 #57F6DE #DE57F6
tetradic
#F6DE57 #57F68E #576FF6 #F657BF
square
#F6DE57 #57F68E #576FF6 #F657BF
split-complementary
#F6DE57 #57BFF6 #8E57F6
monochromatic
#C8AB0B #F3D31D #F6DE57 #F9E991 #FCF5CB

Accessibility & contrast

On white

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

On black

15.50
#F6DE57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6DE57
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6DE57#FFFFFF#000000##000000
##F6DE571.001.3515.5015.50
#FFFFFF1.351.0021.0021.00
#00000015.5021.001.001.00
##00000015.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D846
Deuteranopia (green-blind)
#F9E15E
Tritanopia (blue-blind)
#FFCFC2
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f6de57;
/* rgb */ color: rgb(246, 222, 87);
/* oklch */ color: oklch(89.6% 0.153 99.1);
Tailwind
colors: {
  custom: {
    50: '#fde78c',
    500: '#f6de57',
    950: '#000000',
  },
}
SCSS
$custom: #f6de57;
$custom-light: #fde78c;
$custom-dark: #000000;
JSON
{
  "hex": "#f6de57",
  "rgb": {
    "r": 246,
    "g": 222,
    "b": 87
  },
  "hsl": {
    "h": 50.943,
    "s": 89.831,
    "l": 65.294
  },
  "oklch": {
    "l": 0.89616,
    "c": 0.15332,
    "h": 99.1
  },
  "luminance": 0.72524
}

Semantic roles & 50–950 ramp

primary
#F6DE57
secondary
#2D44C4
accent
#23E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F6DE57

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

Preview Lab → · Contrast checker → · Palette generator →

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