#F5E36D#F5E36D

#F5E36D is a very light, vivid yellow. Relative luminance 0.755; OKLCH L 90.8% C 0.140 H 100.7°. Best body text is #000000 at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#F5E36D
RGBrgb(245, 227, 109)
HSLhsl(52, 87%, 69%)
HSVhsv(52, 56%, 96%)
CMYKcmyk(0%, 7.3%, 55.5%, 3.9%)
CIE-LABlab(89.61, -8.26, 58.88)
CIE-LCHlch(89.61, 59.45, 97.98°)
OKLaboklab(90.76% -0.026 0.1372)
OKLCHoklch(90.76% 0.14 100.7)
XYZxyz(67.8879, 75.4574, 25.4538)
Luminance0.7546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E36D #6D7FF5
analogous
#F59F6D #F5E36D #C3F56D
triadic
#F5E36D #6DF5E3 #E36DF5
tetradic
#F5E36D #6DF59F #6D7FF5 #F56DC3
square
#F5E36D #6DF59F #6D7FF5 #F56DC3
split-complementary
#F5E36D #6DC3F5 #9F6DF5
monochromatic
#D9BE0F #F1D834 #F5E36D #F9EEA6 #FDF9E0

Accessibility & contrast

On white

1.31
#F5E36D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.09
#F5E36D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E36D
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E36D#FFFFFF#000000##000000
##F5E36D1.001.3116.0916.09
#FFFFFF1.311.0021.0021.00
#00000016.0921.001.001.00
##00000016.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DD61
Deuteranopia (green-blind)
#FBE473
Tritanopia (blue-blind)
#FFD5C9
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f5e36d;
/* rgb */ color: rgb(245, 227, 109);
/* oklch */ color: oklch(90.8% 0.140 100.7);
Tailwind
colors: {
  custom: {
    50: '#fbeb9a',
    500: '#f5e36d',
    950: '#000000',
  },
}
SCSS
$custom: #f5e36d;
$custom-light: #fbeb9a;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e36d",
  "rgb": {
    "r": 245,
    "g": 227,
    "b": 109
  },
  "hsl": {
    "h": 52.059,
    "s": 87.179,
    "l": 69.412
  },
  "oklch": {
    "l": 0.90757,
    "c": 0.13965,
    "h": 100.7
  },
  "luminance": 0.75455
}

Semantic roles & 50–950 ramp

primary
#F5E36D
secondary
#374CCF
accent
#20E402
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F5E36D

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

Preview Lab → · Contrast checker → · Palette generator →

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