#F6D262#F6D262

#F6D262 is a very light, vivid yellow. Relative luminance 0.666; OKLCH L 87.3% C 0.136 H 91.5°. Best body text is #000000 at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#F6D262
RGBrgb(246, 210, 98)
HSLhsl(45, 89%, 67%)
HSVhsv(45, 60%, 96%)
CMYKcmyk(0%, 14.6%, 60.2%, 3.5%)
CIE-LABlab(85.29, -0.03, 58.95)
CIE-LCHlch(85.29, 58.95, 90.03°)
OKLaboklab(87.33% -0.0036 0.1361)
OKLCHoklch(87.33% 0.136 91.5)
XYZxyz(63.2601, 66.5712, 21.0704)
Luminance0.6657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6D262 #6286F6
analogous
#F68862 #F6D262 #D0F662
triadic
#F6D262 #62F6D2 #D262F6
tetradic
#F6D262 #62F688 #6286F6 #F662D0
square
#F6D262 #62F688 #6286F6 #F662D0
split-complementary
#F6D262 #62D0F6 #8862F6
monochromatic
#D2A20C #F3C128 #F6D262 #F9E39C #FDF3D6

Accessibility & contrast

On white

1.47
#F6D262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.31
#F6D262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6D262
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6D262#FFFFFF#000000##000000
##F6D2621.001.4714.3114.31
#FFFFFF1.471.0021.0021.00
#00000014.3121.001.001.00
##00000014.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CF56
Deuteranopia (green-blind)
#EFD967
Tritanopia (blue-blind)
#FFC3B9
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f6d262;
/* rgb */ color: rgb(246, 210, 98);
/* oklch */ color: oklch(87.3% 0.136 91.5);
Tailwind
colors: {
  custom: {
    50: '#fcdf92',
    500: '#f6d262',
    950: '#000000',
  },
}
SCSS
$custom: #f6d262;
$custom-light: #fcdf92;
$custom-dark: #000000;
JSON
{
  "hex": "#f6d262",
  "rgb": {
    "r": 246,
    "g": 210,
    "b": 98
  },
  "hsl": {
    "h": 45.405,
    "s": 89.157,
    "l": 67.451
  },
  "oklch": {
    "l": 0.87325,
    "c": 0.1361,
    "h": 91.5
  },
  "luminance": 0.66568
}

Semantic roles & 50–950 ramp

primary
#F6D262
secondary
#2F56CD
accent
#38E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F6D262

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

Preview Lab → · Contrast checker → · Palette generator →

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