#EBD877#EBD877

#EBD877 is a very light, moderate yellow. Relative luminance 0.681; OKLCH L 87.8% C 0.120 H 98.5°. Best body text is #000000 at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#EBD877
RGBrgb(235, 216, 119)
HSLhsl(50, 74%, 69%)
HSVhsv(50, 49%, 92%)
CMYKcmyk(0%, 8.1%, 49.4%, 7.8%)
CIE-LABlab(86.06, -5.94, 49.82)
CIE-LCHlch(86.06, 50.17, 96.80°)
OKLaboklab(87.78% -0.0177 0.1186)
OKLCHoklch(87.78% 0.12 98.5)
XYZxyz(62.1485, 68.1081, 27.3217)
Luminance0.6811 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD877 #778AEB
analogous
#EB9E77 #EBD877 #C4EB77
triadic
#EBD877 #77EBD8 #D877EB
tetradic
#EBD877 #77EB9E #778AEB #EB77C4
square
#EBD877 #77EB9E #778AEB #EB77C4
split-complementary
#EBD877 #77C4EB #9E77EB
monochromatic
#CAAE1E #E3C942 #EBD877 #F3E7AC #FBF7E2

Accessibility & contrast

On white

1.44
#EBD877 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.62
#EBD877 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD877
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD877#FFFFFF#000000##000000
##EBD8771.001.4414.6214.62
#FFFFFF1.441.0021.0021.00
#00000014.6221.001.001.00
##00000014.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D36F
Deuteranopia (green-blind)
#EEDA7B
Tritanopia (blue-blind)
#FACCC1
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #ebd877;
/* rgb */ color: rgb(235, 216, 119);
/* oklch */ color: oklch(87.8% 0.120 98.5);
Tailwind
colors: {
  custom: {
    50: '#f3e3a0',
    500: '#ebd877',
    950: '#000000',
  },
}
SCSS
$custom: #ebd877;
$custom-light: #f3e3a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd877",
  "rgb": {
    "r": 235,
    "g": 216,
    "b": 119
  },
  "hsl": {
    "h": 50.172,
    "s": 74.359,
    "l": 69.412
  },
  "oklch": {
    "l": 0.8778,
    "c": 0.1199,
    "h": 98.5
  },
  "luminance": 0.68106
}

Semantic roles & 50–950 ramp

primary
#EBD877
secondary
#4358C4
accent
#30D60F
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #EBD877

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

Preview Lab → · Contrast checker → · Palette generator →

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