#EDE257#EDE257

#EDE257 is a very light, vivid yellow. Relative luminance 0.731; OKLCH L 89.6% C 0.157 H 104.8°. Best body text is #000000 at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#EDE257
RGBrgb(237, 226, 87)
HSLhsl(56, 81%, 64%)
HSVhsv(56, 63%, 93%)
CMYKcmyk(0%, 4.6%, 63.3%, 7.1%)
CIE-LABlab(88.49, -12.50, 66.92)
CIE-LCHlch(88.49, 68.08, 100.58°)
OKLaboklab(89.65% -0.0401 0.1517)
OKLCHoklch(89.65% 0.157 104.8)
XYZxyz(63.8441, 73.0877, 19.7593)
Luminance0.7308 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDE257 #5762ED
analogous
#ED9757 #EDE257 #ADED57
triadic
#EDE257 #57EDE2 #E257ED
tetradic
#EDE257 #57ED97 #5762ED #ED57AD
square
#EDE257 #57ED97 #5762ED #ED57AD
split-complementary
#EDE257 #57ADED #9757ED
monochromatic
#B6AA14 #E7D820 #EDE257 #F3EC8E #F9F5C6

Accessibility & contrast

On white

1.34
#EDE257 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.62
#EDE257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDE257
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDE257#FFFFFF#000000##000000
##EDE2571.001.3415.6215.62
#FFFFFF1.341.0021.0021.00
#00000015.6221.001.001.00
##00000015.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DA46
Deuteranopia (green-blind)
#F9E15F
Tritanopia (blue-blind)
#FED4C5
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #ede257;
/* rgb */ color: rgb(237, 226, 87);
/* oklch */ color: oklch(89.6% 0.157 104.8);
Tailwind
colors: {
  custom: {
    50: '#f6ea8d',
    500: '#ede257',
    950: '#000000',
  },
}
SCSS
$custom: #ede257;
$custom-light: #f6ea8d;
$custom-dark: #000000;
JSON
{
  "hex": "#ede257",
  "rgb": {
    "r": 237,
    "g": 226,
    "b": 87
  },
  "hsl": {
    "h": 55.6,
    "s": 80.645,
    "l": 63.529
  },
  "oklch": {
    "l": 0.89647,
    "c": 0.15692,
    "h": 104.8
  },
  "luminance": 0.73085
}

Semantic roles & 50–950 ramp

primary
#EDE257
secondary
#333CB6
accent
#18DD09
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #EDE257

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

Preview Lab → · Contrast checker → · Palette generator →

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