#F6DB5F#F6DB5F

#F6DB5F is a very light, vivid yellow. Relative luminance 0.711; OKLCH L 89.1% C 0.145 H 97.0°. Best body text is #000000 at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#F6DB5F
RGBrgb(246, 219, 95)
HSLhsl(49, 89%, 67%)
HSVhsv(49, 61%, 96%)
CMYKcmyk(0%, 11%, 61.4%, 3.5%)
CIE-LABlab(87.53, -4.80, 62.76)
CIE-LCHlch(87.53, 62.94, 94.38°)
OKLaboklab(89.09% -0.0177 0.1438)
OKLCHoklch(89.09% 0.145 97)
XYZxyz(65.4059, 71.0851, 21.0999)
Luminance0.7108 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6DB5F #5F7AF6
analogous
#F6905F #F6DB5F #C5F65F
triadic
#F6DB5F #5FF6DB #DB5FF6
tetradic
#F6DB5F #5FF690 #5F7AF6 #F65FC5
square
#F6DB5F #5FF690 #5F7AF6 #F65FC5
split-complementary
#F6DB5F #5FC5F6 #905FF6
monochromatic
#CFAC0C #F3CE25 #F6DB5F #F9E899 #FDF5D3

Accessibility & contrast

On white

1.38
#F6DB5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.22
#F6DB5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6DB5F
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6DB5F#FFFFFF#000000##000000
##F6DB5F1.001.3815.2215.22
#FFFFFF1.381.0021.0021.00
#00000015.2221.001.001.00
##00000015.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD651
Deuteranopia (green-blind)
#F6DF65
Tritanopia (blue-blind)
#FFCCC0
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f6db5f;
/* rgb */ color: rgb(246, 219, 95);
/* oklch */ color: oklch(89.1% 0.145 97.0);
Tailwind
colors: {
  custom: {
    50: '#fce591',
    500: '#f6db5f',
    950: '#000000',
  },
}
SCSS
$custom: #f6db5f;
$custom-light: #fce591;
$custom-dark: #000000;
JSON
{
  "hex": "#f6db5f",
  "rgb": {
    "r": 246,
    "g": 219,
    "b": 95
  },
  "hsl": {
    "h": 49.272,
    "s": 89.349,
    "l": 66.863
  },
  "oklch": {
    "l": 0.89086,
    "c": 0.14487,
    "h": 97
  },
  "luminance": 0.71082
}

Semantic roles & 50–950 ramp

primary
#F6DB5F
secondary
#2F4BCB
accent
#29E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F6DB5F

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

Preview Lab → · Contrast checker → · Palette generator →

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