#F5E286#F5E286

#F5E286 is a very light, moderate yellow. Relative luminance 0.755; OKLCH L 90.9% C 0.115 H 98.0°. Best body text is #000000 at 16.11:1 contrast (WCAG AA passes).

Color values

HEX#F5E286
RGBrgb(245, 226, 134)
HSLhsl(50, 85%, 74%)
HSVhsv(50, 45%, 96%)
CMYKcmyk(0%, 7.8%, 45.3%, 3.9%)
CIE-LABlab(89.64, -5.63, 47.14)
CIE-LCHlch(89.64, 47.48, 96.81°)
OKLaboklab(90.88% -0.0159 0.1136)
OKLCHoklch(90.88% 0.115 98)
XYZxyz(69.1575, 75.5288, 33.4852)
Luminance0.7553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E286 #8699F5
analogous
#F5AB86 #F5E286 #D1F586
triadic
#F5E286 #86F5E2 #E286F5
tetradic
#F5E286 #86F5AB #8699F5 #F586D1
square
#F5E286 #86F5AB #8699F5 #F586D1
split-complementary
#F5E286 #86D1F5 #AB86F5
monochromatic
#ECC715 #F0D44D #F5E286 #FAF0BF #FDF8E3

Accessibility & contrast

On white

1.30
#F5E286 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.11
#F5E286 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E286
16.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E286#FFFFFF#000000##000000
##F5E2861.001.3016.1116.11
#FFFFFF1.301.0021.0021.00
#00000016.1121.001.001.00
##00000016.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DD7F
Deuteranopia (green-blind)
#F8E48A
Tritanopia (blue-blind)
#FFD6CC
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f5e286;
/* rgb */ color: rgb(245, 226, 134);
/* oklch */ color: oklch(90.9% 0.115 98.0);
Tailwind
colors: {
  custom: {
    50: '#faeaab',
    500: '#f5e286',
    950: '#000000',
  },
}
SCSS
$custom: #f5e286;
$custom-light: #faeaab;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e286",
  "rgb": {
    "r": 245,
    "g": 226,
    "b": 134
  },
  "hsl": {
    "h": 49.73,
    "s": 84.733,
    "l": 74.314
  },
  "oklch": {
    "l": 0.90877,
    "c": 0.11468,
    "h": 98
  },
  "luminance": 0.75526
}

Semantic roles & 50–950 ramp

primary
#F5E286
secondary
#4E64D2
accent
#2AE104
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F5E286

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

Preview Lab → · Contrast checker → · Palette generator →

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