#EBDC7D#EBDC7D

#EBDC7D is a very light, moderate yellow. Relative luminance 0.703; OKLCH L 88.7% C 0.118 H 100.5°. Best body text is #000000 at 15.07:1 contrast (WCAG AA passes).

Color values

HEX#EBDC7D
RGBrgb(235, 220, 125)
HSLhsl(52, 73%, 71%)
HSVhsv(52, 47%, 92%)
CMYKcmyk(0%, 6.4%, 46.8%, 7.8%)
CIE-LABlab(87.16, -7.42, 48.26)
CIE-LCHlch(87.16, 48.83, 98.74°)
OKLaboklab(88.68% -0.0214 0.1156)
OKLCHoklch(88.68% 0.118 100.5)
XYZxyz(63.5575, 70.3314, 29.6254)
Luminance0.7033 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBDC7D #7D8CEB
analogous
#EBA57D #EBDC7D #C3EB7D
triadic
#EBDC7D #7DEBDC #DC7DEB
tetradic
#EBDC7D #7DEBA5 #7D8CEB #EB7DC3
square
#EBDC7D #7DEBA5 #7D8CEB #EB7DC3
split-complementary
#EBDC7D #7DC3EB #A57DEB
monochromatic
#CEB620 #E3CE48 #EBDC7D #F3EAB2 #FBF8E4

Accessibility & contrast

On white

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

On black

15.07
#EBDC7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBDC7D
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBDC7D#FFFFFF#000000##000000
##EBDC7D1.001.3915.0715.07
#FFFFFF1.391.0021.0021.00
#00000015.0721.001.001.00
##00000015.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD775
Deuteranopia (green-blind)
#F0DD81
Tritanopia (blue-blind)
#F9D0C5
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #ebdc7d;
/* rgb */ color: rgb(235, 220, 125);
/* oklch */ color: oklch(88.7% 0.118 100.5);
Tailwind
colors: {
  custom: {
    50: '#f3e6a4',
    500: '#ebdc7d',
    950: '#000000',
  },
}
SCSS
$custom: #ebdc7d;
$custom-light: #f3e6a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ebdc7d",
  "rgb": {
    "r": 235,
    "g": 220,
    "b": 125
  },
  "hsl": {
    "h": 51.818,
    "s": 73.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.88675,
    "c": 0.11756,
    "h": 100.5
  },
  "luminance": 0.70329
}

Semantic roles & 50–950 ramp

primary
#EBDC7D
secondary
#4859C4
accent
#2BD510
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #EBDC7D

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

Preview Lab → · Contrast checker → · Palette generator →

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