#EBDC8D#EBDC8D

#EBDC8D is a very light, moderate yellow. Relative luminance 0.708; OKLCH L 88.9% C 0.101 H 98.8°. Best body text is #000000 at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#EBDC8D
RGBrgb(235, 220, 141)
HSLhsl(50, 70%, 74%)
HSVhsv(50, 40%, 92%)
CMYKcmyk(0%, 6.4%, 40%, 7.8%)
CIE-LABlab(87.37, -5.83, 40.65)
CIE-LCHlch(87.37, 41.06, 98.16°)
OKLaboklab(88.92% -0.0154 0.0994)
OKLCHoklch(88.92% 0.101 98.8)
XYZxyz(64.6632, 70.7736, 35.4486)
Luminance0.7077 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBDC8D #8D9CEB
analogous
#EBAD8D #EBDC8D #CBEB8D
triadic
#EBDC8D #8DEBDC #DC8DEB
tetradic
#EBDC8D #8DEBAD #8D9CEB #EB8DCB
square
#EBDC8D #8DEBAD #8D9CEB #EB8DCB
split-complementary
#EBDC8D #8DCBEB #AD8DEB
monochromatic
#D8BB26 #E2CC59 #EBDC8D #F4ECC1 #FAF7E5

Accessibility & contrast

On white

1.39
#EBDC8D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.15
#EBDC8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBDC8D
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBDC8D#FFFFFF#000000##000000
##EBDC8D1.001.3915.1515.15
#FFFFFF1.391.0021.0021.00
#00000015.1521.001.001.00
##00000015.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD887
Deuteranopia (green-blind)
#EFDD90
Tritanopia (blue-blind)
#F8D1C8
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #ebdc8d;
/* rgb */ color: rgb(235, 220, 141);
/* oklch */ color: oklch(88.9% 0.101 98.8);
Tailwind
colors: {
  custom: {
    50: '#f3e6af',
    500: '#ebdc8d',
    950: '#000000',
  },
}
SCSS
$custom: #ebdc8d;
$custom-light: #f3e6af;
$custom-dark: #000000;
JSON
{
  "hex": "#ebdc8d",
  "rgb": {
    "r": 235,
    "g": 220,
    "b": 141
  },
  "hsl": {
    "h": 50.426,
    "s": 70.149,
    "l": 73.725
  },
  "oklch": {
    "l": 0.88916,
    "c": 0.10055,
    "h": 98.8
  },
  "luminance": 0.70772
}

Semantic roles & 50–950 ramp

primary
#EBDC8D
secondary
#5768C6
accent
#32D213
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #EBDC8D

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

Preview Lab → · Contrast checker → · Palette generator →

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