#F6E57A#F6E57A

#F6E57A is a very light, vivid yellow. Relative luminance 0.770; OKLCH L 91.4% C 0.129 H 100.4°. Best body text is #000000 at 16.41:1 contrast (WCAG AA passes).

Color values

HEX#F6E57A
RGBrgb(246, 229, 122)
HSLhsl(52, 87%, 72%)
HSVhsv(52, 50%, 96%)
CMYKcmyk(0%, 6.9%, 50.4%, 3.5%)
CIE-LABlab(90.34, -7.82, 53.76)
CIE-LCHlch(90.34, 54.33, 98.27°)
OKLaboklab(91.4% -0.0234 0.1273)
OKLCHoklch(91.4% 0.129 100.4)
XYZxyz(69.5403, 77.0391, 29.6155)
Luminance0.7704 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6E57A #7A8BF6
analogous
#F6A77A #F6E57A #C9F67A
triadic
#F6E57A #7AF6E5 #E57AF6
tetradic
#F6E57A #7AF6A7 #7A8BF6 #F67AC9
square
#F6E57A #7AF6A7 #7A8BF6 #F67AC9
split-complementary
#F6E57A #7AC9F6 #A77AF6
monochromatic
#E6C910 #F2DA41 #F6E57A #FAF0B3 #FDF9E2

Accessibility & contrast

On white

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

On black

16.41
#F6E57A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6E57A
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6E57A#FFFFFF#000000##000000
##F6E57A1.001.2816.4116.41
#FFFFFF1.281.0021.0021.00
#00000016.4121.001.001.00
##00000016.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DF70
Deuteranopia (green-blind)
#FBE67F
Tritanopia (blue-blind)
#FFD8CC
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f6e57a;
/* rgb */ color: rgb(246, 229, 122);
/* oklch */ color: oklch(91.4% 0.129 100.4);
Tailwind
colors: {
  custom: {
    50: '#fbeda3',
    500: '#f6e57a',
    950: '#000000',
  },
}
SCSS
$custom: #f6e57a;
$custom-light: #fbeda3;
$custom-dark: #000000;
JSON
{
  "hex": "#f6e57a",
  "rgb": {
    "r": 246,
    "g": 229,
    "b": 122
  },
  "hsl": {
    "h": 51.774,
    "s": 87.324,
    "l": 72.157
  },
  "oklch": {
    "l": 0.91403,
    "c": 0.12947,
    "h": 100.4
  },
  "luminance": 0.77037
}

Semantic roles & 50–950 ramp

primary
#F6E57A
secondary
#4356D2
accent
#21E402
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F6E57A

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

Preview Lab → · Contrast checker → · Palette generator →

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