#F6DB7A#F6DB7A

#F6DB7A is a very light, vivid yellow. Relative luminance 0.717; OKLCH L 89.4% C 0.121 H 94.2°. Best body text is #000000 at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#F6DB7A
RGBrgb(246, 219, 122)
HSLhsl(47, 87%, 72%)
HSVhsv(47, 50%, 96%)
CMYKcmyk(0%, 11%, 50.4%, 3.5%)
CIE-LABlab(87.81, -2.78, 50.71)
CIE-LCHlch(87.81, 50.79, 93.14°)
OKLaboklab(89.4% -0.0089 0.1206)
OKLCHoklch(89.4% 0.121 94.2)
XYZxyz(66.8527, 71.6639, 28.7197)
Luminance0.7166 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6DB7A #7A95F6
analogous
#F69D7A #F6DB7A #D3F67A
triadic
#F6DB7A #7AF6DB #DB7AF6
tetradic
#F6DB7A #7AF69D #7A95F6 #F67AD3
square
#F6DB7A #7AF69D #7A95F6 #F67AD3
split-complementary
#F6DB7A #7AD3F6 #9D7AF6
monochromatic
#E6B710 #F2CB41 #F6DB7A #FAEBB3 #FDF7E2

Accessibility & contrast

On white

1.37
#F6DB7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.33
#F6DB7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6DB7A
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6DB7A#FFFFFF#000000##000000
##F6DB7A1.001.3715.3315.33
#FFFFFF1.371.0021.0021.00
#00000015.3321.001.001.00
##00000015.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD772
Deuteranopia (green-blind)
#F4E07E
Tritanopia (blue-blind)
#FFCEC4
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f6db7a;
/* rgb */ color: rgb(246, 219, 122);
/* oklch */ color: oklch(89.4% 0.121 94.2);
Tailwind
colors: {
  custom: {
    50: '#fbe5a2',
    500: '#f6db7a',
    950: '#000000',
  },
}
SCSS
$custom: #f6db7a;
$custom-light: #fbe5a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f6db7a",
  "rgb": {
    "r": 246,
    "g": 219,
    "b": 122
  },
  "hsl": {
    "h": 46.935,
    "s": 87.324,
    "l": 72.157
  },
  "oklch": {
    "l": 0.89398,
    "c": 0.12097,
    "h": 94.2
  },
  "luminance": 0.71661
}

Semantic roles & 50–950 ramp

primary
#F6DB7A
secondary
#4362D2
accent
#33E402
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F6DB7A

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

Preview Lab → · Contrast checker → · Palette generator →

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