#EBD87C#EBD87C

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

Color values

HEX#EBD87C
RGBrgb(235, 216, 124)
HSLhsl(50, 74%, 70%)
HSVhsv(50, 47%, 92%)
CMYKcmyk(0%, 8.1%, 47.2%, 7.8%)
CIE-LABlab(86.12, -5.49, 47.47)
CIE-LCHlch(86.12, 47.79, 96.59°)
OKLaboklab(87.85% -0.0159 0.1138)
OKLCHoklch(87.85% 0.115 98)
XYZxyz(62.4567, 68.2314, 28.9449)
Luminance0.6823 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD87C #7C8FEB
analogous
#EBA07C #EBD87C #C6EB7C
triadic
#EBD87C #7CEBD8 #D87CEB
tetradic
#EBD87C #7CEBA0 #7C8FEB #EB7CC6
square
#EBD87C #7CEBA0 #7C8FEB #EB7CC6
split-complementary
#EBD87C #7CC6EB #A07CEB
monochromatic
#CDAF1F #E3C847 #EBD87C #F3E8B1 #FBF7E4

Accessibility & contrast

On white

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

On black

14.65
#EBD87C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD87C
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD87C#FFFFFF#000000##000000
##EBD87C1.001.4314.6514.65
#FFFFFF1.431.0021.0021.00
#00000014.6521.001.001.00
##00000014.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ebd87c;
/* rgb */ color: rgb(235, 216, 124);
/* oklch */ color: oklch(87.8% 0.115 98.0);
Tailwind
colors: {
  custom: {
    50: '#f3e3a3',
    500: '#ebd87c',
    950: '#000000',
  },
}
SCSS
$custom: #ebd87c;
$custom-light: #f3e3a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd87c",
  "rgb": {
    "r": 235,
    "g": 216,
    "b": 124
  },
  "hsl": {
    "h": 49.73,
    "s": 73.51,
    "l": 70.392
  },
  "oklch": {
    "l": 0.87849,
    "c": 0.11488,
    "h": 98
  },
  "luminance": 0.68229
}

Semantic roles & 50–950 ramp

primary
#EBD87C
secondary
#475DC4
accent
#32D610
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #EBD87C

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

Preview Lab → · Contrast checker → · Palette generator →

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