#F6DF7A#F6DF7A

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

Color values

HEX#F6DF7A
RGBrgb(246, 223, 122)
HSLhsl(49, 87%, 72%)
HSVhsv(49, 50%, 96%)
CMYKcmyk(0%, 9.3%, 50.4%, 3.5%)
CIE-LABlab(88.82, -4.80, 51.93)
CIE-LCHlch(88.82, 52.15, 95.28°)
OKLaboklab(90.2% -0.0147 0.1233)
OKLCHoklch(90.2% 0.124 96.8)
XYZxyz(67.9088, 73.7760, 29.0717)
Luminance0.7377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6DF7A #7A91F6
analogous
#F6A17A #F6DF7A #CFF67A
triadic
#F6DF7A #7AF6DF #DF7AF6
tetradic
#F6DF7A #7AF6A1 #7A91F6 #F67ACF
square
#F6DF7A #7AF6A1 #7A91F6 #F67ACF
split-complementary
#F6DF7A #7ACFF6 #A17AF6
monochromatic
#E6BE10 #F2D141 #F6DF7A #FAEDB3 #FDF8E2

Accessibility & contrast

On white

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

On black

15.75
#F6DF7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6DF7A
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6DF7A#FFFFFF#000000##000000
##F6DF7A1.001.3315.7515.75
#FFFFFF1.331.0021.0021.00
#00000015.7521.001.001.00
##00000015.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DB71
Deuteranopia (green-blind)
#F7E27E
Tritanopia (blue-blind)
#FFD2C7
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f6df7a;
/* rgb */ color: rgb(246, 223, 122);
/* oklch */ color: oklch(90.2% 0.124 96.8);
Tailwind
colors: {
  custom: {
    50: '#fbe8a2',
    500: '#f6df7a',
    950: '#000000',
  },
}
SCSS
$custom: #f6df7a;
$custom-light: #fbe8a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f6df7a",
  "rgb": {
    "r": 246,
    "g": 223,
    "b": 122
  },
  "hsl": {
    "h": 48.871,
    "s": 87.324,
    "l": 72.157
  },
  "oklch": {
    "l": 0.90197,
    "c": 0.1242,
    "h": 96.8
  },
  "luminance": 0.73773
}

Semantic roles & 50–950 ramp

primary
#F6DF7A
secondary
#435DD2
accent
#2CE402
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F6DF7A

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

Preview Lab → · Contrast checker → · Palette generator →

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