#F6E381#F6E381

#F6E381 is a very light, vivid yellow. Relative luminance 0.761; OKLCH L 91.1% C 0.121 H 98.6°. Best body text is #000000 at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#F6E381
RGBrgb(246, 227, 129)
HSLhsl(50, 87%, 74%)
HSVhsv(50, 48%, 96%)
CMYKcmyk(0%, 7.7%, 47.6%, 3.5%)
CIE-LABlab(89.91, -6.20, 49.92)
CIE-LCHlch(89.91, 50.30, 97.08°)
OKLaboklab(91.09% -0.0181 0.1194)
OKLCHoklch(91.09% 0.121 98.6)
XYZxyz(69.4396, 76.1185, 31.7992)
Luminance0.7612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6E381 #8194F6
analogous
#F6A881 #F6E381 #CFF681
triadic
#F6E381 #81F6E3 #E381F6
tetradic
#F6E381 #81F6A8 #8194F6 #F681CF
square
#F6E381 #81F6A8 #8194F6 #F681CF
split-complementary
#F6E381 #81CFF6 #A881F6
monochromatic
#ECC811 #F2D648 #F6E381 #FAF0BA #FDF9E2

Accessibility & contrast

On white

1.29
#F6E381 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.22
#F6E381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6E381
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6E381#FFFFFF#000000##000000
##F6E3811.001.2916.2216.22
#FFFFFF1.291.0021.0021.00
#00000016.2221.001.001.00
##00000016.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DE79
Deuteranopia (green-blind)
#F9E585
Tritanopia (blue-blind)
#FFD6CC
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f6e381;
/* rgb */ color: rgb(246, 227, 129);
/* oklch */ color: oklch(91.1% 0.121 98.6);
Tailwind
colors: {
  custom: {
    50: '#fbeba7',
    500: '#f6e381',
    950: '#000000',
  },
}
SCSS
$custom: #f6e381;
$custom-light: #fbeba7;
$custom-dark: #000000;
JSON
{
  "hex": "#f6e381",
  "rgb": {
    "r": 246,
    "g": 227,
    "b": 129
  },
  "hsl": {
    "h": 50.256,
    "s": 86.667,
    "l": 73.529
  },
  "oklch": {
    "l": 0.91093,
    "c": 0.12078,
    "h": 98.6
  },
  "luminance": 0.76116
}

Semantic roles & 50–950 ramp

primary
#F6E381
secondary
#495FD2
accent
#27E302
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#181610
muted
#868480

Preview Lab

Preview with #F6E381

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

Preview Lab → · Contrast checker → · Palette generator →

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