#F6DC5F#F6DC5F

#F6DC5F is a very light, vivid yellow. Relative luminance 0.716; OKLCH L 89.3% C 0.146 H 97.6°. Best body text is #000000 at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#F6DC5F
RGBrgb(246, 220, 95)
HSLhsl(50, 89%, 67%)
HSVhsv(50, 61%, 96%)
CMYKcmyk(0%, 10.6%, 61.4%, 3.5%)
CIE-LABlab(87.78, -5.31, 63.03)
CIE-LCHlch(87.78, 63.26, 94.81°)
OKLaboklab(89.29% -0.0192 0.1444)
OKLCHoklch(89.29% 0.146 97.6)
XYZxyz(65.6676, 71.6085, 21.1871)
Luminance0.7160 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6DC5F #5F79F6
analogous
#F6915F #F6DC5F #C5F65F
triadic
#F6DC5F #5FF6DC #DC5FF6
tetradic
#F6DC5F #5FF691 #5F79F6 #F65FC5
square
#F6DC5F #5FF691 #5F79F6 #F65FC5
split-complementary
#F6DC5F #5FC5F6 #915FF6
monochromatic
#CFAD0C #F3CF25 #F6DC5F #F9E999 #FDF5D3

Accessibility & contrast

On white

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

On black

15.32
#F6DC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6DC5F
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6DC5F#FFFFFF#000000##000000
##F6DC5F1.001.3715.3215.32
#FFFFFF1.371.0021.0021.00
#00000015.3221.001.001.00
##00000015.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D751
Deuteranopia (green-blind)
#F7E065
Tritanopia (blue-blind)
#FFCDC1
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f6dc5f;
/* rgb */ color: rgb(246, 220, 95);
/* oklch */ color: oklch(89.3% 0.146 97.6);
Tailwind
colors: {
  custom: {
    50: '#fce691',
    500: '#f6dc5f',
    950: '#000000',
  },
}
SCSS
$custom: #f6dc5f;
$custom-light: #fce691;
$custom-dark: #000000;
JSON
{
  "hex": "#f6dc5f",
  "rgb": {
    "r": 246,
    "g": 220,
    "b": 95
  },
  "hsl": {
    "h": 49.669,
    "s": 89.349,
    "l": 66.863
  },
  "oklch": {
    "l": 0.89287,
    "c": 0.14564,
    "h": 97.6
  },
  "luminance": 0.71605
}

Semantic roles & 50–950 ramp

primary
#F6DC5F
secondary
#2F4ACB
accent
#28E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F6DC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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