#F6E57F#F6E57F

#F6E57F is a very light, vivid yellow. Relative luminance 0.772; OKLCH L 91.5% C 0.125 H 100.0°. Best body text is #000000 at 16.43:1 contrast (WCAG AA passes).

Color values

HEX#F6E57F
RGBrgb(246, 229, 127)
HSLhsl(51, 87%, 73%)
HSVhsv(51, 48%, 96%)
CMYKcmyk(0%, 6.9%, 48.4%, 3.5%)
CIE-LABlab(90.40, -7.38, 51.46)
CIE-LCHlch(90.40, 51.99, 98.17°)
OKLaboklab(91.47% -0.0217 0.1227)
OKLCHoklch(91.47% 0.125 100)
XYZxyz(69.8581, 77.1662, 31.2893)
Luminance0.7716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6E57F #7F90F6
analogous
#F6AA7F #F6E57F #CBF67F
triadic
#F6E57F #7FF6E5 #E57FF6
tetradic
#F6E57F #7FF6AA #7F90F6 #F67FCB
square
#F6E57F #7FF6AA #7F90F6 #F67FCB
split-complementary
#F6E57F #7FCBF6 #AA7FF6
monochromatic
#EACB10 #F2D946 #F6E57F #FAF1B8 #FDF9E2

Accessibility & contrast

On white

1.28
#F6E57F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.43
#F6E57F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6E57F
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6E57F#FFFFFF#000000##000000
##F6E57F1.001.2816.4316.43
#FFFFFF1.281.0021.0021.00
#00000016.4321.001.001.00
##00000016.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E076
Deuteranopia (green-blind)
#FBE683
Tritanopia (blue-blind)
#FFD8CD
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f6e57f;
/* rgb */ color: rgb(246, 229, 127);
/* oklch */ color: oklch(91.5% 0.125 100.0);
Tailwind
colors: {
  custom: {
    50: '#fbeda6',
    500: '#f6e57f',
    950: '#000000',
  },
}
SCSS
$custom: #f6e57f;
$custom-light: #fbeda6;
$custom-dark: #000000;
JSON
{
  "hex": "#f6e57f",
  "rgb": {
    "r": 246,
    "g": 229,
    "b": 127
  },
  "hsl": {
    "h": 51.429,
    "s": 86.861,
    "l": 73.137
  },
  "oklch": {
    "l": 0.91469,
    "c": 0.12459,
    "h": 100
  },
  "luminance": 0.77164
}

Semantic roles & 50–950 ramp

primary
#F6E57F
secondary
#475BD2
accent
#22E302
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F6E57F

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

Preview Lab → · Contrast checker → · Palette generator →

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