#F6E472#F6E472

#F6E472 is a very light, vivid yellow. Relative luminance 0.763; OKLCH L 91.1% C 0.136 H 100.5°. Best body text is #000000 at 16.26:1 contrast (WCAG AA passes).

Color values

HEX#F6E472
RGBrgb(246, 228, 114)
HSLhsl(52, 88%, 71%)
HSVhsv(52, 54%, 96%)
CMYKcmyk(0%, 7.3%, 53.7%, 3.5%)
CIE-LABlab(90.00, -7.97, 57.07)
CIE-LCHlch(90.00, 57.63, 97.95°)
OKLaboklab(91.1% -0.0247 0.1338)
OKLCHoklch(91.1% 0.136 100.5)
XYZxyz(68.7890, 76.2971, 27.0197)
Luminance0.7630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6E472 #7284F6
analogous
#F6A272 #F6E472 #C6F672
triadic
#F6E472 #72F6E4 #E472F6
tetradic
#F6E472 #72F6A2 #7284F6 #F672C6
square
#F6E472 #72F6A2 #7284F6 #F672C6
split-complementary
#F6E472 #72C6F6 #A272F6
monochromatic
#DFC30E #F2D938 #F6E472 #FAEFAC #FDF9E2

Accessibility & contrast

On white

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

On black

16.26
#F6E472 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6E472
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6E472#FFFFFF#000000##000000
##F6E4721.001.2916.2616.26
#FFFFFF1.291.0021.0021.00
#00000016.2621.001.001.00
##00000016.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DE67
Deuteranopia (green-blind)
#FBE677
Tritanopia (blue-blind)
#FFD6CA
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f6e472;
/* rgb */ color: rgb(246, 228, 114);
/* oklch */ color: oklch(91.1% 0.136 100.5);
Tailwind
colors: {
  custom: {
    50: '#fcec9d',
    500: '#f6e472',
    950: '#000000',
  },
}
SCSS
$custom: #f6e472;
$custom-light: #fcec9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f6e472",
  "rgb": {
    "r": 246,
    "g": 228,
    "b": 114
  },
  "hsl": {
    "h": 51.818,
    "s": 88,
    "l": 70.588
  },
  "oklch": {
    "l": 0.91103,
    "c": 0.13606,
    "h": 100.5
  },
  "luminance": 0.76295
}

Semantic roles & 50–950 ramp

primary
#F6E472
secondary
#3C50D1
accent
#20E501
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F6E472

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

Preview Lab → · Contrast checker → · Palette generator →

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