#F6E262#F6E262

#F6E262 is a very light, vivid yellow. Relative luminance 0.749; OKLCH L 90.5% C 0.148 H 100.5°. Best body text is #000000 at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#F6E262
RGBrgb(246, 226, 98)
HSLhsl(52, 89%, 67%)
HSVhsv(52, 60%, 96%)
CMYKcmyk(0%, 8.1%, 60.2%, 3.5%)
CIE-LABlab(89.33, -8.12, 63.45)
CIE-LCHlch(89.33, 63.97, 97.30°)
OKLaboklab(90.53% -0.0269 0.1457)
OKLCHoklch(90.53% 0.148 100.5)
XYZxyz(67.4096, 74.8702, 22.4535)
Luminance0.7487 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6E262 #6276F6
analogous
#F69862 #F6E262 #C0F662
triadic
#F6E262 #62F6E2 #E262F6
tetradic
#F6E262 #62F698 #6276F6 #F662C0
square
#F6E262 #62F698 #6276F6 #F662C0
split-complementary
#F6E262 #62C0F6 #9862F6
monochromatic
#D2B70C #F3D728 #F6E262 #F9ED9C #FDF7D6

Accessibility & contrast

On white

1.31
#F6E262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.97
#F6E262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6E262
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6E262#FFFFFF#000000##000000
##F6E2621.001.3115.9715.97
#FFFFFF1.311.0021.0021.00
#00000015.9721.001.001.00
##00000015.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DC54
Deuteranopia (green-blind)
#FBE469
Tritanopia (blue-blind)
#FFD3C6
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f6e262;
/* rgb */ color: rgb(246, 226, 98);
/* oklch */ color: oklch(90.5% 0.148 100.5);
Tailwind
colors: {
  custom: {
    50: '#fcea93',
    500: '#f6e262',
    950: '#000000',
  },
}
SCSS
$custom: #f6e262;
$custom-light: #fcea93;
$custom-dark: #000000;
JSON
{
  "hex": "#f6e262",
  "rgb": {
    "r": 246,
    "g": 226,
    "b": 98
  },
  "hsl": {
    "h": 51.892,
    "s": 89.157,
    "l": 67.451
  },
  "oklch": {
    "l": 0.90526,
    "c": 0.14812,
    "h": 100.5
  },
  "luminance": 0.74867
}

Semantic roles & 50–950 ramp

primary
#F6E262
secondary
#2F45CD
accent
#1FE600
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F6E262

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

Preview Lab → · Contrast checker → · Palette generator →

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