#F6DB7B#F6DB7B

#F6DB7B is a very light, moderate yellow. Relative luminance 0.717; OKLCH L 89.4% C 0.120 H 94.1°. Best body text is #000000 at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#F6DB7B
RGBrgb(246, 219, 123)
HSLhsl(47, 87%, 72%)
HSVhsv(47, 50%, 96%)
CMYKcmyk(0%, 11%, 50%, 3.5%)
CIE-LABlab(87.82, -2.69, 50.25)
CIE-LCHlch(87.82, 50.32, 93.07°)
OKLaboklab(89.41% -0.0085 0.1197)
OKLCHoklch(89.41% 0.12 94.1)
XYZxyz(66.9150, 71.6888, 29.0477)
Luminance0.7169 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6DB7B #7B96F6
analogous
#F69D7B #F6DB7B #D4F67B
triadic
#F6DB7B #7BF6DB #DB7BF6
tetradic
#F6DB7B #7BF69D #7B96F6 #F67BD4
square
#F6DB7B #7BF69D #7B96F6 #F67BD4
split-complementary
#F6DB7B #7BD4F6 #9D7BF6
monochromatic
#E7B810 #F2CB42 #F6DB7B #FAEBB4 #FDF7E2

Accessibility & contrast

On white

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

On black

15.34
#F6DB7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6DB7B
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6DB7B#FFFFFF#000000##000000
##F6DB7B1.001.3715.3415.34
#FFFFFF1.371.0021.0021.00
#00000015.3421.001.001.00
##00000015.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f6db7b;
/* rgb */ color: rgb(246, 219, 123);
/* oklch */ color: oklch(89.4% 0.120 94.1);
Tailwind
colors: {
  custom: {
    50: '#fbe5a3',
    500: '#f6db7b',
    950: '#000000',
  },
}
SCSS
$custom: #f6db7b;
$custom-light: #fbe5a3;
$custom-dark: #000000;
JSON
{
  "hex": "#f6db7b",
  "rgb": {
    "r": 246,
    "g": 219,
    "b": 123
  },
  "hsl": {
    "h": 46.829,
    "s": 87.234,
    "l": 72.353
  },
  "oklch": {
    "l": 0.89412,
    "c": 0.11999,
    "h": 94.1
  },
  "luminance": 0.71686
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F6DB7B

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

Preview Lab → · Contrast checker → · Palette generator →

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