#F6DF8B#F6DF8B

#F6DF8B is a very light, moderate yellow. Relative luminance 0.742; OKLCH L 90.4% C 0.107 H 94.6°. Best body text is #000000 at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#F6DF8B
RGBrgb(246, 223, 139)
HSLhsl(47, 86%, 75%)
HSVhsv(47, 43%, 96%)
CMYKcmyk(0%, 9.3%, 43.5%, 3.5%)
CIE-LABlab(89.03, -3.24, 43.94)
CIE-LCHlch(89.03, 44.06, 94.21°)
OKLaboklab(90.44% -0.0085 0.1067)
OKLCHoklch(90.44% 0.107 94.6)
XYZxyz(69.0557, 74.2348, 35.1123)
Luminance0.7423 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6DF8B #8BA2F6
analogous
#F6A98B #F6DF8B #D7F68B
triadic
#F6DF8B #8BF6DF #DF8BF6
tetradic
#F6DF8B #8BF6A9 #8BA2F6 #F68BD7
square
#F6DF8B #8BF6A9 #8BA2F6 #F68BD7
split-complementary
#F6DF8B #8BD7F6 #A98BF6
monochromatic
#EDC019 #F2CF52 #F6DF8B #FAEFC4 #FDF7E3

Accessibility & contrast

On white

1.33
#F6DF8B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.85
#F6DF8B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6DF8B
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6DF8B#FFFFFF#000000##000000
##F6DF8B1.001.3315.8515.85
#FFFFFF1.331.0021.0021.00
#00000015.8521.001.001.00
##00000015.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFDB84
Deuteranopia (green-blind)
#F5E38E
Tritanopia (blue-blind)
#FFD3CA
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f6df8b;
/* rgb */ color: rgb(246, 223, 139);
/* oklch */ color: oklch(90.4% 0.107 94.6);
Tailwind
colors: {
  custom: {
    50: '#fbe8ae',
    500: '#f6df8b',
    950: '#000000',
  },
}
SCSS
$custom: #f6df8b;
$custom-light: #fbe8ae;
$custom-dark: #000000;
JSON
{
  "hex": "#f6df8b",
  "rgb": {
    "r": 246,
    "g": 223,
    "b": 139
  },
  "hsl": {
    "h": 47.103,
    "s": 85.6,
    "l": 75.49
  },
  "oklch": {
    "l": 0.90439,
    "c": 0.10701,
    "h": 94.6
  },
  "luminance": 0.74232
}

Semantic roles & 50–950 ramp

primary
#F6DF8B
secondary
#526ED4
accent
#33E203
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F6DF8B

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

Preview Lab → · Contrast checker → · Palette generator →

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