#F6ED6B#F6ED6B

#F6ED6B is a very light, vivid yellow. Relative luminance 0.812; OKLCH L 92.9% C 0.151 H 105.3°. Best body text is #000000 at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#F6ED6B
RGBrgb(246, 237, 107)
HSLhsl(56, 89%, 69%)
HSVhsv(56, 57%, 96%)
CMYKcmyk(0%, 3.7%, 56.5%, 3.5%)
CIE-LABlab(92.23, -12.96, 62.77)
CIE-LCHlch(92.23, 64.09, 101.66°)
OKLaboklab(92.86% -0.0397 0.1453)
OKLCHoklch(92.86% 0.151 105.3)
XYZxyz(70.9463, 81.2250, 25.8479)
Luminance0.8122 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6ED6B #6B74F6
analogous
#F6A86B #F6ED6B #BAF66B
triadic
#F6ED6B #6BF6ED #ED6BF6
tetradic
#F6ED6B #6BF6A8 #6B74F6 #F66BBA
square
#F6ED6B #6BF6A8 #6B74F6 #F66BBA
split-complementary
#F6ED6B #6BBAF6 #A86BF6
monochromatic
#D9CC0D #F2E631 #F6ED6B #FAF4A5 #FDFBDE

Accessibility & contrast

On white

1.22
#F6ED6B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.24
#F6ED6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6ED6B
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6ED6B#FFFFFF#000000##000000
##F6ED6B1.001.2217.2417.24
#FFFFFF1.221.0021.0021.00
#00000017.2421.001.001.00
##00000017.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE55D
Deuteranopia (green-blind)
#FFEB72
Tritanopia (blue-blind)
#FFDFD1
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f6ed6b;
/* rgb */ color: rgb(246, 237, 107);
/* oklch */ color: oklch(92.9% 0.151 105.3);
Tailwind
colors: {
  custom: {
    50: '#fcf299',
    500: '#f6ed6b',
    950: '#000000',
  },
}
SCSS
$custom: #f6ed6b;
$custom-light: #fcf299;
$custom-dark: #000000;
JSON
{
  "hex": "#f6ed6b",
  "rgb": {
    "r": 246,
    "g": 237,
    "b": 107
  },
  "hsl": {
    "h": 56.115,
    "s": 88.535,
    "l": 69.216
  },
  "oklch": {
    "l": 0.92856,
    "c": 0.15065,
    "h": 105.3
  },
  "luminance": 0.81223
}

Semantic roles & 50–950 ramp

primary
#F6ED6B
secondary
#363FD0
accent
#0FE500
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F6ED6B

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

Preview Lab → · Contrast checker → · Palette generator →

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