#FFE48C#FFE48C

#FFE48C is a very light, moderate yellow. Relative luminance 0.786; OKLCH L 92.2% C 0.112 H 92.9°. Best body text is #000000 at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#FFE48C
RGBrgb(255, 228, 140)
HSLhsl(46, 100%, 77%)
HSVhsv(46, 45%, 100%)
CMYKcmyk(0%, 10.6%, 45.1%, 0%)
CIE-LABlab(91.07, -2.13, 46.18)
CIE-LCHlch(91.07, 46.23, 92.64°)
OKLaboklab(92.24% -0.0057 0.1117)
OKLCHoklch(92.24% 0.112 92.9)
XYZxyz(73.7192, 78.6432, 36.1024)
Luminance0.7864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE48C #8CA7FF
analogous
#FFAA8C #FFE48C #E1FF8C
triadic
#FFE48C #8CFFE4 #E48CFF
tetradic
#FFE48C #8CFFAA #8CA7FF #FF8CE1
square
#FFE48C #8CFFAA #8CA7FF #FF8CE1
split-complementary
#FFE48C #8CE1FF #AA8CFF
monochromatic
#FFC712 #FFD64F #FFE48C #FFF2C9 #FFF8E0

Accessibility & contrast

On white

1.26
#FFE48C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.73
#FFE48C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE48C
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE48C#FFFFFF#000000##000000
##FFE48C1.001.2616.7316.73
#FFFFFF1.261.0021.0021.00
#00000016.7321.001.001.00
##00000016.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5E185
Deuteranopia (green-blind)
#FCE98F
Tritanopia (blue-blind)
#FFD7CF
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #ffe48c;
/* rgb */ color: rgb(255, 228, 140);
/* oklch */ color: oklch(92.2% 0.112 92.9);
Tailwind
colors: {
  custom: {
    50: '#ffecaf',
    500: '#ffe48c',
    950: '#000000',
  },
}
SCSS
$custom: #ffe48c;
$custom-light: #ffecaf;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe48c",
  "rgb": {
    "r": 255,
    "g": 228,
    "b": 140
  },
  "hsl": {
    "h": 45.913,
    "s": 100,
    "l": 77.451
  },
  "oklch": {
    "l": 0.92237,
    "c": 0.11182,
    "h": 92.9
  },
  "luminance": 0.7864
}

Semantic roles & 50–950 ramp

primary
#FFE48C
secondary
#4F71E0
accent
#36E600
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #FFE48C

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

Preview Lab → · Contrast checker → · Palette generator →

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