#EDE781#EDE781

#EDE781 is a very light, vivid yellow. Relative luminance 0.767; OKLCH L 91.1% C 0.125 H 105.6°. Best body text is #000000 at 16.35:1 contrast (WCAG AA passes).

Color values

HEX#EDE781
RGBrgb(237, 231, 129)
HSLhsl(57, 75%, 72%)
HSVhsv(57, 46%, 93%)
CMYKcmyk(0%, 2.5%, 45.6%, 7.1%)
CIE-LABlab(90.20, -11.76, 50.10)
CIE-LCHlch(90.20, 51.47, 103.21°)
OKLaboklab(91.15% -0.0336 0.1199)
OKLCHoklch(91.15% 0.125 105.6)
XYZxyz(67.4649, 76.7431, 32.0237)
Luminance0.7674 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDE781 #8187ED
analogous
#EDB181 #EDE781 #BDED81
triadic
#EDE781 #81EDE7 #E781ED
tetradic
#EDE781 #81EDB1 #8187ED #ED81BD
square
#EDE781 #81EDB1 #8187ED #ED81BD
split-complementary
#EDE781 #81BDED #B181ED
monochromatic
#D5CB1E #E5DD4B #EDE781 #F5F1B7 #FBFAE4

Accessibility & contrast

On white

1.28
#EDE781 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.35
#EDE781 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDE781
16.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDE781#FFFFFF#000000##000000
##EDE7811.001.2816.3516.35
#FFFFFF1.281.0021.0021.00
#00000016.3521.001.001.00
##00000016.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E078
Deuteranopia (green-blind)
#F9E586
Tritanopia (blue-blind)
#FBDBCF
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ede781;
/* rgb */ color: rgb(237, 231, 129);
/* oklch */ color: oklch(91.1% 0.125 105.6);
Tailwind
colors: {
  custom: {
    50: '#f5eea7',
    500: '#ede781',
    950: '#000000',
  },
}
SCSS
$custom: #ede781;
$custom-light: #f5eea7;
$custom-dark: #000000;
JSON
{
  "hex": "#ede781",
  "rgb": {
    "r": 237,
    "g": 231,
    "b": 129
  },
  "hsl": {
    "h": 56.667,
    "s": 75,
    "l": 71.765
  },
  "oklch": {
    "l": 0.91145,
    "c": 0.12455,
    "h": 105.6
  },
  "luminance": 0.76741
}

Semantic roles & 50–950 ramp

primary
#EDE781
secondary
#4B52C7
accent
#19D70E
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#171610
muted
#858580

Preview Lab

Preview with #EDE781

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

Preview Lab → · Contrast checker → · Palette generator →

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