#F6E462#F6E462

#F6E462 is a very light, vivid yellow. Relative luminance 0.760; OKLCH L 90.9% C 0.150 H 101.5°. Best body text is #000000 at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#F6E462
RGBrgb(246, 228, 98)
HSLhsl(53, 89%, 67%)
HSVhsv(53, 60%, 96%)
CMYKcmyk(0%, 7.3%, 60.2%, 3.5%)
CIE-LABlab(89.84, -9.12, 64.01)
CIE-LCHlch(89.84, 64.65, 98.11°)
OKLaboklab(90.93% -0.0298 0.1468)
OKLCHoklch(90.93% 0.15 101.5)
XYZxyz(67.9566, 75.9642, 22.6359)
Luminance0.7596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6E462 #6274F6
analogous
#F69A62 #F6E462 #BEF662
triadic
#F6E462 #62F6E4 #E462F6
tetradic
#F6E462 #62F69A #6274F6 #F662BE
square
#F6E462 #62F69A #6274F6 #F662BE
split-complementary
#F6E462 #62BEF6 #9A62F6
monochromatic
#D2BA0C #F3DA28 #F6E462 #F9EE9C #FDF8D6

Accessibility & contrast

On white

1.30
#F6E462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.19
#F6E462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6E462
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6E462#FFFFFF#000000##000000
##F6E4621.001.3016.1916.19
#FFFFFF1.301.0021.0021.00
#00000016.1921.001.001.00
##00000016.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DE54
Deuteranopia (green-blind)
#FDE569
Tritanopia (blue-blind)
#FFD5C8
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f6e462;
/* rgb */ color: rgb(246, 228, 98);
/* oklch */ color: oklch(90.9% 0.150 101.5);
Tailwind
colors: {
  custom: {
    50: '#fcec93',
    500: '#f6e462',
    950: '#000000',
  },
}
SCSS
$custom: #f6e462;
$custom-light: #fcec93;
$custom-dark: #000000;
JSON
{
  "hex": "#f6e462",
  "rgb": {
    "r": 246,
    "g": 228,
    "b": 98
  },
  "hsl": {
    "h": 52.703,
    "s": 89.157,
    "l": 67.451
  },
  "oklch": {
    "l": 0.90931,
    "c": 0.14983,
    "h": 101.5
  },
  "luminance": 0.75961
}

Semantic roles & 50–950 ramp

primary
#F6E462
secondary
#2F43CD
accent
#1CE600
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F6E462

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

Preview Lab → · Contrast checker → · Palette generator →

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