#F6E062#F6E062

#F6E062 is a very light, vivid yellow. Relative luminance 0.738; OKLCH L 90.1% C 0.146 H 99.5°. Best body text is #000000 at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#F6E062
RGBrgb(246, 224, 98)
HSLhsl(51, 89%, 67%)
HSVhsv(51, 60%, 96%)
CMYKcmyk(0%, 8.9%, 60.2%, 3.5%)
CIE-LABlab(88.82, -7.12, 62.89)
CIE-LCHlch(88.82, 63.29, 96.46°)
OKLaboklab(90.12% -0.0241 0.1445)
OKLCHoklch(90.12% 0.146 99.5)
XYZxyz(66.8689, 73.7888, 22.2733)
Luminance0.7379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6E062 #6278F6
analogous
#F69662 #F6E062 #C2F662
triadic
#F6E062 #62F6E0 #E062F6
tetradic
#F6E062 #62F696 #6278F6 #F662C2
square
#F6E062 #62F696 #6278F6 #F662C2
split-complementary
#F6E062 #62C2F6 #9662F6
monochromatic
#D2B40C #F3D528 #F6E062 #F9EB9C #FDF7D6

Accessibility & contrast

On white

1.33
#F6E062 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.76
#F6E062 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6E062
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6E062#FFFFFF#000000##000000
##F6E0621.001.3315.7615.76
#FFFFFF1.331.0021.0021.00
#00000015.7621.001.001.00
##00000015.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DA54
Deuteranopia (green-blind)
#FAE368
Tritanopia (blue-blind)
#FFD1C5
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f6e062;
/* rgb */ color: rgb(246, 224, 98);
/* oklch */ color: oklch(90.1% 0.146 99.5);
Tailwind
colors: {
  custom: {
    50: '#fce993',
    500: '#f6e062',
    950: '#000000',
  },
}
SCSS
$custom: #f6e062;
$custom-light: #fce993;
$custom-dark: #000000;
JSON
{
  "hex": "#f6e062",
  "rgb": {
    "r": 246,
    "g": 224,
    "b": 98
  },
  "hsl": {
    "h": 51.081,
    "s": 89.157,
    "l": 67.451
  },
  "oklch": {
    "l": 0.90122,
    "c": 0.14644,
    "h": 99.5
  },
  "luminance": 0.73786
}

Semantic roles & 50–950 ramp

primary
#F6E062
secondary
#2F47CD
accent
#22E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F6E062

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

Preview Lab → · Contrast checker → · Palette generator →

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