#EDE381#EDE381

#EDE381 is a very light, vivid yellow. Relative luminance 0.745; OKLCH L 90.3% C 0.120 H 103.4°. Best body text is #000000 at 15.91:1 contrast (WCAG AA passes).

Color values

HEX#EDE381
RGBrgb(237, 227, 129)
HSLhsl(54, 75%, 72%)
HSVhsv(54, 46%, 93%)
CMYKcmyk(0%, 4.2%, 45.6%, 7.1%)
CIE-LABlab(89.17, -9.77, 48.84)
CIE-LCHlch(89.17, 49.81, 101.31°)
OKLaboklab(90.33% -0.0278 0.1171)
OKLCHoklch(90.33% 0.12 103.4)
XYZxyz(66.3582, 74.5296, 31.6547)
Luminance0.7453 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDE381 #818BED
analogous
#EDAD81 #EDE381 #C1ED81
triadic
#EDE381 #81EDE3 #E381ED
tetradic
#EDE381 #81EDAD #818BED #ED81C1
square
#EDE381 #81EDAD #818BED #ED81C1
split-complementary
#EDE381 #81C1ED #AD81ED
monochromatic
#D5C41E #E5D74B #EDE381 #F5EFB7 #FBF9E4

Accessibility & contrast

On white

1.32
#EDE381 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.91
#EDE381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDE381
15.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDE381#FFFFFF#000000##000000
##EDE3811.001.3215.9115.91
#FFFFFF1.321.0021.0021.00
#00000015.9121.001.001.00
##00000015.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DD79
Deuteranopia (green-blind)
#F6E285
Tritanopia (blue-blind)
#FBD7CC
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #ede381;
/* rgb */ color: rgb(237, 227, 129);
/* oklch */ color: oklch(90.3% 0.120 103.4);
Tailwind
colors: {
  custom: {
    50: '#f5eba7',
    500: '#ede381',
    950: '#000000',
  },
}
SCSS
$custom: #ede381;
$custom-light: #f5eba7;
$custom-dark: #000000;
JSON
{
  "hex": "#ede381",
  "rgb": {
    "r": 237,
    "g": 227,
    "b": 129
  },
  "hsl": {
    "h": 54.444,
    "s": 75,
    "l": 71.765
  },
  "oklch": {
    "l": 0.90327,
    "c": 0.12041,
    "h": 103.4
  },
  "luminance": 0.74528
}

Semantic roles & 50–950 ramp

primary
#EDE381
secondary
#4B57C7
accent
#21D70E
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#171610
muted
#858480

Preview Lab

Preview with #EDE381

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

Preview Lab → · Contrast checker → · Palette generator →

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