#F6DE7A#F6DE7A

#F6DE7A is a very light, vivid yellow. Relative luminance 0.732; OKLCH L 90.0% C 0.123 H 96.2°. Best body text is #000000 at 15.65:1 contrast (WCAG AA passes).

Color values

HEX#F6DE7A
RGBrgb(246, 222, 122)
HSLhsl(48, 87%, 72%)
HSVhsv(48, 50%, 96%)
CMYKcmyk(0%, 9.8%, 50.4%, 3.5%)
CIE-LABlab(88.56, -4.30, 51.63)
CIE-LCHlch(88.56, 51.81, 94.76°)
OKLaboklab(90% -0.0133 0.1227)
OKLCHoklch(90% 0.123 96.2)
XYZxyz(67.6424, 73.2433, 28.9829)
Luminance0.7324 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6DE7A #7A92F6
analogous
#F6A07A #F6DE7A #D0F67A
triadic
#F6DE7A #7AF6DE #DE7AF6
tetradic
#F6DE7A #7AF6A0 #7A92F6 #F67AD0
square
#F6DE7A #7AF6A0 #7A92F6 #F67AD0
split-complementary
#F6DE7A #7AD0F6 #A07AF6
monochromatic
#E6BD10 #F2D041 #F6DE7A #FAECB3 #FDF8E2

Accessibility & contrast

On white

1.34
#F6DE7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.65
#F6DE7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6DE7A
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6DE7A#FFFFFF#000000##000000
##F6DE7A1.001.3415.6515.65
#FFFFFF1.341.0021.0021.00
#00000015.6521.001.001.00
##00000015.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DA71
Deuteranopia (green-blind)
#F6E27E
Tritanopia (blue-blind)
#FFD1C7
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f6de7a;
/* rgb */ color: rgb(246, 222, 122);
/* oklch */ color: oklch(90.0% 0.123 96.2);
Tailwind
colors: {
  custom: {
    50: '#fbe8a2',
    500: '#f6de7a',
    950: '#000000',
  },
}
SCSS
$custom: #f6de7a;
$custom-light: #fbe8a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f6de7a",
  "rgb": {
    "r": 246,
    "g": 222,
    "b": 122
  },
  "hsl": {
    "h": 48.387,
    "s": 87.324,
    "l": 72.157
  },
  "oklch": {
    "l": 0.89997,
    "c": 0.12337,
    "h": 96.2
  },
  "luminance": 0.73241
}

Semantic roles & 50–950 ramp

primary
#F6DE7A
secondary
#435ED2
accent
#2DE402
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F6DE7A

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

Preview Lab → · Contrast checker → · Palette generator →

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