#F6DD5F#F6DD5F

#F6DD5F is a very light, vivid yellow. Relative luminance 0.721; OKLCH L 89.5% C 0.146 H 98.1°. Best body text is #000000 at 15.43:1 contrast (WCAG AA passes).

Color values

HEX#F6DD5F
RGBrgb(246, 221, 95)
HSLhsl(50, 89%, 67%)
HSVhsv(50, 61%, 96%)
CMYKcmyk(0%, 10.2%, 61.4%, 3.5%)
CIE-LABlab(88.03, -5.81, 63.31)
CIE-LCHlch(88.03, 63.58, 95.24°)
OKLaboklab(89.49% -0.0206 0.145)
OKLCHoklch(89.49% 0.146 98.1)
XYZxyz(65.9308, 72.1349, 21.2749)
Luminance0.7213 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6DD5F #5F78F6
analogous
#F6925F #F6DD5F #C4F65F
triadic
#F6DD5F #5FF6DD #DD5FF6
tetradic
#F6DD5F #5FF692 #5F78F6 #F65FC4
square
#F6DD5F #5FF692 #5F78F6 #F65FC4
split-complementary
#F6DD5F #5FC4F6 #925FF6
monochromatic
#CFAF0C #F3D125 #F6DD5F #F9E999 #FDF6D3

Accessibility & contrast

On white

1.36
#F6DD5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.43
#F6DD5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6DD5F
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6DD5F#FFFFFF#000000##000000
##F6DD5F1.001.3615.4315.43
#FFFFFF1.361.0021.0021.00
#00000015.4321.001.001.00
##00000015.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D851
Deuteranopia (green-blind)
#F8E165
Tritanopia (blue-blind)
#FFCEC2
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f6dd5f;
/* rgb */ color: rgb(246, 221, 95);
/* oklch */ color: oklch(89.5% 0.146 98.1);
Tailwind
colors: {
  custom: {
    50: '#fce791',
    500: '#f6dd5f',
    950: '#000000',
  },
}
SCSS
$custom: #f6dd5f;
$custom-light: #fce791;
$custom-dark: #000000;
JSON
{
  "hex": "#f6dd5f",
  "rgb": {
    "r": 246,
    "g": 221,
    "b": 95
  },
  "hsl": {
    "h": 50.066,
    "s": 89.349,
    "l": 66.863
  },
  "oklch": {
    "l": 0.89488,
    "c": 0.14642,
    "h": 98.1
  },
  "luminance": 0.72132
}

Semantic roles & 50–950 ramp

primary
#F6DD5F
secondary
#2F48CB
accent
#26E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F6DD5F

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

Preview Lab → · Contrast checker → · Palette generator →

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