#EDEA78#EDEA78

#EDEA78 is a very light, vivid yellow. Relative luminance 0.782; OKLCH L 91.6% C 0.137 H 107.5°. Best body text is #000000 at 16.64:1 contrast (WCAG AA passes).

Color values

HEX#EDEA78
RGBrgb(237, 234, 120)
HSLhsl(58, 76%, 70%)
HSVhsv(58, 49%, 93%)
CMYKcmyk(0%, 1.3%, 49.4%, 7.1%)
CIE-LABlab(90.87, -14.05, 55.16)
CIE-LCHlch(90.87, 56.92, 104.29°)
OKLaboklab(91.65% -0.041 0.1303)
OKLCHoklch(91.65% 0.137 107.5)
XYZxyz(67.7397, 78.2080, 29.2930)
Luminance0.7821 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDEA78 #787BED
analogous
#EDB078 #EDEA78 #B5ED78
triadic
#EDEA78 #78EDEA #EA78ED
tetradic
#EDEA78 #78EDB0 #787BED #ED78B5
square
#EDEA78 #78EDB0 #787BED #ED78B5
split-complementary
#EDEA78 #78B5ED #B078ED
monochromatic
#CFCA1C #E6E242 #EDEA78 #F4F2AE #FBFBE4

Accessibility & contrast

On white

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

On black

16.64
#EDEA78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDEA78
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDEA78#FFFFFF#000000##000000
##EDEA781.001.2616.6416.64
#FFFFFF1.261.0021.0021.00
#00000016.6421.001.001.00
##00000016.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE26E
Deuteranopia (green-blind)
#FCE77E
Tritanopia (blue-blind)
#FBDED0
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #edea78;
/* rgb */ color: rgb(237, 234, 120);
/* oklch */ color: oklch(91.6% 0.137 107.5);
Tailwind
colors: {
  custom: {
    50: '#f5f0a2',
    500: '#edea78',
    950: '#000000',
  },
}
SCSS
$custom: #edea78;
$custom-light: #f5f0a2;
$custom-dark: #000000;
JSON
{
  "hex": "#edea78",
  "rgb": {
    "r": 237,
    "g": 234,
    "b": 120
  },
  "hsl": {
    "h": 58.462,
    "s": 76.471,
    "l": 70
  },
  "oklch": {
    "l": 0.91645,
    "c": 0.13663,
    "h": 107.5
  },
  "luminance": 0.78206
}

Semantic roles & 50–950 ramp

primary
#EDEA78
secondary
#4346C6
accent
#12D90D
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17160F
muted
#858580

Preview Lab

Preview with #EDEA78

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

Preview Lab → · Contrast checker → · Palette generator →

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