#F6ED78#F6ED78

#F6ED78 is a very light, vivid yellow. Relative luminance 0.815; OKLCH L 93.0% C 0.139 H 104.8°. Best body text is #000000 at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#F6ED78
RGBrgb(246, 237, 120)
HSLhsl(56, 88%, 72%)
HSVhsv(56, 51%, 96%)
CMYKcmyk(0%, 3.7%, 51.2%, 3.5%)
CIE-LABlab(92.36, -11.96, 57.09)
CIE-LCHlch(92.36, 58.33, 101.83°)
OKLaboklab(93% -0.0355 0.1344)
OKLCHoklch(93% 0.139 104.8)
XYZxyz(71.6824, 81.5195, 29.7245)
Luminance0.8152 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6ED78 #7881F6
analogous
#F6AE78 #F6ED78 #C0F678
triadic
#F6ED78 #78F6ED #ED78F6
tetradic
#F6ED78 #78F6AE #7881F6 #F678C0
square
#F6ED78 #78F6AE #7881F6 #F678C0
split-complementary
#F6ED78 #78C0F6 #AE78F6
monochromatic
#E4D50F #F2E53F #F6ED78 #FAF5B1 #FDFBE2

Accessibility & contrast

On white

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

On black

17.30
#F6ED78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6ED78
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6ED78#FFFFFF#000000##000000
##F6ED781.001.2117.3017.30
#FFFFFF1.211.0021.0021.00
#00000017.3021.001.001.00
##00000017.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE66D
Deuteranopia (green-blind)
#FFEC7E
Tritanopia (blue-blind)
#FFE0D2
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f6ed78;
/* rgb */ color: rgb(246, 237, 120);
/* oklch */ color: oklch(93.0% 0.139 104.8);
Tailwind
colors: {
  custom: {
    50: '#fbf2a2',
    500: '#f6ed78',
    950: '#000000',
  },
}
SCSS
$custom: #f6ed78;
$custom-light: #fbf2a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f6ed78",
  "rgb": {
    "r": 246,
    "g": 237,
    "b": 120
  },
  "hsl": {
    "h": 55.714,
    "s": 87.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.93002,
    "c": 0.13903,
    "h": 104.8
  },
  "luminance": 0.81517
}

Semantic roles & 50–950 ramp

primary
#F6ED78
secondary
#414BD1
accent
#12E401
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #F6ED78

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

Preview Lab → · Contrast checker → · Palette generator →

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