#F6DF81#F6DF81

#F6DF81 is a very light, moderate yellow. Relative luminance 0.740; OKLCH L 90.3% C 0.117 H 96.0°. Best body text is #000000 at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#F6DF81
RGBrgb(246, 223, 129)
HSLhsl(48, 87%, 74%)
HSVhsv(48, 48%, 96%)
CMYKcmyk(0%, 9.3%, 47.6%, 3.5%)
CIE-LABlab(88.90, -4.19, 48.67)
CIE-LCHlch(88.90, 48.85, 94.92°)
OKLaboklab(90.29% -0.0122 0.1167)
OKLCHoklch(90.29% 0.117 96)
XYZxyz(68.3582, 73.9558, 31.4387)
Luminance0.7395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6DF81 #8198F6
analogous
#F6A481 #F6DF81 #D2F681
triadic
#F6DF81 #81F6DF #DF81F6
tetradic
#F6DF81 #81F6A4 #8198F6 #F681D2
square
#F6DF81 #81F6A4 #8198F6 #F681D2
split-complementary
#F6DF81 #81D2F6 #A481F6
monochromatic
#ECC111 #F2D048 #F6DF81 #FAEEBA #FDF8E2

Accessibility & contrast

On white

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

On black

15.79
#F6DF81 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6DF81
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6DF81#FFFFFF#000000##000000
##F6DF811.001.3315.7915.79
#FFFFFF1.331.0021.0021.00
#00000015.7921.001.001.00
##00000015.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DB79
Deuteranopia (green-blind)
#F6E385
Tritanopia (blue-blind)
#FFD2C9
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f6df81;
/* rgb */ color: rgb(246, 223, 129);
/* oklch */ color: oklch(90.3% 0.117 96.0);
Tailwind
colors: {
  custom: {
    50: '#fbe8a7',
    500: '#f6df81',
    950: '#000000',
  },
}
SCSS
$custom: #f6df81;
$custom-light: #fbe8a7;
$custom-dark: #000000;
JSON
{
  "hex": "#f6df81",
  "rgb": {
    "r": 246,
    "g": 223,
    "b": 129
  },
  "hsl": {
    "h": 48.205,
    "s": 86.667,
    "l": 73.529
  },
  "oklch": {
    "l": 0.90292,
    "c": 0.1173,
    "h": 96
  },
  "luminance": 0.73953
}

Semantic roles & 50–950 ramp

primary
#F6DF81
secondary
#4964D2
accent
#2FE302
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#181610
muted
#868480

Preview Lab

Preview with #F6DF81

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

Preview Lab → · Contrast checker → · Palette generator →

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