#EBD87B#EBD87B

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

Color values

HEX#EBD87B
RGBrgb(235, 216, 123)
HSLhsl(50, 74%, 70%)
HSVhsv(50, 48%, 92%)
CMYKcmyk(0%, 8.1%, 47.7%, 7.8%)
CIE-LABlab(86.11, -5.58, 47.95)
CIE-LCHlch(86.11, 48.27, 96.64°)
OKLaboklab(87.84% -0.0162 0.1148)
OKLCHoklch(87.84% 0.116 98.1)
XYZxyz(62.3938, 68.2062, 28.6136)
Luminance0.6820 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD87B #7B8EEB
analogous
#EBA07B #EBD87B #C6EB7B
triadic
#EBD87B #7BEBD8 #D87BEB
tetradic
#EBD87B #7BEBA0 #7B8EEB #EB7BC6
square
#EBD87B #7BEBA0 #7B8EEB #EB7BC6
split-complementary
#EBD87B #7BC6EB #A07BEB
monochromatic
#CDAF1F #E3C846 #EBD87B #F3E8B0 #FBF7E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EBD87B#FFFFFF#000000##000000
##EBD87B1.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)
#E8D373
Deuteranopia (green-blind)
#EEDA7F
Tritanopia (blue-blind)
#FACCC2
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #ebd87b;
/* rgb */ color: rgb(235, 216, 123);
/* oklch */ color: oklch(87.8% 0.116 98.1);
Tailwind
colors: {
  custom: {
    50: '#f3e3a3',
    500: '#ebd87b',
    950: '#000000',
  },
}
SCSS
$custom: #ebd87b;
$custom-light: #f3e3a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd87b",
  "rgb": {
    "r": 235,
    "g": 216,
    "b": 123
  },
  "hsl": {
    "h": 49.821,
    "s": 73.684,
    "l": 70.196
  },
  "oklch": {
    "l": 0.87835,
    "c": 0.11589,
    "h": 98.1
  },
  "luminance": 0.68204
}

Semantic roles & 50–950 ramp

primary
#EBD87B
secondary
#465CC4
accent
#31D610
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #EBD87B

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

Preview Lab → · Contrast checker → · Palette generator →

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