#EDE158#EDE158

#EDE158 is a very light, vivid yellow. Relative luminance 0.726; OKLCH L 89.5% C 0.155 H 104.3°. Best body text is #000000 at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#EDE158
RGBrgb(237, 225, 88)
HSLhsl(55, 81%, 64%)
HSVhsv(55, 63%, 93%)
CMYKcmyk(0%, 5.1%, 62.9%, 7.1%)
CIE-LABlab(88.24, -11.94, 66.25)
CIE-LCHlch(88.24, 67.32, 100.22°)
OKLaboklab(89.45% -0.0384 0.1504)
OKLCHoklch(89.45% 0.155 104.3)
XYZxyz(63.6141, 72.5619, 19.8856)
Luminance0.7256 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDE158 #5864ED
analogous
#ED9658 #EDE158 #AEED58
triadic
#EDE158 #58EDE1 #E158ED
tetradic
#EDE158 #58ED96 #5864ED #ED58AE
square
#EDE158 #58ED96 #5864ED #ED58AE
split-complementary
#EDE158 #58AEED #9658ED
monochromatic
#B7AA14 #E7D721 #EDE158 #F3EB8F #F9F5C6

Accessibility & contrast

On white

1.35
#EDE158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.51
#EDE158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDE158
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDE158#FFFFFF#000000##000000
##EDE1581.001.3515.5115.51
#FFFFFF1.351.0021.0021.00
#00000015.5121.001.001.00
##00000015.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DA47
Deuteranopia (green-blind)
#F8E060
Tritanopia (blue-blind)
#FED3C4
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #ede158;
/* rgb */ color: rgb(237, 225, 88);
/* oklch */ color: oklch(89.5% 0.155 104.3);
Tailwind
colors: {
  custom: {
    50: '#f6ea8d',
    500: '#ede158',
    950: '#000000',
  },
}
SCSS
$custom: #ede158;
$custom-light: #f6ea8d;
$custom-dark: #000000;
JSON
{
  "hex": "#ede158",
  "rgb": {
    "r": 237,
    "g": 225,
    "b": 88
  },
  "hsl": {
    "h": 55.168,
    "s": 80.541,
    "l": 63.725
  },
  "oklch": {
    "l": 0.8945,
    "c": 0.15526,
    "h": 104.3
  },
  "luminance": 0.7256
}

Semantic roles & 50–950 ramp

primary
#EDE158
secondary
#333DB6
accent
#1ADD09
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #EDE158

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

Preview Lab → · Contrast checker → · Palette generator →

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