#FFE28A#FFE28A

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

Color values

HEX#FFE28A
RGBrgb(255, 226, 138)
HSLhsl(45, 100%, 77%)
HSVhsv(45, 46%, 100%)
CMYKcmyk(0%, 11.4%, 45.9%, 0%)
CIE-LABlab(90.55, -1.31, 46.50)
CIE-LCHlch(90.55, 46.52, 91.61°)
OKLaboklab(91.81% -0.0035 0.1123)
OKLCHoklch(91.81% 0.112 91.8)
XYZxyz(73.0260, 77.4907, 35.1504)
Luminance0.7749 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE28A #8AA7FF
analogous
#FFA88A #FFE28A #E2FF8A
triadic
#FFE28A #8AFFE2 #E28AFF
tetradic
#FFE28A #8AFFA8 #8AA7FF #FF8AE2
square
#FFE28A #8AFFA8 #8AA7FF #FF8AE2
split-complementary
#FFE28A #8AE2FF #A88AFF
monochromatic
#FFC410 #FFD34D #FFE28A #FFF1C7 #FFF7E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FFE28A#FFFFFF#000000##000000
##FFE28A1.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)
#F4DF83
Deuteranopia (green-blind)
#FBE88D
Tritanopia (blue-blind)
#FFD5CD
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #ffe28a;
/* rgb */ color: rgb(255, 226, 138);
/* oklch */ color: oklch(91.8% 0.112 91.8);
Tailwind
colors: {
  custom: {
    50: '#ffeaad',
    500: '#ffe28a',
    950: '#000000',
  },
}
SCSS
$custom: #ffe28a;
$custom-light: #ffeaad;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe28a",
  "rgb": {
    "r": 255,
    "g": 226,
    "b": 138
  },
  "hsl": {
    "h": 45.128,
    "s": 100,
    "l": 77.059
  },
  "oklch": {
    "l": 0.91813,
    "c": 0.11233,
    "h": 91.8
  },
  "luminance": 0.77488
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFE28A

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

Preview Lab → · Contrast checker → · Palette generator →

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