#F5EA8D#F5EA8D

#F5EA8D is a very light, moderate yellow. Relative luminance 0.802; OKLCH L 92.6% C 0.115 H 102.5°. Best body text is #000000 at 17.04:1 contrast (WCAG AA passes).

Color values

HEX#F5EA8D
RGBrgb(245, 234, 141)
HSLhsl(54, 84%, 76%)
HSVhsv(54, 42%, 96%)
CMYKcmyk(0%, 4.5%, 42.4%, 3.9%)
CIE-LABlab(91.77, -8.96, 46.39)
CIE-LCHlch(91.77, 47.24, 100.93°)
OKLaboklab(92.59% -0.0248 0.1123)
OKLCHoklch(92.59% 0.115 102.5)
XYZxyz(71.8882, 80.1833, 36.8842)
Luminance0.8018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EA8D #8D98F5
analogous
#F5B68D #F5EA8D #CCF58D
triadic
#F5EA8D #8DF5EA #EA8DF5
tetradic
#F5EA8D #8DF5B6 #8D98F5 #F58DCC
square
#F5EA8D #8DF5B6 #8D98F5 #F58DCC
split-complementary
#F5EA8D #8DCCF5 #B68DF5
monochromatic
#EBD51C #F0E055 #F5EA8D #FAF4C5 #FDFAE3

Accessibility & contrast

On white

1.23
#F5EA8D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.04
#F5EA8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EA8D
17.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EA8D#FFFFFF#000000##000000
##F5EA8D1.001.2317.0417.04
#FFFFFF1.231.0021.0021.00
#00000017.0421.001.001.00
##00000017.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E486
Deuteranopia (green-blind)
#FDEA91
Tritanopia (blue-blind)
#FFDED3
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f5ea8d;
/* rgb */ color: rgb(245, 234, 141);
/* oklch */ color: oklch(92.6% 0.115 102.5);
Tailwind
colors: {
  custom: {
    50: '#faf0b0',
    500: '#f5ea8d',
    950: '#000000',
  },
}
SCSS
$custom: #f5ea8d;
$custom-light: #faf0b0;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ea8d",
  "rgb": {
    "r": 245,
    "g": 234,
    "b": 141
  },
  "hsl": {
    "h": 53.654,
    "s": 83.871,
    "l": 75.686
  },
  "oklch": {
    "l": 0.92592,
    "c": 0.11503,
    "h": 102.5
  },
  "luminance": 0.80181
}

Semantic roles & 50–950 ramp

primary
#F5EA8D
secondary
#5461D2
accent
#1CE005
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181610
muted
#868581

Preview Lab

Preview with #F5EA8D

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

Preview Lab → · Contrast checker → · Palette generator →

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