#F6DC7E#F6DC7E

#F6DC7E is a very light, moderate yellow. Relative luminance 0.723; OKLCH L 89.7% C 0.118 H 94.3°. Best body text is #000000 at 15.46:1 contrast (WCAG AA passes).

Color values

HEX#F6DC7E
RGBrgb(246, 220, 126)
HSLhsl(47, 87%, 73%)
HSVhsv(47, 49%, 96%)
CMYKcmyk(0%, 10.6%, 48.8%, 3.5%)
CIE-LABlab(88.11, -2.94, 49.15)
CIE-LCHlch(88.11, 49.24, 93.42°)
OKLaboklab(89.65% -0.0089 0.1175)
OKLCHoklch(89.65% 0.118 94.3)
XYZxyz(67.3673, 72.2884, 30.1391)
Luminance0.7229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6DC7E #7E98F6
analogous
#F6A07E #F6DC7E #D4F67E
triadic
#F6DC7E #7EF6DC #DC7EF6
tetradic
#F6DC7E #7EF6A0 #7E98F6 #F67ED4
square
#F6DC7E #7EF6A0 #7E98F6 #F67ED4
split-complementary
#F6DC7E #7ED4F6 #A07EF6
monochromatic
#E9BA10 #F2CC45 #F6DC7E #FAECB7 #FDF7E2

Accessibility & contrast

On white

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

On black

15.46
#F6DC7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6DC7E
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6DC7E#FFFFFF#000000##000000
##F6DC7E1.001.3615.4615.46
#FFFFFF1.361.0021.0021.00
#00000015.4621.001.001.00
##00000015.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED876
Deuteranopia (green-blind)
#F4E182
Tritanopia (blue-blind)
#FFCFC6
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f6dc7e;
/* rgb */ color: rgb(246, 220, 126);
/* oklch */ color: oklch(89.7% 0.118 94.3);
Tailwind
colors: {
  custom: {
    50: '#fbe6a5',
    500: '#f6dc7e',
    950: '#000000',
  },
}
SCSS
$custom: #f6dc7e;
$custom-light: #fbe6a5;
$custom-dark: #000000;
JSON
{
  "hex": "#f6dc7e",
  "rgb": {
    "r": 246,
    "g": 220,
    "b": 126
  },
  "hsl": {
    "h": 47,
    "s": 86.957,
    "l": 72.941
  },
  "oklch": {
    "l": 0.89652,
    "c": 0.11784,
    "h": 94.3
  },
  "luminance": 0.72286
}

Semantic roles & 50–950 ramp

primary
#F6DC7E
secondary
#4664D2
accent
#33E402
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18150F
muted
#868480

Preview Lab

Preview with #F6DC7E

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

Preview Lab → · Contrast checker → · Palette generator →

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