#F5E46E#F5E46E

#F5E46E is a very light, vivid yellow. Relative luminance 0.760; OKLCH L 91.0% C 0.140 H 101.2°. Best body text is #000000 at 16.20:1 contrast (WCAG AA passes).

Color values

HEX#F5E46E
RGBrgb(245, 228, 110)
HSLhsl(52, 87%, 70%)
HSVhsv(52, 55%, 96%)
CMYKcmyk(0%, 6.9%, 55.1%, 3.9%)
CIE-LABlab(89.87, -8.68, 58.73)
CIE-LCHlch(89.87, 59.37, 98.41°)
OKLaboklab(90.97% -0.0271 0.137)
OKLCHoklch(90.97% 0.14 101.2)
XYZxyz(68.2164, 76.0276, 25.8303)
Luminance0.7602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E46E #6E7FF5
analogous
#F5A06E #F5E46E #C3F56E
triadic
#F5E46E #6EF5E4 #E46EF5
tetradic
#F5E46E #6EF5A0 #6E7FF5 #F56EC3
square
#F5E46E #6EF5A0 #6E7FF5 #F56EC3
split-complementary
#F5E46E #6EC3F5 #A06EF5
monochromatic
#DAC00F #F1D935 #F5E46E #F9EFA7 #FDF9E1

Accessibility & contrast

On white

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

On black

16.20
#F5E46E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E46E
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E46E#FFFFFF#000000##000000
##F5E46E1.001.3016.2016.20
#FFFFFF1.301.0021.0021.00
#00000016.2021.001.001.00
##00000016.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DE62
Deuteranopia (green-blind)
#FBE574
Tritanopia (blue-blind)
#FFD6CA
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f5e46e;
/* rgb */ color: rgb(245, 228, 110);
/* oklch */ color: oklch(91.0% 0.140 101.2);
Tailwind
colors: {
  custom: {
    50: '#fbec9b',
    500: '#f5e46e',
    950: '#000000',
  },
}
SCSS
$custom: #f5e46e;
$custom-light: #fbec9b;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e46e",
  "rgb": {
    "r": 245,
    "g": 228,
    "b": 110
  },
  "hsl": {
    "h": 52.444,
    "s": 87.097,
    "l": 69.608
  },
  "oklch": {
    "l": 0.90971,
    "c": 0.13965,
    "h": 101.2
  },
  "luminance": 0.76025
}

Semantic roles & 50–950 ramp

primary
#F5E46E
secondary
#384BCF
accent
#1EE402
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F5E46E

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

Preview Lab → · Contrast checker → · Palette generator →

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