#FFE28B#FFE28B

#FFE28B is a very light, moderate yellow. Relative luminance 0.775; OKLCH L 91.8% C 0.111 H 91.6°. Best body text is #000000 at 16.50:1 contrast (WCAG AA passes).

Color values

HEX#FFE28B
RGBrgb(255, 226, 139)
HSLhsl(45, 100%, 77%)
HSVhsv(45, 45%, 100%)
CMYKcmyk(0%, 11.4%, 45.5%, 0%)
CIE-LABlab(90.56, -1.21, 46.03)
CIE-LCHlch(90.56, 46.04, 91.51°)
OKLaboklab(91.83% -0.0031 0.1113)
OKLCHoklch(91.83% 0.111 91.6)
XYZxyz(73.0988, 77.5198, 35.5335)
Luminance0.7752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE28B #8BA8FF
analogous
#FFA88B #FFE28B #E2FF8B
triadic
#FFE28B #8BFFE2 #E28BFF
tetradic
#FFE28B #8BFFA8 #8BA8FF #FF8BE2
square
#FFE28B #8BFFA8 #8BA8FF #FF8BE2
split-complementary
#FFE28B #8BE2FF #A88BFF
monochromatic
#FFC311 #FFD34E #FFE28B #FFF1C8 #FFF7E0

Accessibility & contrast

On white

1.27
#FFE28B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.50
#FFE28B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE28B
16.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE28B#FFFFFF#000000##000000
##FFE28B1.001.2716.5016.50
#FFFFFF1.271.0021.0021.00
#00000016.5021.001.001.00
##00000016.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DF84
Deuteranopia (green-blind)
#FBE88E
Tritanopia (blue-blind)
#FFD5CD
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #ffe28b;
/* rgb */ color: rgb(255, 226, 139);
/* oklch */ color: oklch(91.8% 0.111 91.6);
Tailwind
colors: {
  custom: {
    50: '#ffeaae',
    500: '#ffe28b',
    950: '#000000',
  },
}
SCSS
$custom: #ffe28b;
$custom-light: #ffeaae;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe28b",
  "rgb": {
    "r": 255,
    "g": 226,
    "b": 139
  },
  "hsl": {
    "h": 45,
    "s": 100,
    "l": 77.255
  },
  "oklch": {
    "l": 0.91828,
    "c": 0.11132,
    "h": 91.6
  },
  "luminance": 0.77517
}

Semantic roles & 50–950 ramp

primary
#FFE28B
secondary
#4E73E0
accent
#39E600
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #FFE28B

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

Preview Lab → · Contrast checker → · Palette generator →

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