#F6E475#F6E475

#F6E475 is a very light, vivid yellow. Relative luminance 0.764; OKLCH L 91.1% C 0.133 H 100.2°. Best body text is #000000 at 16.27:1 contrast (WCAG AA passes).

Color values

HEX#F6E475
RGBrgb(246, 228, 117)
HSLhsl(52, 88%, 71%)
HSVhsv(52, 52%, 96%)
CMYKcmyk(0%, 7.3%, 52.4%, 3.5%)
CIE-LABlab(90.03, -7.73, 55.73)
CIE-LCHlch(90.03, 56.26, 97.90°)
OKLaboklab(91.14% -0.0237 0.1312)
OKLCHoklch(91.14% 0.133 100.2)
XYZxyz(68.9626, 76.3666, 27.9338)
Luminance0.7636 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6E475 #7587F6
analogous
#F6A375 #F6E475 #C7F675
triadic
#F6E475 #75F6E4 #E475F6
tetradic
#F6E475 #75F6A3 #7587F6 #F675C7
square
#F6E475 #75F6A3 #7587F6 #F675C7
split-complementary
#F6E475 #75C7F6 #A375F6
monochromatic
#E2C40F #F2D93C #F6E475 #FAEFAE #FDF9E2

Accessibility & contrast

On white

1.29
#F6E475 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.27
#F6E475 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6E475
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6E475#FFFFFF#000000##000000
##F6E4751.001.2916.2716.27
#FFFFFF1.291.0021.0021.00
#00000016.2721.001.001.00
##00000016.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DE6B
Deuteranopia (green-blind)
#FBE67A
Tritanopia (blue-blind)
#FFD7CB
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f6e475;
/* rgb */ color: rgb(246, 228, 117);
/* oklch */ color: oklch(91.1% 0.133 100.2);
Tailwind
colors: {
  custom: {
    50: '#fcec9f',
    500: '#f6e475',
    950: '#000000',
  },
}
SCSS
$custom: #f6e475;
$custom-light: #fcec9f;
$custom-dark: #000000;
JSON
{
  "hex": "#f6e475",
  "rgb": {
    "r": 246,
    "g": 228,
    "b": 117
  },
  "hsl": {
    "h": 51.628,
    "s": 87.755,
    "l": 71.176
  },
  "oklch": {
    "l": 0.91139,
    "c": 0.1333,
    "h": 100.2
  },
  "luminance": 0.76364
}

Semantic roles & 50–950 ramp

primary
#F6E475
secondary
#3E53D1
accent
#21E401
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F6E475

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

Preview Lab → · Contrast checker → · Palette generator →

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