#F6E17B#F6E17B

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

Color values

HEX#F6E17B
RGBrgb(246, 225, 123)
HSLhsl(50, 87%, 72%)
HSVhsv(50, 50%, 96%)
CMYKcmyk(0%, 8.5%, 50%, 3.5%)
CIE-LABlab(89.33, -5.73, 52.08)
CIE-LCHlch(89.33, 52.40, 96.27°)
OKLaboklab(90.61% -0.0173 0.1237)
OKLCHoklch(90.61% 0.125 98)
XYZxyz(68.5086, 74.8759, 29.5789)
Luminance0.7487 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6E17B #7B90F6
analogous
#F6A47B #F6E17B #CEF67B
triadic
#F6E17B #7BF6E1 #E17BF6
tetradic
#F6E17B #7BF6A4 #7B90F6 #F67BCE
square
#F6E17B #7BF6A4 #7B90F6 #F67BCE
split-complementary
#F6E17B #7BCEF6 #A47BF6
monochromatic
#E7C210 #F2D442 #F6E17B #FAEEB4 #FDF8E2

Accessibility & contrast

On white

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

On black

15.97
#F6E17B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6E17B
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6E17B#FFFFFF#000000##000000
##F6E17B1.001.3115.9715.97
#FFFFFF1.311.0021.0021.00
#00000015.9721.001.001.00
##00000015.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DC72
Deuteranopia (green-blind)
#F8E47F
Tritanopia (blue-blind)
#FFD4C9
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f6e17b;
/* rgb */ color: rgb(246, 225, 123);
/* oklch */ color: oklch(90.6% 0.125 98.0);
Tailwind
colors: {
  custom: {
    50: '#fbeaa3',
    500: '#f6e17b',
    950: '#000000',
  },
}
SCSS
$custom: #f6e17b;
$custom-light: #fbeaa3;
$custom-dark: #000000;
JSON
{
  "hex": "#f6e17b",
  "rgb": {
    "r": 246,
    "g": 225,
    "b": 123
  },
  "hsl": {
    "h": 49.756,
    "s": 87.234,
    "l": 72.353
  },
  "oklch": {
    "l": 0.90611,
    "c": 0.12493,
    "h": 98
  },
  "luminance": 0.74873
}

Semantic roles & 50–950 ramp

primary
#F6E17B
secondary
#445CD2
accent
#28E402
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F6E17B

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

Preview Lab → · Contrast checker → · Palette generator →

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