#F6E46F#F6E46F

#F6E46F is a very light, vivid yellow. Relative luminance 0.762; OKLCH L 91.1% C 0.139 H 100.7°. Best body text is #000000 at 16.25:1 contrast (WCAG AA passes).

Color values

HEX#F6E46F
RGBrgb(246, 228, 111)
HSLhsl(52, 88%, 70%)
HSVhsv(52, 55%, 96%)
CMYKcmyk(0%, 7.3%, 54.9%, 3.5%)
CIE-LABlab(89.97, -8.20, 58.41)
CIE-LCHlch(89.97, 58.98, 97.99°)
OKLaboklab(91.07% -0.0257 0.1364)
OKLCHoklch(91.07% 0.139 100.7)
XYZxyz(68.6210, 76.2299, 26.1351)
Luminance0.7623 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6E46F #6F81F6
analogous
#F6A16F #F6E46F #C4F66F
triadic
#F6E46F #6FF6E4 #E46FF6
tetradic
#F6E46F #6FF6A1 #6F81F6 #F66FC4
square
#F6E46F #6FF6A1 #6F81F6 #F66FC4
split-complementary
#F6E46F #6FC4F6 #A16FF6
monochromatic
#DDC10E #F2D935 #F6E46F #FAEFA9 #FDFAE2

Accessibility & contrast

On white

1.29
#F6E46F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.25
#F6E46F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6E46F
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6E46F#FFFFFF#000000##000000
##F6E46F1.001.2916.2516.25
#FFFFFF1.291.0021.0021.00
#00000016.2521.001.001.00
##00000016.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DE64
Deuteranopia (green-blind)
#FCE575
Tritanopia (blue-blind)
#FFD6CA
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f6e46f;
/* rgb */ color: rgb(246, 228, 111);
/* oklch */ color: oklch(91.1% 0.139 100.7);
Tailwind
colors: {
  custom: {
    50: '#fcec9c',
    500: '#f6e46f',
    950: '#000000',
  },
}
SCSS
$custom: #f6e46f;
$custom-light: #fcec9c;
$custom-dark: #000000;
JSON
{
  "hex": "#f6e46f",
  "rgb": {
    "r": 246,
    "g": 228,
    "b": 111
  },
  "hsl": {
    "h": 52,
    "s": 88.235,
    "l": 70
  },
  "oklch": {
    "l": 0.91069,
    "c": 0.13878,
    "h": 100.7
  },
  "luminance": 0.76227
}

Semantic roles & 50–950 ramp

primary
#F6E46F
secondary
#394DD0
accent
#1FE501
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F6E46F

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

Preview Lab → · Contrast checker → · Palette generator →

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