#F6DF7B#F6DF7B

#F6DF7B is a very light, vivid yellow. Relative luminance 0.738; OKLCH L 90.2% C 0.123 H 96.7°. Best body text is #000000 at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#F6DF7B
RGBrgb(246, 223, 123)
HSLhsl(49, 87%, 72%)
HSVhsv(49, 50%, 96%)
CMYKcmyk(0%, 9.3%, 50%, 3.5%)
CIE-LABlab(88.83, -4.72, 51.47)
CIE-LCHlch(88.83, 51.69, 95.24°)
OKLaboklab(90.21% -0.0144 0.1224)
OKLCHoklch(90.21% 0.123 96.7)
XYZxyz(67.9711, 73.8009, 29.3997)
Luminance0.7380 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6DF7B #7B92F6
analogous
#F6A17B #F6DF7B #D0F67B
triadic
#F6DF7B #7BF6DF #DF7BF6
tetradic
#F6DF7B #7BF6A1 #7B92F6 #F67BD0
square
#F6DF7B #7BF6A1 #7B92F6 #F67BD0
split-complementary
#F6DF7B #7BD0F6 #A17BF6
monochromatic
#E7BF10 #F2D142 #F6DF7B #FAEDB4 #FDF8E2

Accessibility & contrast

On white

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

On black

15.76
#F6DF7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6DF7B
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6DF7B#FFFFFF#000000##000000
##F6DF7B1.001.3315.7615.76
#FFFFFF1.331.0021.0021.00
#00000015.7621.001.001.00
##00000015.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DB72
Deuteranopia (green-blind)
#F7E27F
Tritanopia (blue-blind)
#FFD2C8
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f6df7b;
/* rgb */ color: rgb(246, 223, 123);
/* oklch */ color: oklch(90.2% 0.123 96.7);
Tailwind
colors: {
  custom: {
    50: '#fbe8a3',
    500: '#f6df7b',
    950: '#000000',
  },
}
SCSS
$custom: #f6df7b;
$custom-light: #fbe8a3;
$custom-dark: #000000;
JSON
{
  "hex": "#f6df7b",
  "rgb": {
    "r": 246,
    "g": 223,
    "b": 123
  },
  "hsl": {
    "h": 48.78,
    "s": 87.234,
    "l": 72.353
  },
  "oklch": {
    "l": 0.9021,
    "c": 0.12323,
    "h": 96.7
  },
  "luminance": 0.73798
}

Semantic roles & 50–950 ramp

primary
#F6DF7B
secondary
#445ED2
accent
#2CE402
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F6DF7B

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

Preview Lab → · Contrast checker → · Palette generator →

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