#F6ED5F#F6ED5F

#F6ED5F is a very light, vivid yellow. Relative luminance 0.810; OKLCH L 92.7% C 0.160 H 105.7°. Best body text is #000000 at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#F6ED5F
RGBrgb(246, 237, 95)
HSLhsl(56, 89%, 67%)
HSVhsv(56, 61%, 96%)
CMYKcmyk(0%, 3.7%, 61.4%, 3.5%)
CIE-LABlab(92.13, -13.76, 67.75)
CIE-LCHlch(92.13, 69.13, 101.48°)
OKLaboklab(92.74% -0.0433 0.1544)
OKLCHoklch(92.74% 0.16 105.7)
XYZxyz(70.3582, 80.9898, 22.7507)
Luminance0.8099 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6ED5F #5F68F6
analogous
#F6A25F #F6ED5F #B4F65F
triadic
#F6ED5F #5FF6ED #ED5FF6
tetradic
#F6ED5F #5FF6A2 #5F68F6 #F65FB4
square
#F6ED5F #5FF6A2 #5F68F6 #F65FB4
split-complementary
#F6ED5F #5FB4F6 #A25FF6
monochromatic
#CFC30C #F3E625 #F6ED5F #F9F499 #FDFAD3

Accessibility & contrast

On white

1.22
#F6ED5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.20
#F6ED5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6ED5F
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6ED5F#FFFFFF#000000##000000
##F6ED5F1.001.2217.2017.20
#FFFFFF1.221.0021.0021.00
#00000017.2021.001.001.00
##00000017.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE54E
Deuteranopia (green-blind)
#FFEB67
Tritanopia (blue-blind)
#FFDECF
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f6ed5f;
/* rgb */ color: rgb(246, 237, 95);
/* oklch */ color: oklch(92.7% 0.160 105.7);
Tailwind
colors: {
  custom: {
    50: '#fcf292',
    500: '#f6ed5f',
    950: '#000000',
  },
}
SCSS
$custom: #f6ed5f;
$custom-light: #fcf292;
$custom-dark: #000000;
JSON
{
  "hex": "#f6ed5f",
  "rgb": {
    "r": 246,
    "g": 237,
    "b": 95
  },
  "hsl": {
    "h": 56.424,
    "s": 89.349,
    "l": 66.863
  },
  "oklch": {
    "l": 0.92739,
    "c": 0.16033,
    "h": 105.7
  },
  "luminance": 0.80987
}

Semantic roles & 50–950 ramp

primary
#F6ED5F
secondary
#2F38CB
accent
#0EE600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F6ED5F

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

Preview Lab → · Contrast checker → · Palette generator →

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