#F6E17D#F6E17D

#F6E17D is a very light, vivid yellow. Relative luminance 0.749; OKLCH L 90.6% C 0.123 H 97.8°. Best body text is #000000 at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#F6E17D
RGBrgb(246, 225, 125)
HSLhsl(50, 87%, 73%)
HSVhsv(50, 49%, 96%)
CMYKcmyk(0%, 8.5%, 49.2%, 3.5%)
CIE-LABlab(89.36, -5.55, 51.16)
CIE-LCHlch(89.36, 51.46, 96.19°)
OKLaboklab(90.64% -0.0166 0.1219)
OKLCHoklch(90.64% 0.123 97.8)
XYZxyz(68.6350, 74.9265, 30.2450)
Luminance0.7492 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6E17D #7D92F6
analogous
#F6A57D #F6E17D #CEF67D
triadic
#F6E17D #7DF6E1 #E17DF6
tetradic
#F6E17D #7DF6A5 #7D92F6 #F67DCE
square
#F6E17D #7DF6A5 #7D92F6 #F67DCE
split-complementary
#F6E17D #7DCEF6 #A57DF6
monochromatic
#E9C310 #F2D444 #F6E17D #FAEEB6 #FDF8E2

Accessibility & contrast

On white

1.31
#F6E17D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.98
#F6E17D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6E17D
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6E17D#FFFFFF#000000##000000
##F6E17D1.001.3115.9815.98
#FFFFFF1.311.0021.0021.00
#00000015.9821.001.001.00
##00000015.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DC74
Deuteranopia (green-blind)
#F8E481
Tritanopia (blue-blind)
#FFD4C9
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f6e17d;
/* rgb */ color: rgb(246, 225, 125);
/* oklch */ color: oklch(90.6% 0.123 97.8);
Tailwind
colors: {
  custom: {
    50: '#fbeaa5',
    500: '#f6e17d',
    950: '#000000',
  },
}
SCSS
$custom: #f6e17d;
$custom-light: #fbeaa5;
$custom-dark: #000000;
JSON
{
  "hex": "#f6e17d",
  "rgb": {
    "r": 246,
    "g": 225,
    "b": 125
  },
  "hsl": {
    "h": 49.587,
    "s": 87.05,
    "l": 72.745
  },
  "oklch": {
    "l": 0.90637,
    "c": 0.12298,
    "h": 97.8
  },
  "luminance": 0.74924
}

Semantic roles & 50–950 ramp

primary
#F6E17D
secondary
#455ED2
accent
#29E402
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F6E17D

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

Preview Lab → · Contrast checker → · Palette generator →

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