#F5E387#F5E387

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

Color values

HEX#F5E387
RGBrgb(245, 227, 135)
HSLhsl(50, 85%, 75%)
HSVhsv(50, 45%, 96%)
CMYKcmyk(0%, 7.3%, 44.9%, 3.9%)
CIE-LABlab(89.91, -6.04, 46.98)
CIE-LCHlch(89.91, 47.37, 97.32°)
OKLaboklab(91.09% -0.017 0.1133)
OKLCHoklch(91.09% 0.115 98.5)
XYZxyz(69.5002, 76.1023, 33.9452)
Luminance0.7610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E387 #8799F5
analogous
#F5AC87 #F5E387 #D0F587
triadic
#F5E387 #87F5E3 #E387F5
tetradic
#F5E387 #87F5AC #8799F5 #F587D0
square
#F5E387 #87F5AC #8799F5 #F587D0
split-complementary
#F5E387 #87D0F5 #AC87F5
monochromatic
#ECC916 #F0D64F #F5E387 #FAF0BF #FDF8E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F5E387#FFFFFF#000000##000000
##F5E3871.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)
#F3DE80
Deuteranopia (green-blind)
#F8E58B
Tritanopia (blue-blind)
#FFD7CD
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f5e387;
/* rgb */ color: rgb(245, 227, 135);
/* oklch */ color: oklch(91.1% 0.115 98.5);
Tailwind
colors: {
  custom: {
    50: '#faebab',
    500: '#f5e387',
    950: '#000000',
  },
}
SCSS
$custom: #f5e387;
$custom-light: #faebab;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e387",
  "rgb": {
    "r": 245,
    "g": 227,
    "b": 135
  },
  "hsl": {
    "h": 50.182,
    "s": 84.615,
    "l": 74.51
  },
  "oklch": {
    "l": 0.91092,
    "c": 0.11456,
    "h": 98.5
  },
  "luminance": 0.761
}

Semantic roles & 50–950 ramp

primary
#F5E387
secondary
#4E64D2
accent
#29E104
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F5E387

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

Preview Lab → · Contrast checker → · Palette generator →

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