#F6DF6B#F6DF6B

#F6DF6B is a very light, vivid yellow. Relative luminance 0.734; OKLCH L 90.0% C 0.138 H 98.2°. Best body text is #000000 at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#F6DF6B
RGBrgb(246, 223, 107)
HSLhsl(50, 89%, 69%)
HSVhsv(50, 57%, 96%)
CMYKcmyk(0%, 9.3%, 56.5%, 3.5%)
CIE-LABlab(88.65, -5.99, 58.71)
CIE-LCHlch(88.65, 59.01, 95.83°)
OKLaboklab(90.02% -0.0198 0.1366)
OKLCHoklch(90.02% 0.138 98.2)
XYZxyz(67.0501, 73.4325, 24.5491)
Luminance0.7343 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6DF6B #6B82F6
analogous
#F69A6B #F6DF6B #C8F66B
triadic
#F6DF6B #6BF6DF #DF6BF6
tetradic
#F6DF6B #6BF69A #6B82F6 #F66BC8
square
#F6DF6B #6BF69A #6B82F6 #F66BC8
split-complementary
#F6DF6B #6BC8F6 #9A6BF6
monochromatic
#D9B80D #F2D331 #F6DF6B #FAEBA5 #FDF8DE

Accessibility & contrast

On white

1.34
#F6DF6B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.69
#F6DF6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6DF6B
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6DF6B#FFFFFF#000000##000000
##F6DF6B1.001.3415.6915.69
#FFFFFF1.341.0021.0021.00
#00000015.6921.001.001.00
##00000015.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DA5F
Deuteranopia (green-blind)
#F8E270
Tritanopia (blue-blind)
#FFD1C5
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f6df6b;
/* rgb */ color: rgb(246, 223, 107);
/* oklch */ color: oklch(90.0% 0.138 98.2);
Tailwind
colors: {
  custom: {
    50: '#fce899',
    500: '#f6df6b',
    950: '#000000',
  },
}
SCSS
$custom: #f6df6b;
$custom-light: #fce899;
$custom-dark: #000000;
JSON
{
  "hex": "#f6df6b",
  "rgb": {
    "r": 246,
    "g": 223,
    "b": 107
  },
  "hsl": {
    "h": 50.072,
    "s": 88.535,
    "l": 69.216
  },
  "oklch": {
    "l": 0.90015,
    "c": 0.13803,
    "h": 98.2
  },
  "luminance": 0.7343
}

Semantic roles & 50–950 ramp

primary
#F6DF6B
secondary
#364FD0
accent
#26E500
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F6DF6B

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

Preview Lab → · Contrast checker → · Palette generator →

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