#EDE157#EDE157

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

Color values

HEX#EDE157
RGBrgb(237, 225, 87)
HSLhsl(55, 81%, 64%)
HSVhsv(55, 63%, 93%)
CMYKcmyk(0%, 5.1%, 63.3%, 7.1%)
CIE-LABlab(88.23, -12.00, 66.65)
CIE-LCHlch(88.23, 67.72, 100.21°)
OKLaboklab(89.44% -0.0386 0.1511)
OKLCHoklch(89.44% 0.156 104.3)
XYZxyz(63.5729, 72.5454, 19.6689)
Luminance0.7254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDE157 #5763ED
analogous
#ED9657 #EDE157 #AEED57
triadic
#EDE157 #57EDE1 #E157ED
tetradic
#EDE157 #57ED96 #5763ED #ED57AE
square
#EDE157 #57ED96 #5763ED #ED57AE
split-complementary
#EDE157 #57AEED #9657ED
monochromatic
#B6A914 #E7D720 #EDE157 #F3EB8E #F9F5C6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EDE157#FFFFFF#000000##000000
##EDE1571.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)
#F4DA46
Deuteranopia (green-blind)
#F8E05F
Tritanopia (blue-blind)
#FED3C4
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #ede157;
/* rgb */ color: rgb(237, 225, 87);
/* oklch */ color: oklch(89.4% 0.156 104.3);
Tailwind
colors: {
  custom: {
    50: '#f6ea8c',
    500: '#ede157',
    950: '#000000',
  },
}
SCSS
$custom: #ede157;
$custom-light: #f6ea8c;
$custom-dark: #000000;
JSON
{
  "hex": "#ede157",
  "rgb": {
    "r": 237,
    "g": 225,
    "b": 87
  },
  "hsl": {
    "h": 55.2,
    "s": 80.645,
    "l": 63.529
  },
  "oklch": {
    "l": 0.89441,
    "c": 0.156,
    "h": 104.3
  },
  "luminance": 0.72543
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EDE157

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

Preview Lab → · Contrast checker → · Palette generator →

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