#EBD87A#EBD87A

#EBD87A is a very light, moderate yellow. Relative luminance 0.682; OKLCH L 87.8% C 0.117 H 98.2°. Best body text is #000000 at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#EBD87A
RGBrgb(235, 216, 122)
HSLhsl(50, 74%, 70%)
HSVhsv(50, 48%, 92%)
CMYKcmyk(0%, 8.1%, 48.1%, 7.8%)
CIE-LABlab(86.10, -5.67, 48.42)
CIE-LCHlch(86.10, 48.75, 96.68°)
OKLaboklab(87.82% -0.0166 0.1157)
OKLCHoklch(87.82% 0.117 98.2)
XYZxyz(62.3315, 68.1813, 28.2856)
Luminance0.6818 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD87A #7A8DEB
analogous
#EBA07A #EBD87A #C5EB7A
triadic
#EBD87A #7AEBD8 #D87AEB
tetradic
#EBD87A #7AEBA0 #7A8DEB #EB7AC5
square
#EBD87A #7AEBA0 #7A8DEB #EB7AC5
split-complementary
#EBD87A #7AC5EB #A07AEB
monochromatic
#CCAF1F #E3C845 #EBD87A #F3E8AF #FBF7E4

Accessibility & contrast

On white

1.43
#EBD87A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.64
#EBD87A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD87A
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD87A#FFFFFF#000000##000000
##EBD87A1.001.4314.6414.64
#FFFFFF1.431.0021.0021.00
#00000014.6421.001.001.00
##00000014.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D372
Deuteranopia (green-blind)
#EEDA7E
Tritanopia (blue-blind)
#FACCC2
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #ebd87a;
/* rgb */ color: rgb(235, 216, 122);
/* oklch */ color: oklch(87.8% 0.117 98.2);
Tailwind
colors: {
  custom: {
    50: '#f3e3a2',
    500: '#ebd87a',
    950: '#000000',
  },
}
SCSS
$custom: #ebd87a;
$custom-light: #f3e3a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd87a",
  "rgb": {
    "r": 235,
    "g": 216,
    "b": 122
  },
  "hsl": {
    "h": 49.912,
    "s": 73.856,
    "l": 70
  },
  "oklch": {
    "l": 0.87821,
    "c": 0.11691,
    "h": 98.2
  },
  "luminance": 0.68179
}

Semantic roles & 50–950 ramp

primary
#EBD87A
secondary
#455BC4
accent
#31D610
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #EBD87A

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

Preview Lab → · Contrast checker → · Palette generator →

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