#F5E386#F5E386

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

Color values

HEX#F5E386
RGBrgb(245, 227, 134)
HSLhsl(50, 85%, 74%)
HSVhsv(50, 45%, 96%)
CMYKcmyk(0%, 7.3%, 45.3%, 3.9%)
CIE-LABlab(89.89, -6.13, 47.46)
CIE-LCHlch(89.89, 47.85, 97.37°)
OKLaboklab(91.08% -0.0173 0.1143)
OKLCHoklch(91.08% 0.116 98.6)
XYZxyz(69.4302, 76.0743, 33.5761)
Luminance0.7607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E386 #8698F5
analogous
#F5AC86 #F5E386 #D0F586
triadic
#F5E386 #86F5E3 #E386F5
tetradic
#F5E386 #86F5AC #8698F5 #F586D0
square
#F5E386 #86F5AC #8698F5 #F586D0
split-complementary
#F5E386 #86D0F5 #AC86F5
monochromatic
#ECC915 #F0D64D #F5E386 #FAF0BF #FDF8E3

Accessibility & contrast

On white

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

On black

16.21
#F5E386 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E386
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E386#FFFFFF#000000##000000
##F5E3861.001.3016.2116.21
#FFFFFF1.301.0021.0021.00
#00000016.2121.001.001.00
##00000016.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DE7E
Deuteranopia (green-blind)
#F8E58A
Tritanopia (blue-blind)
#FFD7CD
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f5e386;
/* rgb */ color: rgb(245, 227, 134);
/* oklch */ color: oklch(91.1% 0.116 98.6);
Tailwind
colors: {
  custom: {
    50: '#faebab',
    500: '#f5e386',
    950: '#000000',
  },
}
SCSS
$custom: #f5e386;
$custom-light: #faebab;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e386",
  "rgb": {
    "r": 245,
    "g": 227,
    "b": 134
  },
  "hsl": {
    "h": 50.27,
    "s": 84.733,
    "l": 74.314
  },
  "oklch": {
    "l": 0.91077,
    "c": 0.1156,
    "h": 98.6
  },
  "luminance": 0.76072
}

Semantic roles & 50–950 ramp

primary
#F5E386
secondary
#4E63D2
accent
#28E104
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F5E386

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

Preview Lab → · Contrast checker → · Palette generator →

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