#F6E470#F6E470

#F6E470 is a very light, vivid yellow. Relative luminance 0.762; OKLCH L 91.1% C 0.138 H 100.6°. Best body text is #000000 at 16.25:1 contrast (WCAG AA passes).

Color values

HEX#F6E470
RGBrgb(246, 228, 112)
HSLhsl(52, 88%, 70%)
HSVhsv(52, 54%, 96%)
CMYKcmyk(0%, 7.3%, 54.5%, 3.5%)
CIE-LABlab(89.98, -8.12, 57.96)
CIE-LCHlch(89.98, 58.53, 97.98°)
OKLaboklab(91.08% -0.0254 0.1355)
OKLCHoklch(91.08% 0.138 100.6)
XYZxyz(68.6764, 76.2521, 26.4267)
Luminance0.7625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6E470 #7082F6
analogous
#F6A170 #F6E470 #C5F670
triadic
#F6E470 #70F6E4 #E470F6
tetradic
#F6E470 #70F6A1 #7082F6 #F670C5
square
#F6E470 #70F6A1 #7082F6 #F670C5
split-complementary
#F6E470 #70C5F6 #A170F6
monochromatic
#DEC20E #F2D936 #F6E470 #FAEFAA #FDFAE2

Accessibility & contrast

On white

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

On black

16.25
#F6E470 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6E470
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6E470#FFFFFF#000000##000000
##F6E4701.001.2916.2516.25
#FFFFFF1.291.0021.0021.00
#00000016.2521.001.001.00
##00000016.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f6e470;
/* rgb */ color: rgb(246, 228, 112);
/* oklch */ color: oklch(91.1% 0.138 100.6);
Tailwind
colors: {
  custom: {
    50: '#fcec9c',
    500: '#f6e470',
    950: '#000000',
  },
}
SCSS
$custom: #f6e470;
$custom-light: #fcec9c;
$custom-dark: #000000;
JSON
{
  "hex": "#f6e470",
  "rgb": {
    "r": 246,
    "g": 228,
    "b": 112
  },
  "hsl": {
    "h": 51.94,
    "s": 88.158,
    "l": 70.196
  },
  "oklch": {
    "l": 0.9108,
    "c": 0.13789,
    "h": 100.6
  },
  "luminance": 0.76249
}

Semantic roles & 50–950 ramp

primary
#F6E470
secondary
#3A4ED0
accent
#1FE501
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F6E470

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

Preview Lab → · Contrast checker → · Palette generator →

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