#F6E26F#F6E26F

#F6E26F is a very light, vivid yellow. Relative luminance 0.751; OKLCH L 90.7% C 0.137 H 99.6°. Best body text is #000000 at 16.03:1 contrast (WCAG AA passes).

Color values

HEX#F6E26F
RGBrgb(246, 226, 111)
HSLhsl(51, 88%, 70%)
HSVhsv(51, 55%, 96%)
CMYKcmyk(0%, 8.1%, 54.9%, 3.5%)
CIE-LABlab(89.46, -7.20, 57.82)
CIE-LCHlch(89.46, 58.26, 97.10°)
OKLaboklab(90.67% -0.0228 0.1351)
OKLCHoklch(90.67% 0.137 99.6)
XYZxyz(68.0740, 75.1359, 25.9527)
Luminance0.7513 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6E26F #6F83F6
analogous
#F69E6F #F6E26F #C7F66F
triadic
#F6E26F #6FF6E2 #E26FF6
tetradic
#F6E26F #6FF69E #6F83F6 #F66FC7
square
#F6E26F #6FF69E #6F83F6 #F66FC7
split-complementary
#F6E26F #6FC7F6 #9E6FF6
monochromatic
#DDBE0E #F2D635 #F6E26F #FAEEA9 #FDF9E2

Accessibility & contrast

On white

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

On black

16.03
#F6E26F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6E26F
16.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6E26F#FFFFFF#000000##000000
##F6E26F1.001.3116.0316.03
#FFFFFF1.311.0021.0021.00
#00000016.0321.001.001.00
##00000016.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DC64
Deuteranopia (green-blind)
#FAE474
Tritanopia (blue-blind)
#FFD4C8
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f6e26f;
/* rgb */ color: rgb(246, 226, 111);
/* oklch */ color: oklch(90.7% 0.137 99.6);
Tailwind
colors: {
  custom: {
    50: '#fcea9b',
    500: '#f6e26f',
    950: '#000000',
  },
}
SCSS
$custom: #f6e26f;
$custom-light: #fcea9b;
$custom-dark: #000000;
JSON
{
  "hex": "#f6e26f",
  "rgb": {
    "r": 246,
    "g": 226,
    "b": 111
  },
  "hsl": {
    "h": 51.111,
    "s": 88.235,
    "l": 70
  },
  "oklch": {
    "l": 0.90665,
    "c": 0.13703,
    "h": 99.6
  },
  "luminance": 0.75133
}

Semantic roles & 50–950 ramp

primary
#F6E26F
secondary
#394FD0
accent
#22E501
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F6E26F

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

Preview Lab → · Contrast checker → · Palette generator →

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