#F6EB5D#F6EB5D

#F6EB5D is a very light, vivid yellow. Relative luminance 0.798; OKLCH L 92.3% C 0.160 H 104.9°. Best body text is #000000 at 16.96:1 contrast (WCAG AA passes).

Color values

HEX#F6EB5D
RGBrgb(246, 235, 93)
HSLhsl(56, 89%, 66%)
HSVhsv(56, 62%, 96%)
CMYKcmyk(0%, 4.5%, 62.2%, 3.5%)
CIE-LABlab(91.60, -12.90, 68.00)
CIE-LCHlch(91.60, 69.21, 100.75°)
OKLaboklab(92.31% -0.0411 0.1546)
OKLCHoklch(92.31% 0.16 104.9)
XYZxyz(69.6927, 79.8023, 22.0861)
Luminance0.7980 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6EB5D #5D68F6
analogous
#F69F5D #F6EB5D #B5F65D
triadic
#F6EB5D #5DF6EB #EB5DF6
tetradic
#F6EB5D #5DF69F #5D68F6 #F65DB5
square
#F6EB5D #5DF69F #5D68F6 #F65DB5
split-complementary
#F6EB5D #5DB5F6 #9F5DF6
monochromatic
#CDBF0B #F3E423 #F6EB5D #F9F297 #FCF9D1

Accessibility & contrast

On white

1.24
#F6EB5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.96
#F6EB5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6EB5D
16.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6EB5D#FFFFFF#000000##000000
##F6EB5D1.001.2416.9616.96
#FFFFFF1.241.0021.0021.00
#00000016.9621.001.001.00
##00000016.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE34C
Deuteranopia (green-blind)
#FFEA65
Tritanopia (blue-blind)
#FFDCCD
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f6eb5d;
/* rgb */ color: rgb(246, 235, 93);
/* oklch */ color: oklch(92.3% 0.160 104.9);
Tailwind
colors: {
  custom: {
    50: '#fcf191',
    500: '#f6eb5d',
    950: '#000000',
  },
}
SCSS
$custom: #f6eb5d;
$custom-light: #fcf191;
$custom-dark: #000000;
JSON
{
  "hex": "#f6eb5d",
  "rgb": {
    "r": 246,
    "g": 235,
    "b": 93
  },
  "hsl": {
    "h": 55.686,
    "s": 89.474,
    "l": 66.471
  },
  "oklch": {
    "l": 0.92311,
    "c": 0.16,
    "h": 104.9
  },
  "luminance": 0.798
}

Semantic roles & 50–950 ramp

primary
#F6EB5D
secondary
#2E39C9
accent
#11E600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F6EB5D

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

Preview Lab → · Contrast checker → · Palette generator →

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