#EAE28F#EAE28F

#EAE28F is a very light, moderate yellow. Relative luminance 0.739; OKLCH L 90.1% C 0.104 H 103.5°. Best body text is #000000 at 15.77:1 contrast (WCAG AA passes).

Color values

HEX#EAE28F
RGBrgb(234, 226, 143)
HSLhsl(55, 68%, 74%)
HSVhsv(55, 39%, 92%)
CMYKcmyk(0%, 3.4%, 38.9%, 8.2%)
CIE-LABlab(88.86, -9.03, 41.53)
CIE-LCHlch(88.86, 42.50, 102.26°)
OKLaboklab(90.08% -0.0244 0.1015)
OKLCHoklch(90.08% 0.104 103.5)
XYZxyz(66.0871, 73.8700, 36.7583)
Luminance0.7387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAE28F #8F97EA
analogous
#EAB58F #EAE28F #C5EA8F
triadic
#EAE28F #8FEAE2 #E28FEA
tetradic
#EAE28F #8FEAB5 #8F97EA #EA8FC5
square
#EAE28F #8FEAB5 #8F97EA #EA8FC5
split-complementary
#EAE28F #8FC5EA #B58FEA
monochromatic
#D6C728 #E0D55B #EAE28F #F4EFC3 #FAF8E5

Accessibility & contrast

On white

1.33
#EAE28F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.77
#EAE28F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAE28F
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAE28F#FFFFFF#000000##000000
##EAE28F1.001.3315.7715.77
#FFFFFF1.331.0021.0021.00
#00000015.7721.001.001.00
##00000015.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DD89
Deuteranopia (green-blind)
#F3E192
Tritanopia (blue-blind)
#F6D8CD
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #eae28f;
/* rgb */ color: rgb(234, 226, 143);
/* oklch */ color: oklch(90.1% 0.104 103.5);
Tailwind
colors: {
  custom: {
    50: '#f2ebb1',
    500: '#eae28f',
    950: '#000000',
  },
}
SCSS
$custom: #eae28f;
$custom-light: #f2ebb1;
$custom-dark: #000000;
JSON
{
  "hex": "#eae28f",
  "rgb": {
    "r": 234,
    "g": 226,
    "b": 143
  },
  "hsl": {
    "h": 54.725,
    "s": 68.421,
    "l": 73.922
  },
  "oklch": {
    "l": 0.90082,
    "c": 0.1044,
    "h": 103.5
  },
  "luminance": 0.73868
}

Semantic roles & 50–950 ramp

primary
#EAE28F
secondary
#5962C4
accent
#26D015
background
#FFFEFD
surface
#FEFDF7
border
#D6D5D0
text
#171611
muted
#858481

Preview Lab

Preview with #EAE28F

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

Preview Lab → · Contrast checker → · Palette generator →

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