#F6E662#F6E662

#F6E662 is a very light, vivid yellow. Relative luminance 0.771; OKLCH L 91.3% C 0.152 H 102.4°. Best body text is #000000 at 16.41:1 contrast (WCAG AA passes).

Color values

HEX#F6E662
RGBrgb(246, 230, 98)
HSLhsl(54, 89%, 67%)
HSVhsv(54, 60%, 96%)
CMYKcmyk(0%, 6.5%, 60.2%, 3.5%)
CIE-LABlab(90.35, -10.12, 64.57)
CIE-LCHlch(90.35, 65.36, 98.90°)
OKLaboklab(91.34% -0.0326 0.148)
OKLCHoklch(91.34% 0.152 102.4)
XYZxyz(68.5100, 77.0709, 22.8203)
Luminance0.7707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6E662 #6272F6
analogous
#F69C62 #F6E662 #BCF662
triadic
#F6E662 #62F6E6 #E662F6
tetradic
#F6E662 #62F69C #6272F6 #F662BC
square
#F6E662 #62F69C #6272F6 #F662BC
split-complementary
#F6E662 #62BCF6 #9C62F6
monochromatic
#D2BC0C #F3DD28 #F6E662 #F9EF9C #FDF8D6

Accessibility & contrast

On white

1.28
#F6E662 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.41
#F6E662 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6E662
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6E662#FFFFFF#000000##000000
##F6E6621.001.2816.4116.41
#FFFFFF1.281.0021.0021.00
#00000016.4121.001.001.00
##00000016.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DF53
Deuteranopia (green-blind)
#FEE769
Tritanopia (blue-blind)
#FFD7CA
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f6e662;
/* rgb */ color: rgb(246, 230, 98);
/* oklch */ color: oklch(91.3% 0.152 102.4);
Tailwind
colors: {
  custom: {
    50: '#fced94',
    500: '#f6e662',
    950: '#000000',
  },
}
SCSS
$custom: #f6e662;
$custom-light: #fced94;
$custom-dark: #000000;
JSON
{
  "hex": "#f6e662",
  "rgb": {
    "r": 246,
    "g": 230,
    "b": 98
  },
  "hsl": {
    "h": 53.514,
    "s": 89.157,
    "l": 67.451
  },
  "oklch": {
    "l": 0.91337,
    "c": 0.15159,
    "h": 102.4
  },
  "luminance": 0.77068
}

Semantic roles & 50–950 ramp

primary
#F6E662
secondary
#2F40CD
accent
#19E600
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F6E662

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

Preview Lab → · Contrast checker → · Palette generator →

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