#F6E754#F6E754

#F6E754 is a very light, vivid yellow. Relative luminance 0.774; OKLCH L 91.4% C 0.163 H 103.5°. Best body text is #000000 at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#F6E754
RGBrgb(246, 231, 84)
HSLhsl(54, 90%, 65%)
HSVhsv(54, 66%, 96%)
CMYKcmyk(0%, 6.1%, 65.9%, 3.5%)
CIE-LABlab(90.50, -11.45, 70.44)
CIE-LCHlch(90.50, 71.37, 99.24°)
OKLaboklab(91.42% -0.0379 0.1585)
OKLCHoklch(91.42% 0.163 103.5)
XYZxyz(68.1849, 77.3874, 19.7314)
Luminance0.7739 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6E754 #5463F6
analogous
#F69654 #F6E754 #B4F654
triadic
#F6E754 #54F6E7 #E754F6
tetradic
#F6E754 #54F696 #5463F6 #F654B4
square
#F6E754 #54F696 #5463F6 #F654B4
split-complementary
#F6E754 #54B4F6 #9654F6
monochromatic
#C5B40A #F3DF1A #F6E754 #F9EF8E #FCF7C8

Accessibility & contrast

On white

1.27
#F6E754 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.48
#F6E754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6E754
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6E754#FFFFFF#000000##000000
##F6E7541.001.2716.4816.48
#FFFFFF1.271.0021.0021.00
#00000016.4821.001.001.00
##00000016.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE040
Deuteranopia (green-blind)
#FFE75D
Tritanopia (blue-blind)
#FFD8C9
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f6e754;
/* rgb */ color: rgb(246, 231, 84);
/* oklch */ color: oklch(91.4% 0.163 103.5);
Tailwind
colors: {
  custom: {
    50: '#fdee8b',
    500: '#f6e754',
    950: '#000000',
  },
}
SCSS
$custom: #f6e754;
$custom-light: #fdee8b;
$custom-dark: #000000;
JSON
{
  "hex": "#f6e754",
  "rgb": {
    "r": 246,
    "g": 231,
    "b": 84
  },
  "hsl": {
    "h": 54.444,
    "s": 90,
    "l": 64.706
  },
  "oklch": {
    "l": 0.91417,
    "c": 0.16293,
    "h": 103.5
  },
  "luminance": 0.77385
}

Semantic roles & 50–950 ramp

primary
#F6E754
secondary
#2C3AC2
accent
#15E600
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160C
muted
#86847F

Preview Lab

Preview with #F6E754

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

Preview Lab → · Contrast checker → · Palette generator →

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