#F6DB8A#F6DB8A

#F6DB8A is a very light, moderate yellow. Relative luminance 0.721; OKLCH L 89.6% C 0.105 H 91.7°. Best body text is #000000 at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#F6DB8A
RGBrgb(246, 219, 138)
HSLhsl(45, 86%, 75%)
HSVhsv(45, 44%, 96%)
CMYKcmyk(0%, 11%, 43.9%, 3.5%)
CIE-LABlab(88.01, -1.30, 43.15)
CIE-LCHlch(88.01, 43.17, 91.73°)
OKLaboklab(89.63% -0.003 0.1048)
OKLCHoklch(89.63% 0.105 91.7)
XYZxyz(67.9269, 72.0935, 34.3772)
Luminance0.7209 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6DB8A #8AA5F6
analogous
#F6A58A #F6DB8A #DBF68A
triadic
#F6DB8A #8AF6DB #DB8AF6
tetradic
#F6DB8A #8AF6A5 #8AA5F6 #F68ADB
square
#F6DB8A #8AF6A5 #8AA5F6 #F68ADB
split-complementary
#F6DB8A #8ADBF6 #A58AF6
monochromatic
#EDB818 #F2CA51 #F6DB8A #FAECC3 #FDF6E3

Accessibility & contrast

On white

1.36
#F6DB8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.42
#F6DB8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6DB8A
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6DB8A#FFFFFF#000000##000000
##F6DB8A1.001.3615.4215.42
#FFFFFF1.361.0021.0021.00
#00000015.4221.001.001.00
##00000015.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD884
Deuteranopia (green-blind)
#F2E08D
Tritanopia (blue-blind)
#FFCFC7
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f6db8a;
/* rgb */ color: rgb(246, 219, 138);
/* oklch */ color: oklch(89.6% 0.105 91.7);
Tailwind
colors: {
  custom: {
    50: '#fbe6ad',
    500: '#f6db8a',
    950: '#000000',
  },
}
SCSS
$custom: #f6db8a;
$custom-light: #fbe6ad;
$custom-dark: #000000;
JSON
{
  "hex": "#f6db8a",
  "rgb": {
    "r": 246,
    "g": 219,
    "b": 138
  },
  "hsl": {
    "h": 45,
    "s": 85.714,
    "l": 75.294
  },
  "oklch": {
    "l": 0.89629,
    "c": 0.10485,
    "h": 91.7
  },
  "luminance": 0.72091
}

Semantic roles & 50–950 ramp

primary
#F6DB8A
secondary
#5171D3
accent
#3BE203
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#181510
muted
#868481

Preview Lab

Preview with #F6DB8A

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

Preview Lab → · Contrast checker → · Palette generator →

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