#FFE786#FFE786

#FFE786 is a very light, vivid yellow. Relative luminance 0.801; OKLCH L 92.7% C 0.120 H 95.8°. Best body text is #000000 at 17.03:1 contrast (WCAG AA passes).

Color values

HEX#FFE786
RGBrgb(255, 231, 134)
HSLhsl(48, 100%, 76%)
HSVhsv(48, 47%, 100%)
CMYKcmyk(0%, 9.4%, 47.5%, 0%)
CIE-LABlab(91.75, -4.20, 49.93)
CIE-LCHlch(91.75, 50.11, 94.80°)
OKLaboklab(92.74% -0.0123 0.1197)
OKLCHoklch(92.74% 0.12 95.8)
XYZxyz(74.1212, 80.1359, 34.1131)
Luminance0.8013 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE786 #869EFF
analogous
#FFAB86 #FFE786 #DBFF86
triadic
#FFE786 #86FFE7 #E786FF
tetradic
#FFE786 #86FFAB #869EFF #FF86DB
square
#FFE786 #86FFAB #869EFF #FF86DB
split-complementary
#FFE786 #86DBFF #AB86FF
monochromatic
#FFCF0C #FFDB49 #FFE786 #FFF3C3 #FFF9E0

Accessibility & contrast

On white

1.23
#FFE786 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.03
#FFE786 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE786
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE786#FFFFFF#000000##000000
##FFE7861.001.2317.0317.03
#FFFFFF1.231.0021.0021.00
#00000017.0321.001.001.00
##00000017.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E37E
Deuteranopia (green-blind)
#FFEB8A
Tritanopia (blue-blind)
#FFDAD0
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #ffe786;
/* rgb */ color: rgb(255, 231, 134);
/* oklch */ color: oklch(92.7% 0.120 95.8);
Tailwind
colors: {
  custom: {
    50: '#ffeeab',
    500: '#ffe786',
    950: '#000000',
  },
}
SCSS
$custom: #ffe786;
$custom-light: #ffeeab;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe786",
  "rgb": {
    "r": 255,
    "g": 231,
    "b": 134
  },
  "hsl": {
    "h": 48.099,
    "s": 100,
    "l": 76.275
  },
  "oklch": {
    "l": 0.92744,
    "c": 0.12032,
    "h": 95.8
  },
  "luminance": 0.80133
}

Semantic roles & 50–950 ramp

primary
#FFE786
secondary
#4A68DF
accent
#2EE600
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #FFE786

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

Preview Lab → · Contrast checker → · Palette generator →

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