#EDE478#EDE478

#EDE478 is a very light, vivid yellow. Relative luminance 0.748; OKLCH L 90.4% C 0.130 H 104.4°. Best body text is #000000 at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#EDE478
RGBrgb(237, 228, 120)
HSLhsl(55, 76%, 70%)
HSVhsv(55, 49%, 93%)
CMYKcmyk(0%, 3.8%, 49.4%, 7.1%)
CIE-LABlab(89.32, -11.08, 53.31)
CIE-LCHlch(89.32, 54.45, 101.74°)
OKLaboklab(90.41% -0.0325 0.1263)
OKLCHoklch(90.41% 0.13 104.4)
XYZxyz(66.0604, 74.8494, 28.7332)
Luminance0.7485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDE478 #7881ED
analogous
#EDAA78 #EDE478 #BBED78
triadic
#EDE478 #78EDE4 #E478ED
tetradic
#EDE478 #78EDAA #7881ED #ED78BB
square
#EDE478 #78EDAA #7881ED #ED78BB
split-complementary
#EDE478 #78BBED #AA78ED
monochromatic
#CFC11C #E6D942 #EDE478 #F4EFAE #FBFAE4

Accessibility & contrast

On white

1.32
#EDE478 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.97
#EDE478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDE478
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDE478#FFFFFF#000000##000000
##EDE4781.001.3215.9715.97
#FFFFFF1.321.0021.0021.00
#00000015.9721.001.001.00
##00000015.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DD6E
Deuteranopia (green-blind)
#F8E37D
Tritanopia (blue-blind)
#FCD8CB
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #ede478;
/* rgb */ color: rgb(237, 228, 120);
/* oklch */ color: oklch(90.4% 0.130 104.4);
Tailwind
colors: {
  custom: {
    50: '#f5eca1',
    500: '#ede478',
    950: '#000000',
  },
}
SCSS
$custom: #ede478;
$custom-light: #f5eca1;
$custom-dark: #000000;
JSON
{
  "hex": "#ede478",
  "rgb": {
    "r": 237,
    "g": 228,
    "b": 120
  },
  "hsl": {
    "h": 55.385,
    "s": 76.471,
    "l": 70
  },
  "oklch": {
    "l": 0.90411,
    "c": 0.13041,
    "h": 104.4
  },
  "luminance": 0.74847
}

Semantic roles & 50–950 ramp

primary
#EDE478
secondary
#434DC6
accent
#1DD90D
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #EDE478

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

Preview Lab → · Contrast checker → · Palette generator →

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