#F6DF5F#F6DF5F

#F6DF5F is a very light, vivid yellow. Relative luminance 0.732; OKLCH L 89.9% C 0.148 H 99.1°. Best body text is #000000 at 15.64:1 contrast (WCAG AA passes).

Color values

HEX#F6DF5F
RGBrgb(246, 223, 95)
HSLhsl(51, 89%, 67%)
HSVhsv(51, 61%, 96%)
CMYKcmyk(0%, 9.3%, 61.4%, 3.5%)
CIE-LABlab(88.54, -6.82, 63.87)
CIE-LCHlch(88.54, 64.23, 96.09°)
OKLaboklab(89.89% -0.0235 0.1461)
OKLCHoklch(89.89% 0.148 99.1)
XYZxyz(66.4620, 73.1973, 21.4519)
Luminance0.7319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6DF5F #5F76F6
analogous
#F6945F #F6DF5F #C2F65F
triadic
#F6DF5F #5FF6DF #DF5FF6
tetradic
#F6DF5F #5FF694 #5F76F6 #F65FC2
square
#F6DF5F #5FF694 #5F76F6 #F65FC2
split-complementary
#F6DF5F #5FC2F6 #945FF6
monochromatic
#CFB10C #F3D325 #F6DF5F #F9EB99 #FDF6D3

Accessibility & contrast

On white

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

On black

15.64
#F6DF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6DF5F
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6DF5F#FFFFFF#000000##000000
##F6DF5F1.001.3415.6415.64
#FFFFFF1.341.0021.0021.00
#00000015.6421.001.001.00
##00000015.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3D951
Deuteranopia (green-blind)
#F9E266
Tritanopia (blue-blind)
#FFD0C4
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f6df5f;
/* rgb */ color: rgb(246, 223, 95);
/* oklch */ color: oklch(89.9% 0.148 99.1);
Tailwind
colors: {
  custom: {
    50: '#fce891',
    500: '#f6df5f',
    950: '#000000',
  },
}
SCSS
$custom: #f6df5f;
$custom-light: #fce891;
$custom-dark: #000000;
JSON
{
  "hex": "#f6df5f",
  "rgb": {
    "r": 246,
    "g": 223,
    "b": 95
  },
  "hsl": {
    "h": 50.861,
    "s": 89.349,
    "l": 66.863
  },
  "oklch": {
    "l": 0.89891,
    "c": 0.14802,
    "h": 99.1
  },
  "luminance": 0.73194
}

Semantic roles & 50–950 ramp

primary
#F6DF5F
secondary
#2F46CB
accent
#23E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F6DF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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