#F6F57A#F6F57A

#F6F57A is a very light, vivid yellow. Relative luminance 0.863; OKLCH L 94.7% C 0.145 H 108.5°. Best body text is #000000 at 18.26:1 contrast (WCAG AA passes).

Color values

HEX#F6F57A
RGBrgb(246, 245, 122)
HSLhsl(60, 87%, 72%)
HSVhsv(60, 50%, 96%)
CMYKcmyk(0%, 0.4%, 50.4%, 3.5%)
CIE-LABlab(94.44, -15.71, 58.62)
CIE-LCHlch(94.44, 60.69, 105.00°)
OKLaboklab(94.66% -0.046 0.1379)
OKLCHoklch(94.66% 0.145 108.5)
XYZxyz(74.1731, 86.3047, 31.1598)
Luminance0.8630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6F57A #7A7BF6
analogous
#F6B77A #F6F57A #B9F67A
triadic
#F6F57A #7AF6F5 #F57AF6
tetradic
#F6F57A #7AF6B7 #7A7BF6 #F67AB9
square
#F6F57A #7AF6B7 #7A7BF6 #F67AB9
split-complementary
#F6F57A #7AB9F6 #B77AF6
monochromatic
#E6E410 #F2F141 #F6F57A #FAF9B3 #FDFDE2

Accessibility & contrast

On white

1.15
#F6F57A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.26
#F6F57A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6F57A
18.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6F57A#FFFFFF#000000##000000
##F6F57A1.001.1518.2618.26
#FFFFFF1.151.0021.0021.00
#00000018.2621.001.001.00
##00000018.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC6E
Deuteranopia (green-blind)
#FFF180
Tritanopia (blue-blind)
#FFE8D9
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f6f57a;
/* rgb */ color: rgb(246, 245, 122);
/* oklch */ color: oklch(94.7% 0.145 108.5);
Tailwind
colors: {
  custom: {
    50: '#fbf8a3',
    500: '#f6f57a',
    950: '#000000',
  },
}
SCSS
$custom: #f6f57a;
$custom-light: #fbf8a3;
$custom-dark: #000000;
JSON
{
  "hex": "#f6f57a",
  "rgb": {
    "r": 246,
    "g": 245,
    "b": 122
  },
  "hsl": {
    "h": 59.516,
    "s": 87.324,
    "l": 72.157
  },
  "oklch": {
    "l": 0.94664,
    "c": 0.14541,
    "h": 108.5
  },
  "luminance": 0.86303
}

Semantic roles & 50–950 ramp

primary
#F6F57A
secondary
#4344D2
accent
#03E402
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F6F57A

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

Preview Lab → · Contrast checker → · Palette generator →

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