#F6DF57#F6DF57

#F6DF57 is a very light, vivid yellow. Relative luminance 0.731; OKLCH L 89.8% C 0.154 H 99.6°. Best body text is #000000 at 15.61:1 contrast (WCAG AA passes).

Color values

HEX#F6DF57
RGBrgb(246, 223, 87)
HSLhsl(51, 90%, 65%)
HSVhsv(51, 65%, 96%)
CMYKcmyk(0%, 9.3%, 64.6%, 3.5%)
CIE-LABlab(88.48, -7.30, 67.14)
CIE-LCHlch(88.48, 67.53, 96.21°)
OKLaboklab(89.82% -0.0258 0.1519)
OKLCHoklch(89.82% 0.154 99.6)
XYZxyz(66.1169, 73.0593, 19.6342)
Luminance0.7306 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6DF57 #576EF6
analogous
#F69057 #F6DF57 #BDF657
triadic
#F6DF57 #57F6DF #DF57F6
tetradic
#F6DF57 #57F690 #576EF6 #F657BD
square
#F6DF57 #57F690 #576EF6 #F657BD
split-complementary
#F6DF57 #57BDF6 #9057F6
monochromatic
#C8AD0B #F3D41D #F6DF57 #F9EA91 #FCF5CB

Accessibility & contrast

On white

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

On black

15.61
#F6DF57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6DF57
15.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6DF57#FFFFFF#000000##000000
##F6DF571.001.3515.6115.61
#FFFFFF1.351.0021.0021.00
#00000015.6121.001.001.00
##00000015.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3D946
Deuteranopia (green-blind)
#FAE25E
Tritanopia (blue-blind)
#FFD0C3
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f6df57;
/* rgb */ color: rgb(246, 223, 87);
/* oklch */ color: oklch(89.8% 0.154 99.6);
Tailwind
colors: {
  custom: {
    50: '#fde88c',
    500: '#f6df57',
    950: '#000000',
  },
}
SCSS
$custom: #f6df57;
$custom-light: #fde88c;
$custom-dark: #000000;
JSON
{
  "hex": "#f6df57",
  "rgb": {
    "r": 246,
    "g": 223,
    "b": 87
  },
  "hsl": {
    "h": 51.321,
    "s": 89.831,
    "l": 65.294
  },
  "oklch": {
    "l": 0.89818,
    "c": 0.15411,
    "h": 99.6
  },
  "luminance": 0.73056
}

Semantic roles & 50–950 ramp

primary
#F6DF57
secondary
#2D43C4
accent
#21E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F6DF57

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

Preview Lab → · Contrast checker → · Palette generator →

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