#F6DD7E#F6DD7E

#F6DD7E is a very light, moderate yellow. Relative luminance 0.728; OKLCH L 89.9% C 0.119 H 95.0°. Best body text is #000000 at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#F6DD7E
RGBrgb(246, 221, 126)
HSLhsl(48, 87%, 73%)
HSVhsv(48, 49%, 96%)
CMYKcmyk(0%, 10.2%, 48.8%, 3.5%)
CIE-LABlab(88.36, -3.44, 49.46)
CIE-LCHlch(88.36, 49.58, 93.98°)
OKLaboklab(89.85% -0.0104 0.1182)
OKLCHoklch(89.85% 0.119 95)
XYZxyz(67.6305, 72.8148, 30.2269)
Luminance0.7281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6DD7E #7E97F6
analogous
#F6A17E #F6DD7E #D3F67E
triadic
#F6DD7E #7EF6DD #DD7EF6
tetradic
#F6DD7E #7EF6A1 #7E97F6 #F67ED3
square
#F6DD7E #7EF6A1 #7E97F6 #F67ED3
split-complementary
#F6DD7E #7ED3F6 #A17EF6
monochromatic
#E9BC10 #F2CE45 #F6DD7E #FAECB7 #FDF7E2

Accessibility & contrast

On white

1.35
#F6DD7E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.56
#F6DD7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6DD7E
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6DD7E#FFFFFF#000000##000000
##F6DD7E1.001.3515.5615.56
#FFFFFF1.351.0021.0021.00
#00000015.5621.001.001.00
##00000015.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED976
Deuteranopia (green-blind)
#F5E182
Tritanopia (blue-blind)
#FFD0C6
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f6dd7e;
/* rgb */ color: rgb(246, 221, 126);
/* oklch */ color: oklch(89.9% 0.119 95.0);
Tailwind
colors: {
  custom: {
    50: '#fbe7a5',
    500: '#f6dd7e',
    950: '#000000',
  },
}
SCSS
$custom: #f6dd7e;
$custom-light: #fbe7a5;
$custom-dark: #000000;
JSON
{
  "hex": "#f6dd7e",
  "rgb": {
    "r": 246,
    "g": 221,
    "b": 126
  },
  "hsl": {
    "h": 47.5,
    "s": 86.957,
    "l": 72.941
  },
  "oklch": {
    "l": 0.89851,
    "c": 0.11864,
    "h": 95
  },
  "luminance": 0.72812
}

Semantic roles & 50–950 ramp

primary
#F6DD7E
secondary
#4663D2
accent
#31E402
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F6DD7E

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

Preview Lab → · Contrast checker → · Palette generator →

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