#F5E36B#F5E36B

#F5E36B is a very light, vivid yellow. Relative luminance 0.754; OKLCH L 90.7% C 0.141 H 100.9°. Best body text is #000000 at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#F5E36B
RGBrgb(245, 227, 107)
HSLhsl(52, 87%, 69%)
HSVhsv(52, 56%, 96%)
CMYKcmyk(0%, 7.3%, 56.3%, 3.9%)
CIE-LABlab(89.59, -8.40, 59.75)
CIE-LCHlch(89.59, 60.34, 98.01°)
OKLaboklab(90.74% -0.0267 0.1389)
OKLCHoklch(90.74% 0.141 100.9)
XYZxyz(67.7815, 75.4148, 24.8932)
Luminance0.7541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E36B #6B7DF5
analogous
#F59E6B #F5E36B #C2F56B
triadic
#F5E36B #6BF5E3 #E36BF5
tetradic
#F5E36B #6BF59E #6B7DF5 #F56BC2
square
#F5E36B #6BF59E #6B7DF5 #F56BC2
split-complementary
#F5E36B #6BC2F5 #9E6BF5
monochromatic
#D7BD0F #F1D832 #F5E36B #F9EEA4 #FDF9DE

Accessibility & contrast

On white

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

On black

16.08
#F5E36B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E36B
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E36B#FFFFFF#000000##000000
##F5E36B1.001.3116.0816.08
#FFFFFF1.311.0021.0021.00
#00000016.0821.001.001.00
##00000016.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DD5F
Deuteranopia (green-blind)
#FBE471
Tritanopia (blue-blind)
#FFD5C8
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f5e36b;
/* rgb */ color: rgb(245, 227, 107);
/* oklch */ color: oklch(90.7% 0.141 100.9);
Tailwind
colors: {
  custom: {
    50: '#fbeb99',
    500: '#f5e36b',
    950: '#000000',
  },
}
SCSS
$custom: #f5e36b;
$custom-light: #fbeb99;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e36b",
  "rgb": {
    "r": 245,
    "g": 227,
    "b": 107
  },
  "hsl": {
    "h": 52.174,
    "s": 87.342,
    "l": 69.02
  },
  "oklch": {
    "l": 0.90735,
    "c": 0.1414,
    "h": 100.9
  },
  "luminance": 0.75412
}

Semantic roles & 50–950 ramp

primary
#F5E36B
secondary
#364ACE
accent
#1FE402
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F5E36B

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

Preview Lab → · Contrast checker → · Palette generator →

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