#F6ED8A#F6ED8A

#F6ED8A is a very light, vivid yellow. Relative luminance 0.820; OKLCH L 93.2% C 0.121 H 103.9°. Best body text is #000000 at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#F6ED8A
RGBrgb(246, 237, 138)
HSLhsl(55, 86%, 75%)
HSVhsv(55, 44%, 96%)
CMYKcmyk(0%, 3.7%, 43.9%, 3.5%)
CIE-LABlab(92.57, -10.35, 48.86)
CIE-LCHlch(92.57, 49.95, 101.96°)
OKLaboklab(93.24% -0.0292 0.1177)
OKLCHoklch(93.24% 0.121 103.9)
XYZxyz(72.8793, 81.9982, 36.0280)
Luminance0.8200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6ED8A #8A93F6
analogous
#F6B78A #F6ED8A #C9F68A
triadic
#F6ED8A #8AF6ED #ED8AF6
tetradic
#F6ED8A #8AF6B7 #8A93F6 #F68AC9
square
#F6ED8A #8AF6B7 #8A93F6 #F68AC9
split-complementary
#F6ED8A #8AC9F6 #B78AF6
monochromatic
#EDDC18 #F2E451 #F6ED8A #FAF6C3 #FDFBE3

Accessibility & contrast

On white

1.21
#F6ED8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.40
#F6ED8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6ED8A
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6ED8A#FFFFFF#000000##000000
##F6ED8A1.001.2117.4017.40
#FFFFFF1.211.0021.0021.00
#00000017.4021.001.001.00
##00000017.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE782
Deuteranopia (green-blind)
#FFEC8E
Tritanopia (blue-blind)
#FFE1D5
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f6ed8a;
/* rgb */ color: rgb(246, 237, 138);
/* oklch */ color: oklch(93.2% 0.121 103.9);
Tailwind
colors: {
  custom: {
    50: '#fbf2ae',
    500: '#f6ed8a',
    950: '#000000',
  },
}
SCSS
$custom: #f6ed8a;
$custom-light: #fbf2ae;
$custom-dark: #000000;
JSON
{
  "hex": "#f6ed8a",
  "rgb": {
    "r": 246,
    "g": 237,
    "b": 138
  },
  "hsl": {
    "h": 55,
    "s": 85.714,
    "l": 75.294
  },
  "oklch": {
    "l": 0.93238,
    "c": 0.12124,
    "h": 103.9
  },
  "luminance": 0.81996
}

Semantic roles & 50–950 ramp

primary
#F6ED8A
secondary
#515CD3
accent
#16E203
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181610
muted
#868581

Preview Lab

Preview with #F6ED8A

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

Preview Lab → · Contrast checker → · Palette generator →

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