#F5E27E#F5E27E

#F5E27E is a very light, vivid yellow. Relative luminance 0.753; OKLCH L 90.8% C 0.123 H 98.8°. Best body text is #000000 at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#F5E27E
RGBrgb(245, 226, 126)
HSLhsl(50, 86%, 73%)
HSVhsv(50, 49%, 96%)
CMYKcmyk(0%, 7.8%, 48.6%, 3.9%)
CIE-LABlab(89.54, -6.37, 50.88)
CIE-LCHlch(89.54, 51.28, 97.13°)
OKLaboklab(90.77% -0.0188 0.1213)
OKLCHoklch(90.77% 0.123 98.8)
XYZxyz(68.6205, 75.3140, 30.6571)
Luminance0.7531 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E27E #7E91F5
analogous
#F5A67E #F5E27E #CDF57E
triadic
#F5E27E #7EF5E2 #E27EF5
tetradic
#F5E27E #7EF5A6 #7E91F5 #F57ECD
square
#F5E27E #7EF5A6 #7E91F5 #F57ECD
split-complementary
#F5E27E #7ECDF5 #A67EF5
monochromatic
#E7C512 #F1D545 #F5E27E #F9EFB7 #FDF9E3

Accessibility & contrast

On white

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

On black

16.06
#F5E27E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E27E
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E27E#FFFFFF#000000##000000
##F5E27E1.001.3116.0616.06
#FFFFFF1.311.0021.0021.00
#00000016.0621.001.001.00
##00000016.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DD75
Deuteranopia (green-blind)
#F8E482
Tritanopia (blue-blind)
#FFD5CA
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f5e27e;
/* rgb */ color: rgb(245, 226, 126);
/* oklch */ color: oklch(90.8% 0.123 98.8);
Tailwind
colors: {
  custom: {
    50: '#faeaa5',
    500: '#f5e27e',
    950: '#000000',
  },
}
SCSS
$custom: #f5e27e;
$custom-light: #faeaa5;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e27e",
  "rgb": {
    "r": 245,
    "g": 226,
    "b": 126
  },
  "hsl": {
    "h": 50.42,
    "s": 85.612,
    "l": 72.745
  },
  "oklch": {
    "l": 0.90765,
    "c": 0.12278,
    "h": 98.8
  },
  "luminance": 0.75312
}

Semantic roles & 50–950 ramp

primary
#F5E27E
secondary
#465DD1
accent
#27E203
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F5E27E

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

Preview Lab → · Contrast checker → · Palette generator →

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